Share » Forums » Developer » How to include edit form to node...

How to include edit form to node display page?

How to include edit form to node display page?

Thursday 02 December 2004 4:13:13 am - 2 replies

Author Message

Lazaro Ferreira

Thursday 02 December 2004 5:11:45 am

Hi,

when you talk about form, are you talking about a page that edit a content object stored in the database ?, (i.e: a contact form, article, or any user defined content class )

Case yes, you can achive it by overriding edit template for the offending class (i.e: objects of a custom guestbook class ) then adding tpl code to list your objects

To see how to list your objects simply copy ezp full view folder template and change it to your needs

To got it you will need to know how to override an ezp template, and understand ezp template language

 

Lazaro
http://www.mzbusiness.com

Vytautas Germanavičius

Thursday 02 December 2004 1:54:13 pm

I know about oweriding templates.

Problem is that there is no examples how to merge edit and full view templates.

I do know, how to get node id for new item.
Edit form contains variables: $object.id, $edit_version, $edit_language, $main_node_id
How to get those values?

{set-block scope=root variable=cache_ttl}0{/set-block}

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

36 542 Users on board!

Forums menu