Share » Forums » Setup & design » HowTo: Edit an add/edit template

HowTo: Edit an add/edit template

HowTo: Edit an add/edit template

Sunday 26 October 2003 7:25:16 am - 5 replies

Author Message

Shurbann Martes

Monday 27 October 2003 5:53:12 am

Maybe I wasn't clear enough.
I want the template engine to load instead of the default:
design/standard/templates/content/edit.tpl

this one for exapmle:
design/my_design/override/templates/my_edit.tpl

How can I accomplish this?
I Hope you can help me.

Shurbann

Paul Forsyth

Monday 27 October 2003 6:27:21 am

Yes, you should use the override ini file.

Read this documentation to see how to do this:

http://ez.no/developer/ez_publish_3/documentation/customization/custom_design/override_templates

paul

Shurbann Martes

Monday 27 October 2003 6:54:45 am

I'm doing this, but still it's not working.
This is the override.ini

[edit_comment]
Source=content/edit.tpl
MatchFile=edit_comment.tpl
Subdir=templates
Match[class]=27

I cleared everything using the clearcache.sh script

Shurbann

Paul Forsyth

Monday 27 October 2003 7:09:01 am

does:

http://<your-admin-site>/setup/templateview/content/edit.tpl

inform you that your override is in place?

also, take a look at the file permissions of your new template. the server may not be able to read it.

paul

Shurbann Martes

Monday 27 October 2003 7:50:27 am

There was no templates override assigned to content/edit.tpl. Very strange, because the chmod of the files are all 644 so it should be readable by the server.

But ok now I'm clicking on Create New. I give it the correct name, class etc.. but when I click on Create I'm not seeing no form field, where I can enter something for the newly created template.

Shurbann

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu