Friday 20 February 2004 2:04:53 am
You should always use $module_result.content on your main pagelayout. This pulls in the content from the location the user is currently viewing. Instead what you need to do is modify the template for the content object that produces the code for $module_result.content. Remember, this is what each folder, article, etc does. Take a look at this documentation page: http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_news_page/overview_of_the_latest_news and at the code halfway down. The fetch statement pulls in articles from a location and the loop underneath displays each using node_view_gui. If you have a different location for your new you would replace the $node.node_id with the appropriate value. btw, in theory it is possible to code *everything* in the main pagelayout, but the template override system allows the developer to create many more types of sites. Hope this helps Paul
|