![]() |
Add templates and phrases for the product?
From the vbulletin manual (http://www.vbulletin.com/docs/html/creating_a_product) on how to create a product I can't find any documentation on step 3...
3. Add templates and phrases for the product? I've created a plugin, I've got that associated with the product, but it depends on 3 templates and one CSS I created to function... I'd like to include those in the product, but cannot figure out how to associate them so they export all together... Thanks, |
Quote:
As for the templates, when creating a new template in the template manager, you would specify what product it belongs to. Then when you export your product, your template(s) will be included in the xml file. |
Quote:
|
1 Attachment(s)
Yep you're looking in the right place.. See the attachment below for clarification:
|
I've created a product and that option is certainly not there... is there something magical to getting it to show up?
|
Try putting your site in debug mode. Add the following line to the bottom of your forumroot/includes/config.php file.
PHP Code:
|
Thats it...
Have to add it to the master style as well it appears. I'll setup my dev environment and .htaccess protect that bastard before doing more work. Thanks! |
Thanks to this I placed my template on master style and now it works.
Also the option for the product appears only when its a master style. Everything is tricky with vb4 :D |
Quote:
|
How can I display the master style templates without setting it everything to debug?
|
You need to be in debug mode in order to view the MASTER STYLE. You could set it for just your IP:
PHP Code:
|
Nice way, but isnt better to compare current use with "admin" or lookup for the current user group?
im asking too much ?:D |
You can't do that in the config.php file. That file is read before it ever knows what your userid or any userinformation about you. It's getting the database information to make it's first database call. :)
|
All times are GMT. The time now is 10:48 PM. |
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:
|