Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing text for buttons


Guest

Recommended Posts

On some pages such as the login etc, there are text links such as "create and account" etc. Now i know that these lines of text are called from there relevant files.

 

So if i want to add buttons instead of the text do I do this by adding the button to the text page or do I add it directly to the page its on, and if so will i mess up the php code if i just insert a bit of html !!

 

Any help thanks!

Link to comment
Share on other sites

Unfortunately/fortunately there as a million ways to add button links in place of text links.

 

Right now, you know where the existing <a href= .... </a> exists for the text links. Where you see the text inside that link, first try your image with tep_get_image('your_image.gif') ... just stick that next to the words that are the link inside the </a>. So when you see it next it will show both and both text and image are clickable.

 

Now decide if you like it ... if so, take out your text portion of the link.

 

Later, when you feel more comfortable doing this, just whip through there with no testing and let your code fly! :shock:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...