Page 2 of 2

Re: Entering Tags at CGBlog articles

Posted: Fri Oct 12, 2012 1:30 pm
by otelo
nicmare wrote:activate debug mode in config.php (check doc file)
and watch admin log for any errors. they should lead us to the right direction
Got this error

Code: Select all

ERROR DETECTED: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "module_file_tpl:CGBlog;editarticle.tpl" on line 141 "var availableTags = [{/literal}{cgblog_tagvalues item=$tagfield_id}{literal}];" unknown tag "cgblog_

Re: Entering Tags at CGBlog articles

Posted: Fri Oct 12, 2012 1:34 pm
by nicmare
i think the problem is that we cant use UDTs in admin area anymore (since 1.11). so you should convert that UDT into a plugin in /plugin/ folder. see the example files here and try to adapt the udt as a new file: function.cgblog_tagvalues.php

Re: Entering Tags at CGBlog articles

Posted: Fri Nov 30, 2012 6:27 am
by polodesign
Hi,

I could really use this tagging system as a plugin that would work in 1.11.x but I don't know how to convert the code. I'd be happy to pay to have a plugin created. I'm sure lots of others would find this helpful. Are you interested Nic? Or anyone else?

Thanks,
Penny

Re: Entering Tags at CGBlog articles

Posted: Fri Nov 30, 2012 7:17 am
by Gregor
Penny,

Did you get the part working without making Nic's changes?

Re: Entering Tags at CGBlog articles

Posted: Fri Nov 30, 2012 1:26 pm
by polodesign
I can get it working up to the point of the tags working as links but when I go to add an article (I'm using it in News, not CGBlog), I get the blank editing screen. The note about UDT's in the admin area seems to be the missing bit, as I have seen other mentions of the same problem.

Did you ever get it working?

Re: Entering Tags at CGBlog articles

Posted: Fri Nov 30, 2012 1:56 pm
by nicmare
if you are using cmsms 1.11, then you should delete the UDT and use this plugin instead:
function.cgblog_tagvalues

1. download it
2. rename it to function.cgblog_tagvalues.php
3. move it to /plugins/ folder

that's it. it's working in my cmsms.

please tell me if you are happy with it…

Re: Entering Tags at CGBlog articles

Posted: Fri Nov 30, 2012 2:11 pm
by Gregor
nicmare wrote:if you are using cmsms 1.11, then you should delete the UDT and use this plugin instead:
function.cgblog_tagvalues

1. download it
2. rename it to function.cgblog_tagvalues.php
3. move it to /plugins/ folder

that's it. it's working in my cmsms.

please tell me if you are happy with it…
This does work Nicmare. Thanks!