News Module Smarty Error and Sub Category Listing

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
dinmix
Forum Members
Forum Members
Posts: 29
Joined: Sun May 06, 2007 2:49 pm

News Module Smarty Error and Sub Category Listing

Post by dinmix »

Hi

I keep getting this error when first time loading the news after I made changes to the {news} tag. eg change summary or category

Code: Select all

string(142) "Smarty error: [in content:content_en line 1]: syntax error: invalid attribute name: ' summarytemplate' (Smarty_Compiler.class.php, line 1550)" string(126) "Smarty error: [in content:content_en line 1]: syntax error: invalid attribute name: '=' (Smarty_Compiler.class.php, line 1550)" string(130) "Smarty error: [in content:content_en line 1]: syntax error: invalid attribute name: '"sgx"' (Smarty_Compiler.class.php, line 1550)"

Also, I have two news categories and each category is displayed on a different page of the website. I use the following tag to display the News Higlights category:
{news number='10' summarytemplate="news" category="News Highlights*"}

Instead of showing just the specified category, the page is showing all the content in both categories. Any help is appreciated.
Post Reply

Return to “CMSMS Core”