XF 1.4 Changing a Style's parent?

adwolf1

Active member
is it possible to change a style's parent? I have a style that is the child of one style, but i'd like to test it as a child of ANOTHER style.

Even if there is no UI, would it work if I just changed the parent_id style in the DB? Or is that courting disaster?

thanks
 
great, thanks!

Just to be totally clear, what happens if I import a stand-alone style, then make it a child of an existing style? will inheritance from the parent will work OK (that is, how does it decide what to inherit from the parent in that case?)
 
Child styles inherit from the parent if the child templates themselves aren't edited.

So if I import a stand-alone style that has a bunch of unedited templates, then I decide to make the style a child of another style, all of those untouched templates will be overridden by the new parent? cool! (just curious, how does it keep track of whether or not a template is in a default state? I don't see any fields like "is_edited" or something similar in the DB in the xf_template table)
 
Back
Top Bottom