Wednesday 23 September 2009 12:53:04 am
As far as I have understood it, it should be possible to achieve what you want, but in a slightly convoluted way. You could: A) show search results as a tiny part of a frontpage page layout - post to the content/search url an extra parameter in your form, with the node_id of the current node - the search template does its search stuff, and at the end, if that param was found in the post variables, includes the template of the full view of the original node, passing to it the search results as an extra parameter in node_view_gui - the template used for your full view of the node would then show the search results in a dedicated space B) move the columns outside of the node template and into the pagelayout template. This way they will be shown by default on every page. Add in the column templates the logic to customize them as needed (and possibly some cache-block to speed them up). Use a single-column layout for your frontpage This is by far the most common approach... C) variation of the above: put the columns in 2 separate templates, and include them both in your node template and in your search results template. The main difference is that the columns here will be calculated at the time the object shown is edited, but they will not be updated with fresh content on their own...
Principal Consultant International Business
Member of the Community Project Board
|