![]() |
Category Images instead of Featured on home.php in 4.4.5
I've been 'unsuccessfully' trying to get the Category images centered on the home.php (I have turned off featured items, which I do not want).
I've looked at http://forum.x-cart.com/showthread.php?t=63153 http://forum.x-cart.com/showthread.php?t=52601 http://forum.x-cart.com/showthread.php?t=52554 http://forum.x-cart.com/showthread.php?t=32237 Adding the customer_welcome.tpl, and making the welcome.tpl mod, I get the 'Categories' label from the last line in the customer_welcome.tpl below {include file="dialog.tpl" title=$lng.lbl_categories content=$smarty.capture.dialog extra='width="100%"'} but no category Icons Any suggestions of what needs to be changed in the customer_welcome.tpl for 4.4.5 are appreciated. Thanks in advance, Peggy |
Re: Category Images instead of Featured on home.php in 4.4.5
If this is useful to anyone else, this is what I did to get this to work like I wanted.
With 4.4.x, the skin1.css is replaced by main.css (and others maybe). The previous fix in categories_welcome.tpl, which worked in my 4.1.11 version, used the "class="VertMenuItems" which doesn't exist in main.css. I have mediocre css knowledge, and couldn't figure out what class to use, so since I only have 10 categories, that don't change, I used 'brute force' and just hard coded the HTML Table with hyperlinks to images and the first category page in the categories_welcome.tpl. This didn't take me long to do, once I decided to go this approach. Peggy |
Re: Category Images instead of Featured on home.php in 4.4.5
I'm about to do the same and will probably use your method of brute force.
|
Re: Category Images instead of Featured on home.php in 4.4.5
Hi Paul,
I haven't had any problems with this approach -- the 'one caveat' that I'm aware of, is that I can't generate the sitemap.php file within X-cart. I believe it is related to the category approach I took. I use CDSEO Pro's generated sitemap.xml file for the search engines -- I could brute force the same for my shopping cart, though I haven't done so yet. Good luck. Peggy |
Re: Category Images instead of Featured on home.php in 4.4.5
I think I'll have a go at creating the layout using divs as I have pretty much figured out how to style and position them. Then try and call the headings and images using Xcart system somehow this usually involves cut n paste of code from other templates.There has to be some way of using li or ul to do this automatically but not sure on the 3 column thing
|
| All times are GMT -8. The time now is 01:54 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.