View Full Version : templategroup in product?
Dylanblitz
07-16-2008, 05:22 AM
Is it possible to use the templategroup in a Product's xml? If it is can someone tell me the syntax because I haven't been able to figure it out. Whenever I try and use it the import just skips my templates. If I can't then is there another way to do it?
I was trying
<templates>
<templategroup>
<template>
</template>
</templategroup>
</templates>
MoT3rror
07-16-2008, 05:48 AM
Template groups are created by creating a plugin at template_groups hook with the following code.
$only['prefix'] = 'Group Title';
Dylanblitz
07-16-2008, 06:28 AM
Ah very cool, thanks for that, it's working now :)
Opserty
07-16-2008, 08:28 AM
Use the search feature: How to add your own template group (https://vborg.vbsupport.ru/showthread.php?t=70165&highlight=template+group) ;)
Dylanblitz
07-16-2008, 02:57 PM
I tried that
search on templategroup returns 12 results, and that article wasn't in them hehe.
Should of thought to split the search up to "template group"
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.