vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Need some help with Template Modifications (https://vborg.vbsupport.ru/showthread.php?t=196759)

Parker Clack 11-20-2008 05:46 AM

Need some help with Template Modifications
 
I am using vbAdvanced and when I go in and create a template it will make a global template and a copy for the parent template. If I edit the parent template the changes don't migrate through to the other children templates.

So I added a link in the control panel that I can use to modify the parent template that migrates through to the other children templates but when I go to modify the template using the link I get a message telling me that the template already exists and asks if I want to save the changes. I will save the changes but the parent template reverts back to the global template.

I am using:

Code:

template.php?&do=add&dostyleid=5&title=adv_portal_industry9&expandset=5
where adv_portal_template9 is the title of the template that I am wanting to modify.

Is there a way to this via a link that will allow you to modify instead of add the template and it retains the changes to the global as well as the parent and the children templates? It gives me the same results whether I use dostyleid=-1 or dostyleid=5.

Thanks,
Parker

SEOvB 11-20-2008 06:27 AM

You may want to ask if at vBAdvanced.com sounds like a problem with their product.

Whenever you make changes to a parent style in vBulletin, those changes are passed down to children templates, unless those templates are previously modified (show up red)

Parker Clack 11-20-2008 04:22 PM

FRDS:

The issue is not with vbAdvanced.

Like I said I wrote a link as above and while it migrates everything through to the children templates as it should it doesn't update the parent template so you can review the changes you just made to it.

If I go in and manually edit the parent template it does not migrate through to children even though it is supposed to. If I modify the parent using the above link the changes migrate through to the children templates but the parent template remains with its default.

What I need is a link that I can use via the Admin Control panel to modify the parent template so that the parent template keeps the changes made to it and those changes are passed on down to the children templates.

Lynne 11-20-2008 04:30 PM

If you do it the correct way and manually edit the parent template, you say it doesn't migrate through to the children. Is the template red in the child styles? If so, that is why it won't migrate. The template should be orange in the child styles.

Parker Clack 11-20-2008 05:36 PM

Lynne:

The parent style is red and the children orange.

Thanks for the feedback though. I figured it out by using

Code:

template.php?&do=edit&templateid=xxxx&dostyleid=5&group=xxxx
instead and replacing the xxxx with the appropriate information.

Parker


All times are GMT. The time now is 09:31 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
  • Page Generation 0.01032 seconds
  • Memory Usage 1,716KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete