Forums / Developer / Queries on template code

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Queries on template code

Author Message

Bill Smith

Sunday 06 August 2006 8:53:52 pm

Hi, all, I am just a beginner with Exponential

when I read the codes of Exponential

I always find sentences such as

{section show=$wrong_email}

{section show=$generated}

seems there are actions inside these codes

but where are the source codes for these actions

thanks very much

Bill Smith

Sunday 06 August 2006 9:01:26 pm

And one more questions, where are the variables like $wrong_email defined?

thanks

Tore Skobba

Monday 07 August 2006 1:37:06 am

What do you mean with source codes? Basically all eZ tempalte (code) is within curley brackets, this also include variables definition:

<h2>Heading</h2>
{def $name='Tore'}
{if $name|eq('Tore')}
<p>Name is Tore</p>
{/if}
{undef}

As such when viewing an tempalte look for the curley brackets for find the tempalte code.

Please note that section is deprecated, there is a new template code syntax being used now.

Ref: http://ez.no/doc/ez_publish/technical_manual/3_8/templates/the_template_language