Guest Posted November 30, 2004 Share Posted November 30, 2004 cPath and Categories: I have managed to create a cPath link in my information box for a category called FREE GIFTS, which I have not given a name too in admin as not to show up in the category box. I have noticed it is still be displayed by unseen!!! Which makes a large space a the bottom of the table. I am looking to create some other Categories to go in a separate box, but want to stop them from appearing / invisable and taking up space in the main categories menu. A good example of what I want to do is in the "What's Hot" Box http://www.sexshop365.co.uk/catalog/default.php can anyone help??? Cheers Julian Link to comment Share on other sites More sharing options...
Guest Posted November 30, 2004 Share Posted November 30, 2004 please post a URL to the shop that you are working on. -jared Link to comment Share on other sites More sharing options...
♥Vger Posted November 30, 2004 Share Posted November 30, 2004 You can create as many cPaths as you like on a php page, but if it's not in the database it's a false link, and will just generate errors. If you put it in the database it will show up in the 'admin' and if you add it to the 'admin' it'll get entered into the database. Vger Link to comment Share on other sites More sharing options...
Guest Posted December 8, 2004 Share Posted December 8, 2004 please post a URL to the shop that you are working on. -jared <{POST_SNAPBACK}> Thanks the site I am working on: www.zenasxxxtoys.co.uk Also, I want to create a image link to a hidden category called batteries in a seperate infobox in the left hand column. I have gone through contributes twice now looking for some thing simular with no luck can you help????? Link to comment Share on other sites More sharing options...
Guest Posted December 8, 2004 Share Posted December 8, 2004 You can create as many cPaths as you like on a php page, but if it's not in the database it's a false link, and will just generate errors. If you put it in the database it will show up in the 'admin' and if you add it to the 'admin' it'll get entered into the database. Vger <{POST_SNAPBACK}> Yes, That much I get. I have added a category with no name just a sort no of 99 and linked to it via a cPath. This is fine. Is there a way of stopping it from showing in the main category menu and only in my new info box. Also, I am trying to code a image link in a infobox, but can not find any code examples, exect for a working example on: sexshop365.com at the bottom right hand column and image link to batteries. Just what I want to do. Do you know how as I am new to os and php Many Thanks Julian Link to comment Share on other sites More sharing options...
♥Vger Posted December 8, 2004 Share Posted December 8, 2004 There is a Knowledge Base article which takes you through the procedure for setting up a new Info Box. Just follow it carefully and you'll get there! Once you have created your new box, and listed it in includes/languages/english.php and added the page links beneath it, then they will appear in that box, and only that box. To see what I mean just take a look at includes/languages/english.php and look at the entries for the 'information' box and the files listed beneath it. Vger Link to comment Share on other sites More sharing options...
Guest Posted December 8, 2004 Share Posted December 8, 2004 There is a Knowledge Base article which takes you through the procedure for setting up a new Info Box. Just follow it carefully and you'll get there! Once you have created your new box, and listed it in includes/languages/english.php and added the page links beneath it, then they will appear in that box, and only that box. To see what I mean just take a look at includes/languages/english.php and look at the entries for the 'information' box and the files listed beneath it. Vger <{POST_SNAPBACK}> I have done this a couple of time now with sucess I have created a info box called test and 4 links test 1, 2, 3, 4 to cpaths and to specials and search page. I want to place a image link instead of a text link. I have tried 1 image link but will only display outside of the box in the left hand column. The example I want is on: www.sexshop365.co.uk batteries infobox bottom right hand column Many Thanks Julian Many Thanks Link to comment Share on other sites More sharing options...
Guest Posted December 8, 2004 Share Posted December 8, 2004 There is a Knowledge Base article which takes you through the procedure for setting up a new Info Box. Just follow it carefully and you'll get there! Once you have created your new box, and listed it in includes/languages/english.php and added the page links beneath it, then they will appear in that box, and only that box. To see what I mean just take a look at includes/languages/english.php and look at the entries for the 'information' box and the files listed beneath it. Vger <{POST_SNAPBACK}> This is where I have got to code wise: includes/boxes/information <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CUSTOMER_SERVICES) . '">' . BOX_INFORMATION_CUSTOMER_SERVICES . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRICE_PROMISE) . '">' . BOX_INFORMATION_PRICE_PROMISE . '</a><br>' . '<a href="' . tep_href_link(FILENAME_FREE_GIFTS) . '">' . BOX_INFORMATION_FREE_GIFTS . '</a>' ); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //--> I have had this cPath link working too: <!-- '<a href="' . tep_href_link('/index.php', 'cPath=174') . '" class=redText>FREE GIFTS</a></br>' . --> But can not find a image link example to link to a Cpath ot a standard page can you help???? Cheers Julian Link to comment Share on other sites More sharing options...
♥Vger Posted December 8, 2004 Share Posted December 8, 2004 Try something like this '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . '<img src="images/whatever.gif">' . BOX_INFORMATION_PRIVACY . '</a><br>' It's 3 am in the UK, that's it for tonight! Vger Link to comment Share on other sites More sharing options...
Guest Posted December 8, 2004 Share Posted December 8, 2004 Try something like this '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . '<img src="images/whatever.gif">' . BOX_INFORMATION_PRIVACY . '</a><br>' It's 3 am in the UK, that's it for tonight! Vger <{POST_SNAPBACK}> Many Thanks for you help, I am nerly there now, just have a text formating issue with it now. bye Julian Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.