2011-11-08, 21:10:28
mvlcek Wrote:allienato Wrote:(% GALLERY NAME=GALLERY-SOMETHING %)
The substitution is case sensitive: it should be (% gallery name=something %)
I was assuming that the news manager calls the content filter and only I18N gallery doesn't work. But I just downloaded the latest version and it doesn't seem to do so. From a quick view at the code I think you need to add the following 'else' in site.php/nm_show_post:
Code:if ($excerpt) $content = nm_create_excerpt($content); else $content = exec_filter('content',array($content));
yes sorry, I've pasted that string from the site I'm developing, which have text-transform:uppercase property applied.
adding your last code produce this error
Code:
FATAL ERROR: ALLOWED MEMORY SIZE OF 33554432 BYTES EXHAUSTED (TRIED TO ALLOCATE 40961 BYTES) IN .../PLUGINS/I18N_GALLERY.PHP ON LINE 154