Details
-
Bug
-
Resolution: Invalid
-
Medium
-
4.6.0-dev
-
None
Description
When trying to test ezSI eZPublish, there is no time displayed in the SSI block
Steps to reproduce
Setup - create the template 1. Log in as admin in admin interface (add "/plain_site_admin" to the URL as plain_site is the default) 2. Click "Design" in top menu 3. Click "Templates" in left menu 4. Click "/node/view/full.tpl" link (4th link below "Most common templates" ) 5. Select "plain_site" in drop down 6. Click "Set" button 7. Click "New override" button 8. Enter form data: Extension: No extension Filename : article Class : Article View (without children) : checked 9. Click "OK" button 10. Click "Edit" icon for the article template 11. At the bottom if the input field, add the following code: <br/><br/> <b>SSI block below : </b><br> {si-block key="1" ttl="20s"} This is a si test: time : {currentdate()|l10n("time")} <br/> {/si-block} <br/><br/> Setup - Create the test article 1. Click "Content structure" 2. Click "Create here" button 3. Enter form data: Title : test article Intro : This is the intro 4. Click "Send for publishing" button 5. Logout Verify first execution of a template 1. View plain site 2. Read through the rest of the testcase. Timing in the execution of the test case is important as expiring of the cached content is part of the test. Be for instance prepared to run the cronjob mentioned below. 3. Click on "test article" link 4. Verify that you get the following on the page (the time will be be different. It should display current time ): SSI block below : This is a si test: time : 2:37:16 pm