![]() |
Root Category Thumbnails on Homepage
Does anyone know how to display the root category thumbnails on version 4.4.X on the home page like the subcategories are displayed on the other categories pages?
It was as simple as placing this in the welcome.tpl on previous versions but that doesn't seem to work on this version??? {include file="customer/main/subcategories_t.tpl"} I've tried everything and sure I am missing something simple.. thanks |
Re: Root Categories Icons on home page for version 4.4.X
Can anyone even hint as to what has changed in the template or category arrays for the welcome page in the latest version to try and work this out please?
|
Re: Root Categories Icons on home page for version 4.4.X
It depends if you are using fancy cats or not. If you do - depends if you are using the cache option or not. If you do categories array is taken from the cache and is not available on the page. If you don't use the cache option the array is categories_menu_list and has all categories listed. There is no categories array on front page so subcategories_t or _list templates won't work. If you still need it you have to create your own array in the script, populate it with the root cats and assign it to smarty
|
Re: Root Categories Icons on home page for version 4.4.X
Thank you!
I simply copied the subcategories_t.tpl to a new file called subcategories_h.tpl (specific for the homepage) and changed the array to categories_menu_list as you highlighted and it worked a treat. Of course I included this new file on the welcome.tpl. Thanks again! |
Re: Root Categories Icons on home page for version 4.4.X
I am using fashion_mosaic_blue and I still have this problem.
|
Re: Root Categories Icons on home page for version 4.4.X
where is subcategories_t.tpl in 4.4.2
|
Re: Root Categories Icons on home page for version 4.4.X
skin/your_skin/customer/main
|
Re: Root Categories Icons on home page for version 4.4.X
I don't see the subcategories_t.tpl file there. I have re-downloaded the files from x-cart and they are not in that file there either.
|
Re: Root Categories Icons on home page for version 4.4.X
If the file is not in the skin you are using then the skin is using the one in skin/common_files/customer/main. You can either modify that file or copy it in your skin and modify there
|
All times are GMT -8. The time now is 11:17 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.