Gazley Posted October 6, 2012 Share Posted October 6, 2012 Hi there, I currently have two "basic-page" type of templates. After changes throughout the development process, they have now become quite similar and once contains all of the fields of the other. I want to delete one of the templates and use the other instead (then there will be only one "basic-page" template used throughout the whole site). The one I want to change to has the same fields (and more) as the one I want to change from. The parent page will remain the same. Is it possible to do this without losing the already entered data? If so, how? Thanks. Link to comment Share on other sites More sharing options...
Soma Posted October 6, 2012 Share Posted October 6, 2012 If there are fields which are equal you can simply change template and those will be preserved. 1 Link to comment Share on other sites More sharing options...
diogo Posted October 6, 2012 Share Posted October 6, 2012 Edit the old template, go to "advanced>alternate template file" and put the name of the new file there 1 Link to comment Share on other sites More sharing options...
Gazley Posted October 6, 2012 Author Share Posted October 6, 2012 Thank you so much guys. That was much easier than I thought it was going to be. Great PW design and great peer support! Link to comment Share on other sites More sharing options...
Soma Posted October 6, 2012 Share Posted October 6, 2012 You could also have one template use the fields of another template (share them). If you have the same fields, data will also be preserved. But you can't edit the fieldset, it will just mirror them from the one you choose. You can also switch back to the old fieldgroup. You have to turn on advanced mode in config.php to see this option. It will show up underneath the add fields. template->basics->fieldgroup. 2 Link to comment Share on other sites More sharing options...
Gazley Posted October 6, 2012 Author Share Posted October 6, 2012 Thanks for the last tip Soma - that's great to know. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now