Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

External links in an infobox array


EricPrice

Recommended Posts

I have a new infobox I made (called Mainmenu) that has a half dozen items in it. It works fine. Now, I want to include a line for my forums, which are external to my site, in the infobox, but I cant seem to get the array to work out right.

 

My site is www.dragonscalecounters.com

My forums are stored at http://forums.rpghost.com

 

I found this thread after a search, but I couldnt seem to make the instructions work.

 

http://www.oscommerce.com/forums/viewtopic.php?t=33143

Link to comment
Share on other sites

Simple...

 

  $info_box_contents = array();

 $info_box_contents[] = array('align' => 'left',

                              'text'  => '<a href="http://forums.pcloop.net" target="_blank">PcLoop Forums</a><br>' .

                                         '<a href="http://www.pcloop.net/helpdesk" target="_blank">PcLoop Helpdesk</a><br>' .

Link to comment
Share on other sites

Many thanks. I thought I had tried something like that originally. Perhaps I had omitted a ', ", or .

 

Anyway, now I just have to figure out how I ended up in "General Chat" and not "Installation and Configuration".

 

I've GOT to start paying more attention... :lol:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...