/    Sign up×
Community /Pin to ProfileBookmark

Need expandable sub-category

I have a website that under my Category list I need a sub-category for my gift basket (category) Can anyone help me with this? My website is [URL=”http://corner-palace.com”]www.corner-palace.com[/URL] Here is my file ?

ViewCat.tpl:

<!– BEGIN: view_cat –>
<div class=”boxContent”>
<span class=”txtContentTitle”>{TXT_CAT_TITLE}</span>
<br clear=”all” />
<!– BEGIN: sub_cats –>
<div id=”subCats”>
<!– BEGIN: sub_cats_loop –>
<div class=”subCat”>
<a href=”index.php?act=viewCat&amp;catId={TXT_LINK_CATID}” class=”txtDefault”><img src=”{IMG_CATEGORY}” alt=”{TXT_CATEGORY}” border=”0″ title=”{TXT_CATEGORY}” /></a><br />
<a href=”index.php?act=viewCat&amp;catId={TXT_LINK_CATID}” class=”txtDefault”>{TXT_CATEGORY}</a> ({NO_PRODUCTS})
</div>
<!– END: sub_cats_loop –>
</div>
<!– END: sub_cats –>
<br clear=”left” />
<!– BEGIN: cat_img –>
<img src=”{IMG_CURENT_CATEGORY}” alt=”{TXT_CURENT_CATEGORY}” border=”0″ title=”{TXT_CURENT_CATEGORY}” />
<!– END: cat_img –>
<div><strong>{LANG_CURRENT_DIR}</strong> {CURRENT_DIR}</div>
<div class=”pagination”>{PAGINATION}</div>
<!– BEGIN: productTable –>
<table border=”0″ width=”100%” cellspacing=”0″ cellpadding=”3″ class=”tblList”>
<tr>
<td class=”tdListTitle”><strong>{LANG_IMAGE}</strong></td>
<td class=”tdListTitle”><strong>{LANG_DESC}</strong></td>
<td class=”tdListTitle”><strong>{LANG_PRICE}</strong></td>
<td class=”tdListTitle”>&nbsp;</td>
</tr>
<!– BEGIN: products –>
<tr>
<td align=”center” class=”{CLASS}”><a href=”index.php?act=viewProd&amp;productId={PRODUCT_ID}” target=”_self”><img src=”{SRC_PROD_THUMB}” alt=”{TXT_TITLE}” border=”0″ title=”{TXT_TITLE}” /></a></td>
<td valign=”top” class=”{CLASS}”><a href=”index.php?act=viewProd&amp;productId={PRODUCT_ID}” target=”_
self” class=”txtDefault”><strong>{TXT_TITLE}</strong></a><br />
{TXT_DESC}<div class=”txtOutOfStock”>{TXT_OUTOFSTOCK}</div></td>
<td align=”center” class=”{CLASS}”>{TXT_PRICE}
<div class=”txtSale”>{TXT_SALE_PRICE}</div></td>
<td align=”right” nowrap=’nowrap’ class=”{CLASS}”>
<form action=”{CURRENT_URL}” method=”post” name=”prod{PRODUCT_ID}”>
<!– BEGIN: buy_btn –>
<input type=”hidden” name=”add” value=”{PRODUCT_ID}” />
<input type=”hidden” name=”quan” value=”1″ /><a href=”javascript:submitDoc(‘prod{PRODUCT_ID}’);” target=”_self” class=”txtButton”>{BTN_BUY}</a><!– END: buy_btn –> <a href=”index.php?act=viewProd&amp;productId={PRODUCT_ID}” target=”_self” class=”txtButton”>{BTN_MORE}</a></form></td>
</tr>
<!– END: products –>
</table>
<!– END: productTable –>
<!– BEGIN: noProducts –>
<div>{TXT_NO_PRODUCTS}</div>
<!– END: noProducts –>

<div class=”pagination”>{PAGINATION}</div>
</div>
<!– END: view_cat –>

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@bfigauthorMay 14.2007 — Thank you! I will try to find the header in the page. I got this script from cubecart.com but they offer only little help for things such as this.
×

Success!

Help @bfig spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.27,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...