Share » Forums » Setup & design » How to customize the edit object...

How to customize the edit object function

How to customize the edit object function

Tuesday 05 December 2006 7:31:40 pm - 3 replies

Author Message

Pierre-Yves Savard

Tuesday 19 December 2006 6:03:30 am

I have the same problems.

Can someone answer this thread.

Thank you.

valentina ferrari

Wednesday 20 December 2006 5:34:06 am

Hi Bill,
you have to copy in your custom design these files:

../design/standard/templates/content/edit.tpl
../design/standard/templates/content/edit_attribute.tpl
../design/standard/templates/content/edit_draft.tpl
../design/standard/templates/content/edit_languages.tpl
../design/standard/templates/content/edit_placement.tpl
../design/standard/templates/content/edit_right_menu.tpl
../design/standard/templates/content/edit_validation.tpl

So you have:
..design/YourSite/override/templates/content/edit.tpl
..design/YourSite/override/templates/content/edit_attribute.tpl
etc.

In "edit.tpl" you find all the include of other files.
Remember to clear cache before testing your changes!

Sorry for my english!
Valentina

Bill Smith

Thursday 21 December 2006 10:09:03 pm

Hi, This is the way I solve this problem

for the select language page, just simply add /f/eng-US to the edit link

e.g. concat("/content/edit/",$object.id,"/f/eng-US")|ezurl

for the edit conflict page, no good solution

but in my case, user can only edit the object he create

so I first write a method to check whether the newest version to the published version

If it's create a new version

if not, just call the current newest version as the draft

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

36 542 Users on board!

Forums menu