Page 1 of 1

[invalid] unknown tag print

Posted: Sun Jun 24, 2012 10:46 am
by deactivated010521
Rev: 8101

The 1.11 changelogs says: Moved smarty plugin {print} to CMSPrinting module.

That's cool.. but {print showbutton=true} does not work the way it's used in the default NCleanBlue template. (Layout -> Templates -> NCleanBlue).

After a fresh install take a look at the homepage:

Code: Select all

Error: at line 656 in file /home/shared/web/beta/public/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Message:
Syntax Error in template "tpl_body:22"  on line 84 "{print showbutton=true}" unknown tag "print"

Code: Select all

find . -path '*/.svn' -prune -o -type f -print | xargs grep -l '{print showbutton=true}'
./install/schemas/extra.sql
./install/schemas/initial.sql

Re: unknown tag print

Posted: Sun Jun 24, 2012 11:01 am
by Rolf
This works for me.
Did you do a new install or an upgrade?

Re: unknown tag print

Posted: Sun Jun 24, 2012 11:30 am
by deactivated010521
Weird did a new install (on an earlier 1.11) database when I faced the problem.

Now I flushed the old database first and the '{print}' tag works. Did another install on an existing database and the '{print}' tag also works.

So for the moment I can't reproduce a bug a I saw earlier :o