View Single Post
  #30  
Old 09-08-2009, 06:01 AM
  cowsdonthack's Avatar 
cowsdonthack cowsdonthack is offline
 

Advanced Member
  
Join Date: May 2009
Location: Out in the field. Chewin some grass
Posts: 89
 

Default Re: $cat.category..........desc?

Quote:
Originally Posted by cflsystems
What you are showing is $currect_category.description. Looking at your debug file for $cat you have just 155

Yeah... I tried placing { $current_category.description } and { $cat.current_category.description } within the foreach tags.

Thought it might have a chance.

So... Is there anyway I could define the current code that I have within $current_category?

I tried setting {foreach from=$current_category item=cat} but then it wouldn't show the images or the descriptions.

Code is still

Code:
<div class="bot_cat" align="left"> {foreach from=$categories item=cat} <a class="bot_products" href="home.php?cat={ $cat.categoryid }"><img src="{$xcart_web_dir}/image.php?id={ $cat.categoryid }&amp;type=C" alt="" />{ $cat.categoryid } </a>{/foreach} </div>
__________________
Moo?
Quality Door & Hardware

Version
X-Cart 4.1.108

Add-ons
X-AOM (Advanced Order Management)
Ad / Banner X-cart Mod (BCSE)
DSEFU
Dynamic Image Mod
Pre-login Shipping Calculator
Power Filter
Contact Us Form
Shipping Carrier Mod
Submit Button

Send me a message, I can talk about anything.
Reply With Quote