Jump to content

Site Docs at the side & No of Products Help


Guest

Recommended Posts

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

Link to comment
Share on other sites

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 :w00t:

Got the site_docs to work....forgot to change it in the index.tpl ... still not sure about the no of products though.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 month later...

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...