| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
subcategory list on home | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
that template coding didn;t want to work, i managed to get it working using the following coding instead :
Code:
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
#12
|
|||||||||
|
|||||||||
Thanks for the useful mod
|
|||||||||
#13
|
|||||||
|
|||||||
wasn't working for me
Parse error: parse error, unexpected $ in /hsphere/local/home/reginaha/shrinkbagsandmore.com/shrink-bags/templates_c/customer^categories.tpl on line 79
any suggestions?
__________________
X-Cart version 3.5.9 (online) X-Cart Version 4.0.19 (online) X-Cart Version 4.1.3 (in dev) PHP 4.4.4 MySQL 4.1.21 |
|||||||
#14
|
|||||||||
|
|||||||||
Look at your line # 79 in categories.tpl and see if you are missing a bracket or closing IF tag.
|
|||||||||
#15
|
|||||||
|
|||||||
my categories.tpl has just 29 lines, do you mean categories.php?
can you see something in the code below? this is line 75 - 90 from my categories.php Code:
thanks for your time, andreas
__________________
X-Cart version 3.5.9 (online) X-Cart Version 4.0.19 (online) X-Cart Version 4.1.3 (in dev) PHP 4.4.4 MySQL 4.1.21 |
|||||||
#16
|
|||||||
|
|||||||
Can anyone help adapt this mod for 4.0.0? The variables in the categories.php file are different, and I'm no longer certain what to change ...
|
|||||||
#17
|
|||||||
|
|||||||
Quote:
Looking in the settings for 4.0 there is a checkbox in the general settings that will display your subcategories where your categories go....
__________________
Mike X-Cart 4.0.9 Gold (In Development) No Live Site Server version: Apache/1.3.28 (Unix) FrontPage/5.0.2.2510 mod_ssl/2.8.15 OpenSSL/0.9.7a PHP-CGI/0.1b |
|||||||
#18
|
|||||||
|
|||||||
Where is this option in v4.0.4 I am sure its just me but I cannot seem to find this
|
|||||||
#19
|
|||||||
|
|||||||
Many thanks for this code. It worked out great !!!
Here is the code for those of you whom wish to retain the default style sheet and main category link; Code:
__________________
168 |
|||||||
#20
|
|||||||||
|
|||||||||
Always display subcategories in 4.0.x
Here's what worked for me in 4.0.x:
In skin1/customer/categories.tpl: 1. Find the following line: Code:
Code:
One, jf
__________________
joshf | X-Cart Portfolio Currently: http://nightowlpapergoods.com | http://pinkolive.com |
|||||||||
|
|||
X-Cart forums © 2001-2020
|