View Full Version : About parent and child Style & Template.
ET240
Tue 20th Jun '06, 11:30am
Hihi... i'm here to ask questions... as i don't know am i on the right session... sorry if i'm not...
As we know parent is the main style template for example default style
and if i add a new style template to be a child of the default style
then when i do amendment to my default style it will auto amend in the new style template so call the child template? Yes i think
if i amend the child template and that mean only the child template is edited not the parent right? So if in future i edit the parent template will my
child template be edited too?
Colin F
Tue 20th Jun '06, 11:43am
then when i do amendment to my default style it will auto amend in the new style template so call the child template?
Yes, if you don't have any changes in that template in the child style.
if i amend the child template and that mean only the child template is edited not the parent right?
Yes.
ET240
Tue 20th Jun '06, 12:07pm
I more wanna know is the last question if i amended the child template, and next time i amended the parent template will it update the child as well?
Colin F
Tue 20th Jun '06, 12:08pm
If you change the postbit template in the child style, then changes you make in the postbit template of the parent style won't be updated to the child style anymore.
ET240
Tue 20th Jun '06, 12:16pm
If you change the postbit template in the child style, then changes you make in the postbit template of the parent style won't be updated to the child style anymore.
so if i edit any other template beside postbit template in the child style
all other thing i edit on parent style will still be updated to the child is that what u mean?
Colin F
Tue 20th Jun '06, 12:19pm
No, the postbit was an example. This applies to all the templates.
ET240
Tue 20th Jun '06, 12:54pm
Oh so that mean if i edit the child style template... when i change parent style template it won't update the child style template as well already.
ok i got it =]
ldma
Tue 4th Dec '07, 9:57am
Here's a quick question.
how about if I initially set a template as a child of another template, make adjustments to that template, but then decide I'd like it to be the child of another template, by editing the settings of the child. Would the child templates initial inheritance be replaced with the new parents in aspects of the child template I had not edited.
I'm quite happy with the initial inheritance but would like future changes to be based on the new parent.
Colin F
Tue 4th Dec '07, 10:01am
Yes, the inheritance should be changed to the new parents.
Powered by vBulletin™ Version 4.0.0 Beta 4 Copyright © 2009 vBulletin Solutions, Inc. All rights