Forums / Discussions / Helper Child Nodes: User-Friendly Search Results and Preventing Full Node Views

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

Wednesday 29 July 2009 3:46:07 am - 3 replies

» Read full tutorial

Introduction

In an Exponential site structure, there are often nodes that hold information shown as a part of the full view of a different, master node. Showing the full view of the former nodes themselves or getting them as search results is usually unwanted. This is common in forums and articles with comments. If you have worked on a large Exponential project, you have probably used such nodes without referring to them by a specific name. This article explains what we call “helper nodes” and also explores the template and content model issues involved, relating specifically to search results.

Author Message

Rashod Ollison

Friday 18 June 2010 7:24:12 am

Thank you for this very useful information. master degree | nursing degree

Gaetano Giunta

Friday 27 August 2010 5:01:02 am

Please see issue 17148 for why terminating execution from within a node/view/full override template might not be the best idea in the world (at least when using ezdfs).

I'd recommend to always use the persistent_variable to pass the url to the pagelayout template even for http redirects, and let the pagelayout template execute the redirect operator...

Principal Consultant International Business
Member of the Community Project Board

Grenland Web (Jan Kudlicka)

Tuesday 31 August 2010 10:51:54 am

When this article was written using the redirect operator in node/view/full.tpl has been working perfectly.

However, as Gaetano Giunta mentions in the bug report, newer versions of Exponential use lock files when generating a cache file. Terminating the execution in the template code while generating a cache file causes that the lock file is not being removed and will block the next request to the same URL until the lock file has expired.

Jan Kudlicka | System Developer @ Grenland Web | http://www.grenlandweb.no

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