Forums / General / form creation / Comment37253

Author Topic

Max Keil

Friday 31 July 2009 2:27:04 pm

Comment37253

If your override.ini is like this:

[MeetingRFP]
Source=pagelayout.tpl
MatchFile=meeting_rfp_pagelayout.tpl
Subdir=templates
Match[class_identifier]=meeting_rfp

the you have to fetch the node before you can use it in 'meeting_rfp_pagelayout.tpl':

{def $node = fetch( 'content', 'node', hash( 'node_id', #NODEID# ) ) }

but if your override.ini is like this:

[MeetingRFP_class]
Source=node/view/full.tpl
MatchFile=full/meeting_rfp.tpl
Subdir=templates
Match[class_identifier]=meeting_rfp

you can use the $node variable inside of 'meeting_rfp.tpl'

<form method="post" action={"/content/action"|ezurl}> - do not forget the leading slash!

Is your attribute called given_name?

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh