{* * Page Cache Ultimate, Page Cache standard and Speed pack are powered by Jpresta (jpresta . com) * * @author Jpresta * @copyright Jpresta * @license See the license of this module in file LICENSE.txt, thank you. *} {if $avec_bootstrap} {assign var=logo value='logo.png'} {else} {assign var=logo value='logo.gif'} {/if}

{if $avec_bootstrap}{else}{/if} {l s='Dynamic modules and widgets' mod='pagecache'}

{if !$pagecache_debug} {if $avec_bootstrap}
 {l s='To be able to modify dynamic modules and widgets you must go back in "test mode" in first tab' mod='pagecache'}
{else}
 {l s='To be able to modify dynamic modules and widgets you must go back in "test mode" in first tab' mod='pagecache'}
{/if} {/if}

{l s='You cannot exclude a module from the cache but you can set it as dynamic. A dynamic module will be displayed in "anonymous mode" in the cache, then a background request will refresh it in order to display it with the context of the current visitor.' mod='pagecache'}

{if $avec_bootstrap}
 {l s='Note that dynamic module Ajax call are done all at once (one HTTP request)' mod='pagecache'}
{else}
 {l s='Note that dynamic module Ajax call are done all at once (one HTTP request)' mod='pagecache'}
{/if}

{l s='Dynamic modules' mod='pagecache'}

{assign var=indexRow value=0} {foreach $modules_hooks as $module_name => $moduleInfos} {/foreach}
{l s='Module' mod='pagecache'} {l s='Hooks' mod='pagecache'}
{$moduleInfos['display_name']|escape:'html':'UTF-8'} {if $moduleInfos['version']}  - v{$moduleInfos['version']|escape:'html':'UTF-8'} {/if} {if $moduleInfos['author']}  - {$moduleInfos['author']|escape:'html':'UTF-8'} {/if} {foreach $moduleInfos['hooks'] as $hook_name => $hook_infos} {assign var=indexRow value=$indexRow+1} {/foreach}

{l s='Dynamic widgets' mod='pagecache'}

{l s='Widgets are modules that can be displayed anywhere in the theme; they do not need any hook. This feature has been added in Prestashop 1.7. A widget can be displayed with an optional "hookName" that is used to choose a specific template.' mod='pagecache'}

{l s='Here you can specify which widget must be refreshed dynamically (is relative to the current visitor).' mod='pagecache'}

{foreach $dynamic_widgets as $widgetInfos} {/foreach}
{l s='Widget' mod='pagecache'}{l s='Hook name' mod='pagecache'}{l s='Display nothing in cache' mod='pagecache'}
{$widgetInfos['display_name']|escape:'html':'UTF-8'} {if $widgetInfos['version']}  - v{$widgetInfos['version']|escape:'html':'UTF-8'} {/if} {if $widgetInfos['author']}  - {$widgetInfos['author']|escape:'html':'UTF-8'} {/if} {$widgetInfos['hook']|escape:'html':'UTF-8'} {if $pagecache_debug}{/if}

{l s='Javascript to execute' mod='pagecache'}

{l s='Here you can modify javascript code that is executed after dynamic modules and widgets have been displayed on the page.' mod='pagecache'}

{l s='If you meet problems with your theme, ask your theme designer what javascript you should add here.' mod='pagecache'}