Forums / Setup & design / fetchin inside pagelayout.I dont understund why.RESOLVED.

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

fetchin inside pagelayout.I dont understund why.RESOLVED.

Author Message

alvaro alvaro

Saturday 10 June 2006 4:28:46 pm

{def $npp=fetch('content','list', hash( parent_node_id, 129,
offset, 0,
sort_by, array( array( published, true() ) )
)
)
}

Why this code dosent works inside pagelayout, $npp its empty.

But it works inside my frontpage that is the node 2 with an overriden template, the $npp has values here.

I dont understund.

----RESOLVED----

Finally i resolved it:

It was that i was fetching an structure that dont depend of the language, but i hang it below a folder, that yes depends of the language. So from pagelayout and from node 2 i was in different languages so i see diferent results in the fetching list.

Thx, i will continue fighting.