![]() |
How do I add a template group for a product?
It's been a while since I've done this and I've forgotten how. The only info i could find on this site about it is back from 2004 and out of date.
|
Hook template_groups:
PHP Code:
|
I've tried this in 3.7, the plugin is active (cut and pasted your code).... but nothing shows up. Does this work in 3.7?
Scuzzy |
I just used it no problems
|
Exactly what did you put in your plugin, Scuzzy?
|
What am I doing wrong?
https://vborg.vbsupport.ru/external/2008/04/66.jpg https://vborg.vbsupport.ru/external/2008/04/67.jpg --------------- Added [DATE]1207278315[/DATE] at [TIME]1207278315[/TIME] --------------- I've also tried... $only['scuztools'] = 'ScuzTools Templates'; ...as "scuztools" is the name of my product, but no luck there either... Scuzzy |
do you have any scuztools_templates
|
You need to actually create the templates with the prefix for the group to show up.
|
Templates will also need the appropriate prefix. E.g.:
mytemplates_sometemplate mytemplates_someothertemplate mytemplates_bla Or scuztools_sometemplatename scuztools_atemplate e.t.c. |
Thanks, that worked. That's what I get for checking things every step of the way. :)
|
All times are GMT. The time now is 12:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|