Announcement

Collapse
No announcement yet.

Trouble linking to external PHP file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Trouble linking to external PHP file

    Hi Everyone, hopefully someone can help me with this.

    Having a bit of a problem trying to open up a new browser window with specific dimensions to dsplay a tartan finder created using PHP and mysql.

    Someone who used to work for the client tried to embed it within the Actinic shop and made a complete mess of it so trying to work out the best way to do it.

    I have created a brochure page for the tartan finder which I was looking to create a text link to open the new browser window containing the PHP.

    The brochure page is at http://www.thescottishshopdirect.com...inder_new.html

    The PHP is at http://www.thescottishshopdirect.com/tartan_finder.php which I was planning to open up in the pop up browser window so that the customer could keep the window open while browsing the rest of the shop.

    Can anyone tell me if this is possible and how I would go about setting it up?

    Many thanks in advance for your help.

    #2
    Originally posted by whattheysee View Post

    I have created a brochure page for the tartan finder which I was looking to create a text link to open the new browser window containing the PHP.

    The brochure page is at http://www.thescottishshopdirect.com...inder_new.html

    The PHP is at http://www.thescottishshopdirect.com/tartan_finder.php which I was planning to open up in the pop up browser window so that the customer could keep the window open while browsing the rest of the shop.

    Can anyone tell me if this is possible and how I would go about setting it up?

    Many thanks in advance for your help.
    I am working on something similar at the moment, take a look at the code in the 'Extended Info Button Layout' to see how to call a popup

    Malcolm

    SellerDeck Accredited Partner,
    SellerDeck 2016 Extensions, and
    Custom Packages

    Comment


      #3
      This inserted into a Layout
      Code:
      <a href="#" onclick="return ShowPopUp('http://www.thescottishshopdirect.com/tartan_finder.php', 500, 500);">TARTAN FINDER</a>
      will do it.

      And if you want to put it into the text of a Brochure Fragment, then use:
      Code:
      !!<<a href="#" onclick="return ShowPopUp('http://www.thescottishshopdirect.com/tartan_finder.php', 500, 500);">TARTAN FINDER</a>>!!
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thanks Norman.

        That's what I was looking for. I will give it a try.

        Comment


          #5
          That worked perfectly. Thank you Norman, you're the man!!

          Just need to figure out if I can use Google maps in a brochure page now. will post a new thread for this though.

          Comment


            #6
            1. Create brochure page
            2. Add fragment
            3. !!< insert google map code here>!!

            Comment

            Working...
            X