Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

change this to standard link that will not break page?


rabbitseffort

Recommended Posts

please let me know how to change a line like this:

 

'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

 

to be a image link, or any html type link, I am just unsure of how to wtite in the standard html so that it will be properly read. Thanks!

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

please let me know how to change a line like this:

 

'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

 

to be a image link, or any html type link, I am just unsure of how to wtite in the standard html so that it will be properly read. Thanks!

This might help:

 

http://www.oscommerce.info/kb/osCommerce/G..._and_Tricks/252

 

Tim

Link to comment
Share on other sites

this may help, I need to look at it closer to be sure, thanks for the reply!

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

no, that doesnt do it...I want to add an image in column left under my categories box and with html I woulod do it like this

<a href="http://www.mystore.com"><img src="my_image.gif" width="200" height="50" border="0"></a>

 

what way do I have to write this in column left to get it to display please???I know someone knows, I have seen it answered before but didnt do it at that time and the forum search is not getting me anywhere, thanx!!!

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

you have to do it with another php command that references the image directory.

 

I did not have time to find an exact example for you but here is some code

 

$categories_newsdesk_string .= tep_image(DIR_WS_IMAGES . $fields['newsdesk_image']) ;

 

 

This is taking the image name from an array.

Link to comment
Share on other sites

you have to do it with another php command that references the image directory.

 

I did not have time to find an exact example for you but here is some code

 

$categories_newsdesk_string .= tep_image(DIR_WS_IMAGES . $fields['newsdesk_image']) ;

This is taking the image name from an array.

 

 

echo '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . tep_image('my_image.gif', ALT_TEXT) . '</a>';

 

the params for tep_image are..

 

tep_image($src, $alt = '', $width = '', $height = '', $parameters = '') {

Its Only Me

Alex

Link to comment
Share on other sites

Thanx Alex! Yours helped, this is how I used it and it works fine like this:

 

echo '<a href="' . tep_href_link('my_page.php') . '">' . tep_image('images/my_image.gif', My Alt) . '</a>';

 

Much appreciation man!

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...