For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > March 2004 > Class::method() in if tags









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Class::method() in if tags
David Förster

2004-03-19, 1:28 pm

Hello,

{if Auth::logged_in()}
produces
Fatal error: Smarty: [in main.tpl line 115]: syntax error: unidentified token '::logged_in()'

Can I use a different syntax or are there any plans to support that in the future?

- david
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com