raindog904 Posted January 7, 2009 Share Posted January 7, 2009 Hello, I am trying to add a list of links to external sites on a "Partners" page I created. I am using the different company logos so that when you click on the image it takes you to an outside site. However, I can not figure out how to seperate these these logos when adding it to the 'text information' section. Here is what I have so far: define('NAVBAR_TITLE', 'Partners'); define('HEADING_TITLE', 'Partners'); define('TEXT_INFORMATION', '<a href="http://www.******.com"> <img border="0" src="images/logo.gif" width="473" height="59"></a>'); ?> How can I add the second link? Thanks. Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 7, 2009 Share Posted January 7, 2009 Just use standard html: define('TEXT_INFORMATION', ' <p><a href="http://www.******.com"> <img border="0" src="images/logo.gif" width="473" height="59"></a>'); </p> <p><a href="http://www.******.com"> <img border="0" src="images/logo.gif" width="473" height="59"></a>'); </p> ?> You can use <tr><td></td></tr> if you want to control it even more. 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 Link to comment Share on other sites More sharing options...
raindog904 Posted January 7, 2009 Author Share Posted January 7, 2009 Just use standard html:define('TEXT_INFORMATION', ' <p><a href="http://www.******.com"> <img border="0" src="images/logo.gif" width="473" height="59"></a>'); </p> <p><a href="http://www.******.com"> <img border="0" src="images/logo.gif" width="473" height="59"></a>'); </p> ?> You can use <tr><td></td></tr> if you want to control it even more. Jack Thanks Jack, the problem I am having is with the quotation marks in the HTML code. When I add the second line I get errors like this one: " Parse error: syntax error, unexpected '<' " and the page fails to load. Should I be putting ?> after each link? Any Ideas? Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 8, 2009 Share Posted January 8, 2009 For regular html, you don't need any special code. As long as you don't use apostrophes, the code will work. The initial code you posted should work fine. Does it fail? 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 Link to comment Share on other sites More sharing options...
lastblackjellybean Posted January 8, 2009 Share Posted January 8, 2009 Just use standard html:define('TEXT_INFORMATION', ' <p><a href="http://www.******.com"> <img border="0" src="images/logo.gif" width="473" height="59"></a>'); </p> <p><a href="http://www.******.com"> <img border="0" src="images/logo.gif" width="473" height="59"></a>'); </p> ?> You can use <tr><td></td></tr> if you want to control it even more. Jack Should be: define('TEXT_INFORMATION', ' <p><a href="http://www.******.com"> <img border="0" src="images/logo.gif" width="473" height="59"></a> </p> <p><a href="http://www.******.com"> <img border="0" src="images/logo.gif" width="473" height="59"></a> </p>'); ?> ...i think Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 9, 2009 Share Posted January 9, 2009 Yes, that is correct - good catch. I didn't notice the extra ); I had copied. 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.