Jump to content

Changing Template doesn't delete images


Soma
 Share

Recommended Posts

When I change template of a page with images (in this case of home in default install) and the new template has no images field, the images resist in the assets folder. Is something on my local server or is this unintended behaviour?

Since image are still there and when I change template back with images field, they also aren't reinserted, which means they're not in database. So they're lost in nowhere.

Link to comment
Share on other sites

I think this happens because the code that removes the fields from templates doesn't know anything about specific fieldtypes. In that respect, it's different than a delete action. I'll think on this some more and see if there's an alternate way. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...