[invalid] unknown tag print

Post Reply
deactivated010521

[invalid] unknown tag print

Post 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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: unknown tag print

Post by Rolf »

This works for me.
Did you do a new install or an upgrade?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
deactivated010521

Re: unknown tag print

Post 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
Post Reply

Return to “Closed Issues”