| Topic: | pnsecauthaction problem in custom .8 theme |
|---|---|
|
craigh
Professional
Posts: 1147 Posted: |
I'm trying my hand at converting my new xMollioC theme to .80 to see how it works. I'm getting the following error and I don't understand... CodeFatal error: Smarty error: [in nav.htm line 42]: syntax error: unclosed tag {pnsecauthaction} (opened line 3). (Smarty_Compiler.class.php, line 317) in /home/soundwe/site_items/pn8lab/includes/classes/Smarty/Smarty.class.php on line 1095 the offending line is: Code(line 3)<!--[ pnsecauthaction realm="0" comp="::" inst="::" level="ACCESS_ADMIN" assign="admin" ]--> (line 42) <li<!--[checkactive check="Downloads" actual=$loc]-->><a href="modules.php?op=modload&name=Downloads&file=index">Downloads</a> line 42 is similar in structure to many other lines in the template, so I'm pretty sure that's really not the issue. Apparently pnsecauthaction requires some sort of previously unused closing tag? any help is appreciated. |
|
Simon
online Steering Committee
Posts: 13427 Posted: |
pnsectauthaction can be used as a block (enclosing the stuff you want to restrict like an IF tag) in .8 - but the previous function is also there. I haven't had a chance to examine this yet, but it's possibly an oversight that both files exist. Anyway, try using it as though it's an IF statement. -- Regards, Simon itbegins.co.uk - Zikula Consulting Please read the Support Guide |