rabbitseffort Posted March 12, 2006 Posted March 12, 2006 ok--so I need a link in infobox to a page not in my osc, the code looks right to me but no link shows up, please advise, below is a sample of my code '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_WHOLESALE) . '">' . BOX_WHOLESALE_INQUIRY . '</a>'); '<a href="' . tep_href_link(FILENAME_ALL_PRODUCTS) . '">' . BOX_INFORMATION_ALL_PRODUCTS . '</a><br>' . '<a href="http://www.mylink.com">External Link</a>' . maybe I need to specify something in filenames?? thanks in advance! :thumbsup: "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"
Guest Posted March 12, 2006 Posted March 12, 2006 i always get the http://somegsdgsite.com/FILENAME_EXTERNALLINK if i don't specify in filenames.php ... so that's probably your #1 problem :)
rabbitseffort Posted March 12, 2006 Author Posted March 12, 2006 ??? sorry I didnt quite understand that "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"
rabbitseffort Posted March 12, 2006 Author Posted March 12, 2006 So here is what I have tried now and it doesnt make a link in the info box-- In filenames define('FILENAME_WEB_DESIGN', 'http://www.mysite.com'); in information '<a href="' . tep_href_link(FILENAME_WEB_DESIGN) . '">' . BOX_INFORMATION_WEB_DESIGN . '</a><br>' . any thoughts? 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"
Guest Posted March 12, 2006 Posted March 12, 2006 sorry i misunderstood your initial post are you making sure you aren't overlapping (using two instances) of '); copied directly from my test shop: '<a href="' . tep_href_link(FILENAME_MY_POINTS_HELP) . '">' . BOX_INFORMATION_MY_POINTS_HELP . '</a><br>' .//Points/Rewards Module V1.50 '<a href="http://somefghfsite.com">Add Your Link</a>');
Guest Posted March 12, 2006 Posted March 12, 2006 what do you have after: '<a href="' . tep_href_link(FILENAME_WEB_DESIGN) . '">' . BOX_INFORMATION_WEB_DESIGN . '</a><br>' . do you have something like: '<a href="' . tep_href_link(FILENAME_WEB_DESIGN) . '">' . BOX_INFORMATION_WEB_DESIGN . '</a><br>' ); '<a href="' . tep_href_link(FILENAME_WEB_DESIGN) . '">' . BOX_INFORMATION_WEB_DESIGN . '</a><br>' . (just pay attention to the ends of the line... the very LAST instance of the infobox link ends in the '); i've had the very problem you experienced not too long ago :) it should look like: '<a href="' . tep_href_link(FILENAME_WEB_DESIGN) . '">' . BOX_INFORMATION_WEB_DESIGN . '</a><br>' . '<a href="' . tep_href_link(FILENAME_WEB_DESIGN) . '">' . BOX_INFORMATION_WEB_DESIGN . '</a><br>' ); //no other infoboxes below the ');
rabbitseffort Posted March 12, 2006 Author Posted March 12, 2006 cool--I figured it out finally, thanks for the guidance--so for those that read this and want to know then this is how: In filenames add this line: define('FILENAME_WEB_DESIGN', 'www.mylink.com'); in english I did like this: define('BOX_INFORMATION_WEB_DESIGN', '<a href="http://www.mylink.com">Web Design </a>'); and in information I did like this--note I changed the last line in this rule so that this is now the last line: '<a href="' . tep_href_link(FILENAME_WEB_DESIGN) . '">' . BOX_INFORMATION_WEB_DESIGN . '</a><br>' ); hope this helps someone :thumbsup: "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"
Guest Posted March 12, 2006 Posted March 12, 2006 ps: make sure www.somelink.com actually goes to where it needs to. usually when you link to a site via <a href="www.somelink.com.... it looks for "http://MYSITE.com/www.somelink.com when i link to external sites via infoboxes i do it straight in the links... like: '<a href="http://somesite.com">' . BOX_INFORMATION_WEB_DESIGN . '</a><br>' ); my first post was misleading as i had mistaken your inquiry for something else :) (i have never thought to try of linking to external sites via filenames.php actually)
rabbitseffort Posted March 12, 2006 Author Posted March 12, 2006 ps: make sure www.somelink.com actually goes to where it needs to. usually when you link to a site via <a href="www.somelink.com.... it looks for "http://MYSITE.com/www.somelink.com I did have that issue until I made the link in filenames and in english also--seems odd but it works well that way-- Thanks eww for all your help! Guidance is neccessary and appreciated! Have agreat day or night depending on where you are! :D "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"
camconcay Posted April 25, 2006 Posted April 25, 2006 Where in english (what file I mean) and what file in information (or where is the file you changed) - I found filenames - THANKS!!! cool--I figured it out finally, thanks for the guidance--so for those that read this and want to know then this is how:In filenames add this line: define('FILENAME_WEB_DESIGN', 'www.mylink.com'); in english I did like this: define('BOX_INFORMATION_WEB_DESIGN', '<a href="http://www.mylink.com">Web Design </a>'); and in information I did like this--note I changed the last line in this rule so that this is now the last line: '<a href="' . tep_href_link(FILENAME_WEB_DESIGN) . '">' . BOX_INFORMATION_WEB_DESIGN . '</a><br>' ); hope this helps someone :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.