Forums / Setup & design / Overriding pagelayout on searchresults page

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

Overriding pagelayout on searchresults page

Author Message

Jason Senich

Wednesday 15 June 2005 8:37:06 am

Does anybody know how to override the pagelayout for the searchresults page?

Paul Borgermans

Wednesday 15 June 2005 10:37:54 am

Hi Jason,

You will need to patch the kernel for this (at least that's what I did a long time ago to have a custom edit pagelayout). However, using an {if} block to inspect the current module/view used in the default pagelayout is not that hard either.

Take a look at the $module_result elements for more information.

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Jason Senich

Wednesday 15 June 2005 11:47:23 am

That works. Thanks!

-Jason