Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header Adding new page link


Guest

Recommended Posts

Hi I have modified the following file

 

include/header.php

 

I added this link ----- tep_draw_button(HEADER_TITLE_FAQ, 'FAQ', tep_href_link(FILENAME_FAQ, '', 'SSL'));

 

but it did not show I want to added 2 to 3 more link pages up top

 

at the moment i have Home - Special - My Account -- shopping Cart - Checkout

 

any idea's

 

Ari

Link to comment
Share on other sites

Ari,

 

Ensure that you define the language definitions in the english.php file

 

define('IMAGE_BUTTON_FAQ', 'FAQ');

define('HEADER_TITLE_FAQ', 'FAQ');

 

Also, button should be like this:

 

tep_draw_button(HEADER_TITLE_FAQ, 'person', tep_href_link(FILENAME_FAQ, '', 'SSL'));

 

Also, ensure your FAQ page is defined in /includes/filesnames/ as

 

define('FILENAME_FAQ', 'faq.php');

 

 

 

 

Chris

Link to comment
Share on other sites

thanks for the input Chris - No go only thing I didn't have that you listed was the 2 lines

 

define('IMAGE_BUTTON_FAQ', 'FAQ');

define('HEADER_TITLE_FAQ', 'FAQ');

 

in my english.php

 

 

 

driving me crazy

 

because i managed to get teh faq to show up in the infomation boxes side menu and it works

 

but adding it to the header go my baffled

 

Ari

Link to comment
Share on other sites

Yeah ha finally found the file I needed to mod and it was "includes/template_bottom.php"

 

3 weeks of stuffing around with my oscommerce and I'finally getting there to how I want my online store

 

Ari Vee

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...