Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-20-2008, 05:46 AM
Parker Clack Parker Clack is offline
 
Join Date: Oct 2001
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 11-20-2008, 06:27 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #3  
Old 11-20-2008, 04:22 PM
Parker Clack Parker Clack is offline
 
Join Date: Oct 2001
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 11-20-2008, 04:30 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 11-20-2008, 05:36 PM
Parker Clack Parker Clack is offline
 
Join Date: Oct 2001
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:28 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.04186 seconds
  • Memory Usage 2,199KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete