[SOLVED] CustomContent tags seem to be rejected
Posted: Mon Jun 23, 2008 5:24 am
Hi,
After upgrading from 1.2.5 to 1.3 I faced some problems that are solved now. Great!
Now there seems to be one strange thing left: The CustomContent tags seem to be rejected. I tried clearing the cache, re-installing CustomContent. Up till now no solution.
The template of the page runs well. However at the point of the tag in the content something goes wrong.
First there is a Template that looks like this:
The page using this template contains a lot of information. The first (and I thinks most relevant) lines are:
This is to show information only to forum members.
The output now says:
The code I'm using is an exact copy of a second site running the same content.
Related module versions are
- On running site:
CMSMailer: 1.73.12
CustomContent: 1.5
FrontEndUsers: 1.4.2
- On site with errors:
CMSMailer: 1.73.13
CustomContent: 1.5
FrontEndUsers: 1.4.3
Any idea of where to look for the solution?
After upgrading from 1.2.5 to 1.3 I faced some problems that are solved now. Great!
Now there seems to be one strange thing left: The CustomContent tags seem to be rejected. I tried clearing the cache, re-installing CustomContent. Up till now no solution.
The template of the page runs well. However at the point of the tag in the content something goes wrong.
First there is a Template that looks like this:
Code: Select all
.....
<!-- Start Content Area -->
<div id="main">
<div style="float: right;">{print showbutton=true script=true}</div>
<h2>{title}</h2>
{content}<br />
<!-- Start relational links -->
.....
Code: Select all
{cms_module module=CustomContent} {if $ccuser->loggedin() && $ccuser->memberof('forum_members')}
<h3>blah blah blah</h3>
.....
The output now says:
Code: Select all
.....
<img src='modules/Printing/printbutton.gif' alt='Print this page' />
</a>
</div>
<h2>Title</h2>
string(131) "Smarty error: [in content:content_en line 1]: syntax error: unidentified token ';loggedin()' (Smarty_Compiler.class.php, line 1407)"
string(126) "Smarty error: [in content:content_en line 1]: syntax error: unidentified token ';&' (Smarty_Compiler.class.php, line 1407)"
string(146) "Smarty error: [in content:content_en line 1]: syntax error: unidentified token ';memberof('forum_members')' (Smarty_Compiler.class.php, line 1407)"
Related module versions are
- On running site:
CMSMailer: 1.73.12
CustomContent: 1.5
FrontEndUsers: 1.4.2
- On site with errors:
CMSMailer: 1.73.13
CustomContent: 1.5
FrontEndUsers: 1.4.3
Any idea of where to look for the solution?