Guest Posted May 30, 2006 Share Posted May 30, 2006 Hello everyone, I have 2 questions. 1. How can i get my site docs to appear on the side (classic skin) instead of the bottom: I tried: <div class="boxTitleRight">Navigation</div> <div class="boxContentLeft"> <a href="index.php?act=viewDoc&docId={DATA.doc_id}" class="txtSiteDocs">{DATA.doc_name}</a> <border="0" > </div> <div class="boxFootRight">Â </div> and nothing appears in the box, then i did it manually with: <div class="boxTitleRight">Navigation</div> <div class="boxContentLeft"> <span class="txtDefault"><a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=5">About Baskets</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=7">Contact Us</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=8">Guest Book</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=10">My Databases</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=6">Order</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=11">Links</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=9">Pet Photos</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=12">Staff Only</a> </p> </span> <border="0" > </div> <div class="boxFootRight">Â </div> and the writings bigger and the underlines are there. I can't get it to use the styles, what am i doing wrong? 2nd Questions, A while back i wanted to have the catagories alphabatized and in ( ) show the number of products in each cat. i used the same code and it won't work. it's alaph. them, but no product numbers. Code used: $results = $db->select("SELECT cat_name, cat_id, noProducts FROM ".$glob['dbprefix']."CubeCart_category WHERE cat_father_id = 0 ORDER BY cat_name ASC"); Original post about number of products and alpha. http://www.cubecart.com/site/forums/index....topic=13806&hl= Please help me, i've been messing with this cube cart and website for 2 days. CubeCart Version: 3.0.10 Website: http://www.lindamaysgiftbaskets.com thank you in advance. Danny Quote Link to comment Share on other sites More sharing options...
Guest Posted June 1, 2006 Share Posted June 1, 2006 Hello everyone, I have 2 questions. 1. How can i get my site docs to appear on the side (classic skin) instead of the bottom: I tried: <div class="boxTitleRight">Navigation</div> <div class="boxContentLeft"> <a href="index.php?act=viewDoc&docId={DATA.doc_id}" class="txtSiteDocs">{DATA.doc_name}</a> <border="0" > </div> <div class="boxFootRight"> </div> and nothing appears in the box, then i did it manually with: <div class="boxTitleRight">Navigation</div> <div class="boxContentLeft"> <span class="txtDefault"><a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=5">About Baskets</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=7">Contact Us</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=8">Guest Book</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=10">My Databases</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=6">Order</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=11">Links</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=9">Pet Photos</a><br /> <a href="http://www.lindamaysgiftbaskets.com/cart/index.php?act=viewDoc&docId=12">Staff Only</a> </p> </span> <border="0" > </div> <div class="boxFootRight"> </div> and the writings bigger and the underlines are there. I can't get it to use the styles, what am i doing wrong? 2nd Questions, A while back i wanted to have the catagories alphabatized and in ( ) show the number of products in each cat. i used the same code and it won't work. it's alaph. them, but no product numbers. Code used: $results = $db->select("SELECT cat_name, cat_id, noProducts FROM ".$glob['dbprefix']."CubeCart_category WHERE cat_father_id = 0 ORDER BY cat_name ASC"); Original post about number of products and alpha. http://www.cubecart.com/site/forums/index....topic=13806&hl= Please help me, i've been messing with this cube cart and website for 2 days. CubeCart Version: 3.0.10 Website: http://www.lindamaysgiftbaskets.com thank you in advance. Danny Have a look at the free mods and tutorials over at cubecart.org as there is already one done for your sitedocs Got the site_docs to work....forgot to change it in the index.tpl ... still not sure about the no of products though. Quote Link to comment Share on other sites More sharing options...
convict Posted June 1, 2006 Share Posted June 1, 2006 Code used: $results = $db->select("SELECT cat_name, cat_id, noProducts FROM ".$glob['dbprefix']."CubeCart_category WHERE cat_father_id = 0 ORDER BY cat_name ASC"); Right code but template. Dont forget to use ({DATA.noProducts}) in LI product line. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 19, 2006 Share Posted July 19, 2006 Code used: $results = $db->select("SELECT cat_name, cat_id, noProducts FROM ".$glob['dbprefix']."CubeCart_category WHERE cat_father_id = 0 ORDER BY cat_name ASC"); Right code but template. Dont forget to use ({DATA.noProducts}) in LI product line. Thank you, sorry it took so long for a reply. i just now fixed it. got caught up in some other clients sites. Thank you so much for you help. it worked perfect. Client is really happy. Thanks again, Danny ps. your a life saver! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.