Forums / Setup & design / layout problem

"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".

layout problem

Author Message

philumo luan

Monday 20 August 2007 2:42:05 am

im new member in Exponential.

i have some problem and hope getting the feed back from all of you.

when i create pagelayout.tpl. Because i have 2 layout must to show on the pagelayout.tpl so i write a If condition but its wrong .

my conditions are :
when the page is loaded at first time which will show welcome layout and when we click on the link in this welcomepage we will go to o ther layout but this layout have to be load on this pagelayout too.

pls help me.

thanks you

Felix Laate

Monday 20 August 2007 4:07:05 am

Hi Philumo,

welcome to the Exponential community!

You could do something like this:

{if eq($module_result.node_id,2)}
  Your frontpage (if it's node 2)
{else}
  The rest of your pages
{/if}

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com