Loading...
 
Skip to main content

Themes


Can't edit templates

Well, I can edit the templates, I just get an error when I save them.

Warning: fopen(templates///tiki-my_tiki.tpl) function.fopen: failed to open stream: Permission denied in /home/buckhul8/public_html/content/tiki-edit_templates.php on line 48

You do not have permission to write the template

I am logged in as admin so should have access. Any ideas??

Nevermind. I downloaded the tpl file and modified it in notepad and uploaded.

Bit of a hassle but at least it works.

TYhanks anyway.

Agro


I know this thread is old, but it was the only relevant thing that came up for me today as I faced this same problem.

I had created my own CSS sheet (so my customizations would not get lost on updates), and was looking to edit some of the mail notification templates. Every time I tried, it told me I did not have permission to edit the template, even though every edit template option and permission was checked!

After a LONG while, I discovered it's a problem with only the templates in the folders (i.e., mail or module templates in their respective folders). So here's what you do:

Go into your FTP server, and copy all the template FOLDERS into your template>styles>YOURSTYLE (folder named after your css). Then you can go into the Edit Templates on your site and edit them just fine (note the save button says "Save only in the theme:YOURSTYLE").

If you change themes, then you'll have to re-copy your edited templates into that new template>styles>NEWTHEME folder.

Hope this helps anyone in the future!