My mistake, I had forgotten to implement this [Subversion] r27587
Offline
Thought I'd try the SimpeNG given it's an updated version of Simple Grey, but it gives the following error:
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "./themes/simpleng/template/header.tpl" on line 46 "{if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}" unclosed {foreach} tag' in /share/MD0_DATA/Web/piwigo/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:665 Stack trace: #0 /share/MD0_DATA/Web/piwigo/include/smarty/libs/sysplugins/smarty_internal_compilebase.php(166): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unclosed {forea...') #1 /share/MD0_DATA/Web/piwigo/include/smarty/libs/sysplugins/smarty_internal_compile_if.php(197): Smarty_Internal_CompileBase->closeTag(Object(Smarty_Internal_SmartyTemplateCompiler), Array) #2 /share/MD0_DATA/Web/piwigo/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(473): Smarty_Internal_Compile_Ifclose->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #3 /share/MD0_DATA/Web/piwigo/include/smarty/libs/sysp in /share/MD0_DATA/Web/piwigo/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 665
Happily gone back to Simple Grey but thought you may wish to be aware.
Offline
Simple and SimpleNG are completely separated.
There is a change to apply to fix this bug on SimpleNG I think: [Github] simple-theme-piwigo commit 64ac4fd0 give it a try
Offline
Thanks, yes that small change did get the SimpleNG theme opening without that error, however there still seem to be issues revealed:
1. The guestbook isn't working.
2. The OpenStreet maps are not showing (maybe they're not compatible?)
Last edited by JAK (2014-03-10 23:13:27)
Offline
OK, here is my modified version of SimpleNG:
diff -ru simpleng/template/header.tpl /home/pierrick/public_html/piwigo/dev/branches/2.6/themes/simpleng/template/header.tpl --- simpleng/template/header.tpl 2013-07-14 22:41:38.000000000 +0200 +++ /home/pierrick/public_html/piwigo/dev/branches/2.6/themes/simpleng/template/header.tpl 2014-03-11 12:12:56.000000000 +0100 @@ -39,7 +39,7 @@ {foreach from=$themes item=theme} {if $theme.load_css} {assign var="csstheme" value="themes/`$theme.id`/theme.css"} - { if file_exists($csstheme) } + {if file_exists($csstheme)} {combine_css path="themes/`$theme.id`/theme.css" order=10} {/if} {/if} diff -ru simpleng/template/index.tpl /home/pierrick/public_html/piwigo/dev/branches/2.6/themes/simpleng/template/index.tpl --- simpleng/template/index.tpl 2013-07-14 22:41:38.000000000 +0200 +++ /home/pierrick/public_html/piwigo/dev/branches/2.6/themes/simpleng/template/index.tpl 2014-03-11 12:49:54.000000000 +0100 @@ -70,6 +70,8 @@ </div> {/if} +{if !empty($CONTENT)}{$CONTENT}{/if} + {if !empty($CATEGORIES)}{$CATEGORIES}{/if} {if !empty($cats_navbar)} {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar}
[extension by rvelices] RV Maps & Earth and [extension by xbgmsharp] piwigo-openstreetmap work fine but the icon is missing!
Offline
Thanks for that but cannot see which file you've changed. Is it one in the themes/simpleng/template folder?
Offline
Thanks plg, a new version is available with the fixes
Offline