Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving "welcome" code to header nav area


L. Haase

Recommended Posts

Posted

I am wanting to move the "Welcome back XXX" verbiage to the headerNavigation section so that it is not right above my main text.

 

I am a php idiot however and do not understand what the call code would be for this.

 

Anyone got any ideas?

Posted

simply modify the index.php file in the root of your cart & paste the code to header.php file which is located in /catalogue/includes/ folder.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Posted

Also you can create a simply query on the header.php or on the application_top.php

Select username, last name from tblcustomer where cust_id = '" . (int)customer_id . "'");

 

And you got it.

also you can do cut and paste... :thumbsup:

No dificult no... hope help

Erwin D. Padilla

Web Developer and Linux Admin

Posted
Also you can create a simply query on the header.php or on the application_top.php

Select username, last name from tblcustomer where cust_id = '" . (int)customer_id . "'");

 

And you got it.

also you can do cut and paste... :thumbsup:

No dificult no... hope help

 

I have tried these but as I stated, I am a PHP idiot. I know just enough to get in trouble.

 

I have tried cutting the code from the index.php page and inserting it in the header portion however it isnt wanting to work.

Posted
I have tried cutting the code from the index.php page and inserting it in the header portion however it isnt wanting to work.

 

what do you see when you add the code to the header.php? is there an error message? do you see no change?

 

give us a little something to go on, because "it isn't working" doesn't tell us what *is* happening. :)

 

a link to your site might also help in figuring out what is going on.

  • 2 weeks later...

Archived

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

×
×
  • Create New...