Situation: I have a template which does not exist in the master template. This template gets edited frequently by the customer. I have to generically add something to the template everytime the customer adds a structure to the template.
Example:
Template modification:
Yea, pretty much that. That works with a regex and template modifications. However, as I mentioned, the template does not exist in the master style, thus would get deleted when master data would be rebuilt even if I added that template to the master style (right?).
What would be the best approach here? Tell the customer to add the "inner" class himself? Create a master template and stick that to an addon?
Example:
CSS:
.class-x {
color:red;
}
CSS:
.class-x, .class-x-inner { #TMS adds ", .class-x-inner"
color:red;
}
What would be the best approach here? Tell the customer to add the "inner" class himself? Create a master template and stick that to an addon?