On Mon, 2009-07-27 at 09:49 -0400, David Collantes wrote:
> > On Fri, 2009-07-24 at 14:44 -0400, David Collantes wrote:
> > > I would like to remove the tags tab --and potentially the one for
> Twitter
> > > (Connect)--. How do I go to accomplish that? Would anyone else agree
> that
> > > the tags "cloud" is pretty much worthless?
> >
> > You can create a Plugin that can pretty much use any navigation item.
>
> I wish I knew how to do this. Does anyone have a small working example?
The Plugin system uses hooks on various places in the code to catch
events. e.g., in lib/publicgroupnav.php there is:
if (Event::handle('StartPublicGroupNav', array($this))) {
//
Event::handle('EndPublicGroupNav', array($this));
}
So, create a plugin in plugins/MyPlugin.php and enable it from
config.php:
require_once('plugins/MyPlugin.php');
$h = new MyPlugin();
In MyPlugin.php:
function onStartPublicGroupNav($action)
{
// Output
}
> > I disagree that 'the tags "cloud" is pretty much worthless'. If you have
> > any supporting data on the contrary, it'd be helpful to know. How can we
> > make it better?
>
> Count how many times you go to the tab "cloud" to use it? I went once, to
> see what was it about, saw the ugly mess and never came back.
I go there often times that I find it useful. What 'ugly mess' are you
referring to?
> It is like
> archives on weblogs; almost everyone has one, but nobody really uses it
> directly.
Actually, it is not quite like the archives on Weblogs. It is more like
trending tags and they decay over time.
> Making it better for me is eliminating it alltogether, and hence
> my original request. Have you seeing how tags/searches are used in Twitter
> (it allows to save searches too)? That is an *awesome* feature to mimic.
> There are no hashtags/tags clouds on Twitter because, really, there is no
> need for such things. IMHO.
It is okay, we can be different.
You are still able to create a Plugin. We don't have to remove this
altogether from laconica. We can look for ways to improve the UI, but,
the data itself is useful.
-Sarven
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev