Log in

View Full Version : Question regarding creating a template_groups plugin


Guest210212002
01-27-2006, 02:49 PM
I have a pile of CMPS portal templates, that are prefixed with adv_portal.

I created a new plugin in vB/General Admin/template_groups with the following:


$only['adv_portal'] = 'Portal Custom';


And it only half works. It's grouping the templates created by the parent product, but not grouping any custom templates I've created afterwards.

What am I missing to get the plugin to group the custom templates as well?

Screeny attached to show what I'm talking about. Thanks. :)

Logician
01-28-2006, 06:26 AM
It should be because of 2 reasons: (either or both)
a) While creating your template make sure you set Product as the product name of the other templates.
b) Create your template in MASTER style, not in child styles (Requires you enable debug mode)

craiovaforum
02-25-2009, 08:44 PM
How do you set the product name while creating a template?

BSMedia
02-25-2009, 10:25 PM
I think this is also a problem with vBAdvanced, as their templates are already grouped, except when creating new ones with their prefix.

I'm not sure how to fix it honestly, but i've had the same problem for a while thats been bugging me.