• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [invalid] unknown tag print
PostPosted: Sun Jun 24, 2012 10:46 am 
Offline
Power Poster
Power Poster

Joined: Sun Apr 19, 2009 9:33 am
Posts: 1372
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:
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:
find . -path '*/.svn' -prune -o -type f -print | xargs grep -l '{print showbutton=true}'
./install/schemas/extra.sql
./install/schemas/initial.sql

_________________
The CMSMS Builder is a tool to help you develop and optimize CMS Made Simple >= 2.2.3 themes, it is made by a developer for developers.

I you like an automated file based work-flow this project might be for you. It is usable to kick-start a new CMSMS project or it can be applied to existing ones.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: unknown tag print
PostPosted: Sun Jun 24, 2012 11:01 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7678
Location: The Netherlands
This works for me.
Did you do a new install or an upgrade?

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return!



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: unknown tag print
PostPosted: Sun Jun 24, 2012 11:30 am 
Offline
Power Poster
Power Poster

Joined: Sun Apr 19, 2009 9:33 am
Posts: 1372
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

_________________
The CMSMS Builder is a tool to help you develop and optimize CMS Made Simple >= 2.2.3 themes, it is made by a developer for developers.

I you like an automated file based work-flow this project might be for you. It is usable to kick-start a new CMSMS project or it can be applied to existing ones.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting