Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Linking


Guest

Recommended Posts

Posted

I am able to use this code for my image links...

 

<?php echo '<a href=" ' . tep_href_link(FILENAME_INDEX) . ' ">' . tep_image(DIR_WS_IMAGES . 'snow_100dollarbill.gif', HEADER_TITLE_INDEX) . '</a>'; ?>

 

What I want to do is use the same codeing except replacing the image part with text. How can I do that? I'm not very fluent with php yet but I am working very hard at it. I am not able to find anything on the web showing how to use php with links. Also is it possible to input code to change the color of the text? Use stylesheet? how?

 

Thanks A Bunch!

Seth

Posted

Change it to

<?php echo '<a class='someClass" href=" ' . tep_href_link(FILENAME_INDEX) . ' ">' . 'PUT TEXT HERE ' . '</a>'; ?>

and add the someClass class to the stylesheet to set the color and font.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

Hi again. Could you please tell me where I can find the file(s) that include TEXT_ They are the only files I cannot find so I don't know how to edit the TEXT_SUCCESS for my contact page and in the future I am sure it will come into handy a whole lot!

 

Thank you very much!

Seth

Posted

All text is located int he languages directory. Common text to the whole site is in the languages/english.pgp file. Text specific to a page, like checkout_success is located in the languages/english directory.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

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

×
×
  • Create New...