AG Posted May 23, 2003 Posted May 23, 2003 Is there a way to add an extra link in a category box? I'd like to add an allprod link to the category list box, may be at the bottom. I've seen it done at Linda's site. I just want to add a link and not HR or extra box or anything. http://www.8thoctave.com/osc_freecall_0518...&products_id=12 So far I've located and tried few things in the categories.php but none worked as the link get spitted outside the box :cry: Any one enlighten me? AG
AG Posted May 23, 2003 Author Posted May 23, 2003 Oh well, it's another 0 reply. I am kind a desparate and if anyone interested in paid job, please contact me. AG
wvmlt Posted May 23, 2003 Posted May 23, 2003 just download the allprods contribution and follow the directions. only takes a feww minutes to set up. Keith What the hell was I thinkin'?
AG Posted May 23, 2003 Author Posted May 23, 2003 I think you mis-understood me. I have the allprod.php page. I just want the link to appear in the categories box on the left column. But I can't seem to pin point where I am supposed to insert <a href="allprod.php">View all products</a> AG
wvmlt Posted May 23, 2003 Posted May 23, 2003 I think you mis-understood me. I have the allprod.php page. I just want the link to appear in the categories box on the left column. But I can't seem to pin point where I am supposed to insert <a href="allprod.php">View all products</a> Open catalog/includes/boxes/categories.php then find this bit of code near the bottom new infoBox($info_box_contents); Replace that part of the code with $info_box_contents[] = array('align' => 'center', 'text' => '<font size=-2><a href="' . tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a></font>'); new infoBox($info_box_contents); Keith What the hell was I thinkin'?
AG Posted May 23, 2003 Author Posted May 23, 2003 Sorry, it's not working. Surely, if you replace that with my current code, no categories list will show but only one view all item link?? AG
AG Posted May 23, 2003 Author Posted May 23, 2003 !!! wvmlt !!! IT WORKED! I just tried putting in a different place etc... Thanks a lot. You deserves a drink on me :wink: AG
wvmlt Posted May 24, 2003 Posted May 24, 2003 Glad to help. Cheers :lol: Keith What the hell was I thinkin'?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.