Users Developers
Home / Forums / In-Portal CMS / Need Help! / Advanced Theme Editing Problem / Topic Posts

In-Portal Forum

This is a place for users of In-Portal to ask questions, discuss various topics, and interact with other members of the In-Portal Community. Please report bugs through the Bugs Team (not the Forum). If you are interested in contributing or joining one of the many Teams for In-Portal, please check out the Contribute section of the website.

In-Portal Forum

Advanced Theme Editing Problem (2)

Posted: 01/06/2015 9:28:04 PM

Reply Quoted  


I am trying to edit the terms and condition, privacy policy etc. at the bottom of the advanced template. Clicking on Content Mode does not allow me to edit.

I clicked on Design Mode then edit block. I entered my company name where it says [company name]. When I try to save, I get this:

One or more fields on this form has an error.
Please move your mouse over the fields marked with red to see the error details.
File Contents - Failed to restore template "/core/admin_templates/platform/privacy.tpl" from backup.

I did not change any of the code, just replaced [company name] with my company name.



Posted: 01/07/2015 5:56:41 AM

Reply Quoted  

By the error you've getting you've using "Design Mode" (not "Content Mode") to edit content of a template. Because of this functionality requires to make your "/themes/" folder world-wide writable (777 permission) it was considered as non-secure (especially on shared hosting servers) and isn't recommended for usage. Also the editor used in there (CodePress - is reported as not working in major browsers and even isn't supported by the developer any more.

Instead I advise you to edit the corresponding TPL files directly under /themes/advanced/ folder. In this case file is called "/themes/advanced/platform/privacy.tpl" as you might have guessed from the error message.