![]() |
Re: $cat.category..........desc?
Quote:
Thanks a lot ChristineP, that's very close to what I'm looking for Unfortunately, I'm trying to get it load outside of that page. (The home front page) Whenever I tried to load $current_category.description foreach category. It won't load. It will load the IDs which concurrently allows the images and the links to load. But the description doesn't load and I'm wondering how to get that to work. Any ideas? |
Re: $cat.category..........desc?
did you try $cat.description?
|
Re: $cat.category..........desc?
Yep. Definitely tried { $cat.description }
|
Re: $cat.category..........desc?
1 Attachment(s)
Rename the attached file to 'debug_templates.tpl' and replace the original in skin1. Open the client's side with webmaster mode enable and search in the debug window for $cat, $categories and see if description is in the arrays and what the variable name is
|
Re: $cat.category..........desc?
|
Re: $cat.category..........desc?
1 Attachment(s)
Quote:
Code:
{$current_category}Array (18) This is what I got, it seems to be "description" but { $cat.description } doesn't work. I'll use this information to experiment s'more Enclosed is the entire statistics for this one page. |
Re: $cat.category..........desc?
Quote:
I see that, which makes me think, maybe the variable is rewritten in mine or something... Thanks for going to such lengths to help me out |
Re: $cat.category..........desc?
What you are showing is $currect_category.description. Looking at your debug file for $cat you have just 155
|
Re: $cat.category..........desc?
Quote:
O_O It worked straight from Copy and Paste on your site but not on mine!?? Are you -expletive-ing me!? |
Re: $cat.category..........desc?
Quote:
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"> |
All times are GMT -8. The time now is 12:39 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.