Renaming templates

Kyle Fox's Avatar

Kyle Fox

16 May, 2010 04:34 PM via web

When you rename a template, items using that template suddenly have no template. You have to go back into those items and re-select your newly named template.

I suspect this is because of how Mongo works, but it's definitely not intuitive from a user's perspective. Took me a few minutes to figure out why all my pages were blank.

Cheers,
Kyle.

  1. 2 Posted by Elliott Pogue on 17 May, 2010 02:50 PM

    Elliott Pogue's Avatar

    I discovered this too. It's because Harmony stores the template name in a page and not the template ObjectID. This is probably so that if you make a different theme and activate it, you can have templates named the same thing as your previous ones in the old theme and have a seamless transition.

    On a template name change, maybe Harmony should sweep through items looking for the old template name and change it to the new template name?

  2. Support Staff 3 Posted by Steve Smith on 17 May, 2010 03:04 PM

    Steve Smith's Avatar

    Elliott is correct. We can make the template name change on rename
    easily. For us, it's simply a matter of what you would EXPECT to
    happen when you changed the template name, and it would seem that your
    expectations are that Harmony would change the items along with it.

  3. 4 Posted by Kyle Fox on 17 May, 2010 06:26 PM

    Kyle Fox's Avatar

    Right, that makes perfect sense actually. I'm not sure I'm representative of the whole of Harmony users, but yes, my expectation was that the items would be changed to use the new template name.

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

17 May, 2012 10:45 PM
20 Mar, 2012 05:05 PM
26 Apr, 2012 01:40 AM
07 Mar, 2012 04:42 PM