Guest Posted April 25, 2006 Posted April 25, 2006 I am currently creating the site: www.sutherlandsfurniture.com/furniturephotos/ In the boxes in one of the columns I have attempted to put a link to an HTML page, outside the catalog, but can't figure out the correct syntax for it. Can someone help please? I would like to replace the links in the "information" box to link to pages in the main html folder of the site. Thanks. Gin
Jack_mcs Posted April 25, 2006 Posted April 25, 2006 Just replace the link there now with an html link, keeping the rest of the format. Something like this untested code '<a href="http://somesite.com" target=_blank">Some text</a><br>' . Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted April 25, 2006 Posted April 25, 2006 Just replace the link there now with an html link, keeping the rest of the format. Something like this untested code '<a href="http://somesite.com" target=_blank">Some text</a><br>' . Jack When I do that I get a parse error. At the moment I have put the HTML links outside the PHP area, but then they are outside the "information" box. I am trying to get the links inside the box.
Guest Posted April 25, 2006 Posted April 25, 2006 I found a line of code in the manual I had missed. $info_box_contents[] = array('align' => 'left', 'text' => '<a href="http://www.wherever.com" target="_blank">Text for your link</a>' ); However it puts a blank line between each line of text. Is there a solution to this? Or is there a different way to add the links?
Jack_mcs Posted April 25, 2006 Posted April 25, 2006 Try posting the full code for that box. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.