Entering Tags at CGBlog articles

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
otelo
Forum Members
Forum Members
Posts: 28
Joined: Wed Oct 01, 2008 9:05 pm

Re: Entering Tags at CGBlog articles

Post 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_
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: Entering Tags at CGBlog articles

Post 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
User avatar
polodesign
Forum Members
Forum Members
Posts: 55
Joined: Sun Jan 03, 2010 1:58 am

Re: Entering Tags at CGBlog articles

Post 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
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: Entering Tags at CGBlog articles

Post by Gregor »

Penny,

Did you get the part working without making Nic's changes?
User avatar
polodesign
Forum Members
Forum Members
Posts: 55
Joined: Sun Jan 03, 2010 1:58 am

Re: Entering Tags at CGBlog articles

Post 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?
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: Entering Tags at CGBlog articles

Post 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…
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: Entering Tags at CGBlog articles

Post 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!
Locked

Return to “Tips and Tricks”