diff -Naur ezrecommendation-stable-1.1/design/ezdemo/templates/pagelayout.tpl ezrecommendation/design/ezdemo/templates/pagelayout.tpl
--- ezrecommendation/design/ezdemo/templates/pagelayout.tpl 1970-01-01 01:00:00.000000000 +0100
+++ ezrecommendation/design/ezdemo/templates/pagelayout.tpl 2012-12-21 16:30:53.000000000 +0100
@@ -0,0 +1,120 @@
+
+
+
+
+
+{def $basket_is_empty = cond( $current_user.is_logged_in, fetch( shop, basket ).is_empty, 1 )
+ $user_hash = concat( $current_user.role_id_list|implode( ',' ), ',', $current_user.limited_assignment_value_list|implode( ',' ) )}
+
+{include uri='design:page_head_displaystyles.tpl'}
+
+{if is_set( $extra_cache_key )|not}
+ {def $extra_cache_key = ''}
+{/if}
+
+{def $pagedata = ezpagedata()
+ $inner_column_size = $pagedata.inner_column_size
+ $outer_column_size = $pagedata.outer_column_size}
+
+{cache-block keys=array( $module_result.uri, $basket_is_empty, $current_user.contentobject_id, $extra_cache_key )}
+{def $pagestyle = $pagedata.css_classes
+ $locales = fetch( 'content', 'translation_list' )
+ $current_node_id = $pagedata.node_id}
+
+
+
+ {if and( is_set( $pagedata.persistent_variable.extra_template_list ),
+ $pagedata.persistent_variable.extra_template_list|count() )}
+ {foreach $pagedata.persistent_variable.extra_template_list as $extra_template}
+ {include uri=concat('design:extra/', $extra_template)}
+ {/foreach}
+ {/if}
+
+
+ {include uri='design:page_header.tpl'}
+
+
+ {cache-block keys=array( $module_result.uri, $user_hash, $extra_cache_key )}
+
+
+
+ {if $pagedata.top_menu}
+ {include uri='design:page_topmenu.tpl'}
+ {/if}
+
+
+
+ {if $pagedata.show_path}
+ {include uri='design:page_toppath.tpl'}
+ {/if}
+
+
+
+
+ {if and( $pagedata.website_toolbar, $pagedata.is_edit|not)}
+ {include uri='design:page_toolbar.tpl'}
+ {/if}
+
+
+
+
+
+
+ {if $pagedata.left_menu}
+ {include uri='design:page_leftmenu.tpl'}
+ {/if}
+
+ {/cache-block}
+ {/cache-block}
+
+
+ {* enable odoscope tracking of click events in pagelayout.tpl *}
+ {*oscgeneratebymoduleresult( $module_result, array() )*}
+
+
+
+ {* enable recommendation tracking of click events in pagelayout.tpl *}
+ {include uri='design:content/ezrecommendation_html.tpl' content=$module_result track=true()}
+
+
+
+ {include uri='design:page_mainarea.tpl'}
+
+ {cache-block keys=array( $module_result.uri, $user_hash, $access_type.name, $extra_cache_key )}
+
+
+ {if $pagedata.extra_menu}
+ {include uri='design:page_extramenu.tpl'}
+ {/if}
+
+
+
+
+
+
+ {include uri='design:page_footer.tpl'}
+
+
+
+
+
+
+{include uri='design:page_footer_script.tpl'}
+
+
+{/cache-block}
+
+{* This comment will be replaced with actual debug report (if debug is on). *}
+
+
+