| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
$cat.category..........desc? | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||||
|
|||||||||
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?
__________________
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. |
|||||||||
#22
|
|||||||||
|
|||||||||
Re: $cat.category..........desc?
did you try $cat.description?
__________________
xcart 5.1.2 |
|||||||||
|
#23
|
|||||||||
|
|||||||||
Re: $cat.category..........desc?
Yep. Definitely tried { $cat.description }
__________________
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. |
|||||||||
#24
|
|||||||||
|
|||||||||
Re: $cat.category..........desc?
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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#25
|
|||||||||
|
|||||||||
Re: $cat.category..........desc?
__________________
xcart 5.1.2 |
|||||||||
|
#26
|
|||||||||
|
|||||||||
Re: $cat.category..........desc?
Quote:
Code:
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.
__________________
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. |
|||||||||
#27
|
|||||||||
|
|||||||||
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
__________________
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. |
|||||||||
#28
|
|||||||||
|
|||||||||
Re: $cat.category..........desc?
What you are showing is $currect_category.description. Looking at your debug file for $cat you have just 155
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#29
|
|||||||||
|
|||||||||
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!?
__________________
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. |
|||||||||
#30
|
|||||||||
|
|||||||||
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:
__________________
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. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|