Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how can I change links


Universe

Recommended Posts

Hello there,

 

for some reasons the search function on this site is not working, no matter what I?m searching for it always results in error messages.

 

Well, back to my question...

 

how can I change the links on the Navigation Bar on top of the shop ?

 

Top ? Catalog My Account | Cart Contents | Checkout

 

many thnx in advance

 

Universe

Link to comment
Share on other sites

Hello there,

 

for some reasons the search function on this site is not working, no matter what I?m searching for it always results in error messages.

 

Well, back to my question...

 

how can I change the links on the Navigation Bar on top of the shop ?

 

Top ? Catalog My Account | Cart Contents | Checkout

 

many thnx in advance

Universe

 

 

 

In the header.php for "My Account"

 

 

<a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  | 

 

FILENAME_ACCOUNT is the link for "My Account"

 

In...filenames.php FILENAME_ACCOUNT is linked to...account.php

 

To change the wording "My Account"

HEADER_TITLE_MY_ACCOUNT...is the answer in that script just above, which should be in your...header.php

 

HEADER_TITLE_MY_ACCOUNT can be found in...english.php- as "My Account"

 

I hope this has been of some help,

Best of luck!

Link to comment
Share on other sites

In the header.php for "My Account"

<a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  | 

 

FILENAME_ACCOUNT is the link for "My Account"

 

In...filenames.php FILENAME_ACCOUNT is linked to...account.php

 

To change the wording "My Account"

HEADER_TITLE_MY_ACCOUNT...is the answer in that script just above, which should be in your...header.php

 

HEADER_TITLE_MY_ACCOUNT can be found in...english.php- as "My Account"

 

I hope this has been of some help,

Best of luck!

 

thanks a lot for the info

 

but, what about changing the "Top" link, couldn?t figure that out

 

thnx so far

Universe

Link to comment
Share on other sites

thanks a lot for the info

 

but, what about changing the "Top" link, couldn?t figure that out

 

thnx so far

Universe

 

 

 

 

header.php...has the line...

 

<?php echo $breadcrumb->trail(' » '); ?>

 

 

application_top.php..has

 

// include the breadcrumb class and start the breadcrumb trail

require(DIR_WS_CLASSES . 'breadcrumb.php');

$breadcrumb = new breadcrumb;

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

the...

HEADER_TITLE_TOP...relates to the word; top

HEADER_TITLE_CATALOG...relates to the word; catalog

 

Go for it!

Link to comment
Share on other sites

header.php...has the line...

 

<?php echo $breadcrumb->trail(' » '); ?>

application_top.php..has

 

// include the breadcrumb class and start the breadcrumb trail

require(DIR_WS_CLASSES . 'breadcrumb.php');

$breadcrumb = new breadcrumb;

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

the...

HEADER_TITLE_TOP...relates to the word; top

HEADER_TITLE_CATALOG...relates to the word; catalog

 

Go for it!

 

Hey, thanks

 

got it working

 

Universe

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...