Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Clickable infobox headers


digitalgod

Recommended Posts

Posted

hey guys,

 

just wondering it it's possible to make an infobox's header clickable?? For example I'd like to have a contact us box but the box itself is empty and when you click on the header it takes you to the contact us page.

 

any help would be appreciated

Posted

YES IT IS:

 

change heading here: exampl catalog/incldes/boxes/specials.php

 

Backup your old file first

Change Line 20 to read

$info_box_contents[] = array('text' => '<a href="' . FILENAME_SPECIALS . '">' . BOX_HEADING_SPECIALS . '</a>');

 

now it will click thru to specials page .. similar process for other headers

 

Should work

 

Peter

 

 

hey guys,

 

just wondering it it's possible to make an infobox's header clickable?? For example I'd like to have a contact us box but the box itself is empty and when you click on the header it takes you to the contact us page.

 

any help would be appreciated

Posted

Thanks! I'll give it a try :D

 

YES IT IS:

 

change heading here: exampl catalog/incldes/boxes/specials.php

 

Backup your old file first

Change Line 20 to read

$info_box_contents[] = array('text' => '<a href="' . FILENAME_SPECIALS . '">' . BOX_HEADING_SPECIALS . '</a>');

 

now it will click thru to specials page .. similar process for other headers

 

Should work

 

Peter

Archived

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

×
×
  • Create New...