Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Tuesday 15 January 2008 8:04:05 am - 2 replies
André R.
Tuesday 15 January 2008 12:30:54 pm
Try the code from ezwebin pagelayout.tpl:
<!-- Toolbar area: START --> <div id="toolbar"> {if and( $current_node_id, $current_user.is_logged_in, and( is_set( $content_info.viewmode ), ne( $content_info.viewmode, 'sitemap' ) ), and( is_set( $content_info.viewmode ), ne( $content_info.viewmode, 'tagcloud' ) ) ) } {include uri='design:parts/website_toolbar.tpl'} {/if} </div> <!-- Toolbar area: END -->
http://svn.ez.no/svn/extensions/ezwebin/trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/templates/
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Reinhard Hutter
Thursday 17 January 2008 8:22:39 am
Thanks, checking for $module_result.content_info did it for me, if anyone else has similar troubles, my pagelayout.tpl now looks like:
... {* WEBSITE TOOLBAR START *} {def $current_node_id = $module_result.node_id} {def $content_info = hash()} {if is_set($module_result.content_info)} {set $content_info = $module_result.content_info} {include uri="design:parts/website_toolbar.tpl"} {/if} {* WEBSITE TOOLBAR END *} <div class="content">{$module_result.content}</div> ...
You must be logged in to post messages in this topic!