aprildain Posted November 7, 2009 Posted November 7, 2009 Hi, I am wanting to add a link directly underneath the products in my category section on the left hand side. I'd like to make this link so it opens a separate window to another website. Almost like the link would be one of my products in the category list, but it's not. Could someone help me on how to do this? Thanks.
germ Posted November 7, 2009 Posted November 7, 2009 Hi, I am wanting to add a link directly underneath the products in my category section on the left hand side. I'd like to make this link so it opens a separate window to another website. Almost like the link would be one of my products in the category list, but it's not. Could someone help me on how to do this? Thanks. /catalog/includes/boxes/categories.php tep_show_category($first_element); // add the next line - alter to suit $categories_string .= '<a target="_blank" href="http://www.website.com">Link Text</a>'; $info_box_contents = array(); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
davids2004 Posted November 9, 2009 Posted November 9, 2009 /catalog/includes/boxes/categories.php tep_show_category($first_element); // add the next line - alter to suit $categories_string .= '<a target="_blank" href="http://www.website.com">Link Text</a>'; $info_box_contents = array(); If I wanted to do this and add a link to facebook and twitter, I have the links up, but how do you make one right below the other like the original ones are. Right now it is like this FacebookTwitter I want this Facebook Twitter Also if I wanted to put this in my information box how would I do that. I assume I will edit the information file in the same area as the categories.
Guest Posted November 9, 2009 Posted November 9, 2009 If I wanted to do this and add a link to facebook and twitter, I have the links up, but how do you make one right below the other like the original ones are. Right now it is like this FacebookTwitter I want this Facebook Twitter Also if I wanted to put this in my information box how would I do that. I assume I will edit the information file in the same area as the categories. If you are using HTML to code your page you could put the tag <p>YOUR LINK INFORMATION (ie Twitter)</p> this should make sure they one is below the other.
davids2004 Posted November 9, 2009 Posted November 9, 2009 If you are using HTML to code your page you could put the tag <p>YOUR LINK INFORMATION (ie Twitter)</p> this should make sure they one is below the other. I was editing in the file manager in the admin section so I believe it is in PHP.
aprildain Posted November 10, 2009 Author Posted November 10, 2009 Hi, Thanks I will try this... I'm a newbie and that's how I edit things is directly in the file manager... I appreciate the response.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.