Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

quadrant
Ecommerce Template Guru

United Kingdom
1124 Posts

Posted - 05/29/2026 :  11:10:42  
Hi,

I am looking at a site re-design and I've been having a play with some ECT features I haven't used yet.

In my includes.php I have the following:
$categorypagelayout='catimage,description,catname';
which works fine.

But when I try to add some tags as detailed here https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=112846 the myclass div does not show.
$categorypagelayout='catimage,<div class="myclass">,catname,description,</div>';

I only have one line containing $categorypagelayout in my includes file and I have even tried adding directly before the /vsadmin/inc/inccategories.php include on categories.php with no joy.

I know it's reading the $categorypagelayout line because if I take out catimage then only the description and catname show.

When I add tags to $detailpagelayout on proddetail.php it works perfectly.

I am sure I'm missing something obvious but have been trying for over an hour without success so reaching out here.

I'm on v7.9.3 but have also tried with other versions of inccategories.php but still no tags.

Regards,
David

Vince
Administrator

43397 Posts

Posted - 05/30/2026 :  02:16:37  
Hi David
It seems the category page layout was neglected when these changes were made but I've added the functionality now so that you can use HTML tags in the $categorypagelayout parameter too and these are now in the v7.9 updater. You have the modifier %id% which will be replaced by the category id.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

quadrant
Ecommerce Template Guru

United Kingdom
1124 Posts

Posted - 05/30/2026 :  02:53:28  
Hi Vince,

Many thanks for taking a look.
All working perfectly now.

Just out of interest I added <div class="myclass">%id%</div> to the $categorypagelayout which displays the cat ID as you would expect but is there a particular use for this I am missing other than displaying the category ID?

Regards,
David
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000