[geeklog-devel] Autotags help?
Tom
websitemaster at cogeco.net
Sun Nov 22 16:36:59 EST 2009
Speaking of new autotag features,
I have always wanted to control what autotags a user can use in a post
(comment, story, forum post, etc..). I have created autotags (mainly from
the autotags plugin) for all sorts of things and I have about 30 to 40
different ones in use. Most of them I don't really want a normal user to use
or even know about.
I haven't really thought of what the best way to actually do this but I
thought I would throw the idea out there.
Tom
-----Original Message-----
From: geeklog-devel-bounces at lists.geeklog.net
[mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Dirk Haun
Sent: November-22-09 2:40 PM
To: geeklog-devel
Subject: [geeklog-devel] Autotags help?
Now that Geeklog 1.6.1 is out, here's a tiny little feature idea for 1.6.2:
With the increasing amount of autotags provided by Geeklog plugins, it's
becoming increasingly difficult to tell what they're actually doing. So
it would be nice if the plugin could provide some help text along with
the autotag's name.
Simple idea: Let the plugin provide a short text and display that as an
HTML title attribute.
For backward compatibility, that information would have to be provided
in the form array('description' => 'autotag'). That's ugly but easily
fixed by array_flip. Something like
if ($op == 'tagname' ) {
return array_flip(array('staticpage' => 'Link to a static page',
'staticpage_content' => 'Embed content
of a static page')
);
} else ...
would then be rendered as, say,
<span title="Link to a static page">[staticpage:]</span>
Of course, there is only limited space available in a title attribute.
So maybe the plugin should provide a URL to the documentation instead?
Other ideas?
bye, Dirk
--
http://www.geeklog.net/
http://geeklog.info/
_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://eight.pairlist.net/mailman/listinfo/geeklog-devel
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4628 (20091122) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
More information about the geeklog-devel
mailing list