Page 1 of 1

[solved] CGTweet module "unknown tag" problem

Posted: Thu Dec 19, 2013 10:26 am
by tristan
Hi there,

having problems using the CGTweet module, tried installing on 3 different CMS Made Simple installations but all result in this error when I try to call the module on an actual page:

Code: Select all

ERROR: at line 702 in file /home/tristan/domains/prism.nl/public_html/en/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Message:

Syntax Error in template "content:content_en"  on line 2 "{CGTweet action=timeline}" unknown tag "CGTweet"

Code: Select all

#0 public_html/en/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(488): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "CG...', 2)
#1 public_html/en/lib/smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('CGTweet', Array)
#2 public_html/en/lib/smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36()
#3 public_html/en/lib/smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(36)
#4 public_html/en/lib/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, ' ')
#5 public_html/en/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('<p>{GCharts gch...')
#6 public_html/en/lib/smarty/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#7 public_html/en/lib/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource()
#8 public_html/en/lib/classes/class.Smarty_CMS.php(323): Smarty_Internal_TemplateBase->fetch('content:content...', 'p51|content_en', '51content_en', NULL, false, false, false)
#9 public_html/en/lib/classes/class.CMS_Content_Block.php(326): Smarty_CMS->fetch('content:content...', '|content_en', '51content_en')
#10 public_html/en/tmp/templates_c/1889f355f55c810e4497241a71faeb0421a9cf0e.tpl_body.7.php(59): CMS_Content_Block::smarty_internal_fetch_contentblock(Array, Object(Smarty_Internal_Template))
#11 public_html/en/lib/smarty/sysplugins/smarty_internal_templatebase.php(180): content_52b2bf45e52de1_79349322(Object(Smarty_Internal_Template))
#12 public_html/en/lib/classes/class.Smarty_CMS.php(323): Smarty_Internal_TemplateBase->fetch('tpl_body:7', 'p51', NULL, NULL, false, false, false)
#13 public_html/en/index.php(238): Smarty_CMS->fetch('tpl_body:7')
#14 {main}
Maybe I'm missing something here though? On the admin side all seems to work perfectly accept for the "Authorize via Twitter" link which I had to do by hand as well it all looks good from that side.

Re: CGTweet module "unknown tag" problem

Posted: Thu Dec 19, 2013 5:41 pm
by JohnnyB
Can you try using the tag like this: {cms_module module="CGTweet"}
Do you get the same results? I haven't tried the module yet, but it might be ok to try it all lower case.

Re: CGTweet module "unknown tag" problem

Posted: Thu Dec 19, 2013 7:13 pm
by tristan
Thanks JohnnyB, forgot all about that, that works perfectly.

Any others here having the same problem?

Re: CGTweet module "unknown tag" problem

Posted: Fri Dec 20, 2013 11:56 am
by Rolf
So looks like a installation bug in the module

Re: CGTweet module "unknown tag" problem

Posted: Fri Dec 20, 2013 12:21 pm
by tristan
Filed it as a bug, thanks guys!

http://dev.cmsmadesimple.org/bug/view/9734