Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Find 'Top>>Catalog>>Create ans Account' Link


pjb

Recommended Posts

Find 'Top>>Catalog>>Create ans Account' Link

 

At the top left corner under the oscommerce logo there are links to:

Top>>Catalog>>Create and Account etc.

 

Please can someone tell me what file these are in, I am stuggling to find them?

 

Thanks

Pete

Link to comment
Share on other sites

I'm looking for the location of the link, I would like to remove the 'create account' link or maybe redirect it.

 

I could not find it in the index page?

 

 

Thanks

Pete

Link to comment
Share on other sites

Look for

catalog>includes>languages>english.php

 

Find this code and change it...

 

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

Link to comment
Share on other sites

Look for

catalog>includes>languages>english.php

 

Find this code and change it...

 

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

 

 

Thanks, but I have done that bit, what I'm after is the discreet links just below the oscommerce logo on the top left side; I think they might be called the breadcrumb trail (not sure) and they may look like this:

 

Top>>catalog>>create an account

 

They don't seem to be in the header.php or english file (not the links anyhow); I can't find them anywhere!

Link to comment
Share on other sites

Ok I figured it out thanks to adivice given to someone else, else where.

Thank you Wendy James for the lead.

 

If anybody is intrested in order.php put a couple of slashes in front of this code around line 357

// $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'));

Link to comment
Share on other sites

Alrighty are you ready?

 

 

Open

Catalog>Includes>filenames.php

Ok if you want to change the link destination to another page edit this line:

  define('FILENAME_CREATE_ACCOUNT', 'create_account.php');

 

Then if You want to change the Words "Create An Account" to something else go here:

Catalog>Includes>Lanuguages>English>create_account.php

 

Edit this line:

define('NAVBAR_TITLE', 'Create an Account');

 

I hope this is what you are looking for!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...