Tagcloud Plugin v1.7

Release Notes

 

***This works with Elgg 1.7.1 and above.***

Change log:

  • Added support for colors
  • Updated to use the search plugin in Elgg 1.7
  • Fixed a bug with the link titles and apostrophes
  • Added additional sorting options
  • Added a scaling factor if you want larger tag fonts

Note, if you used a previous version, the tag cloud function name has changed. Use tagcloud_create_cloud() now.

  • Cash, I got a Fatal error: Call to undefined function elgg_get_tags() in /public_html/mod/tagcloud/start.php on line 63

  • My fault - sorry about that. I forgot that this plugin supports 1.7.1 and not 1.7. I've updated the release notes. You can install the previous version for 1.7: http://community.elgg.org/pg/plugins/costelloc/read/384567?release=43026 or you can upgrade to 1.7.1 (which is in beta right now - but it is quite stable).

    If you don't want to do either of those, you can delete the tagcloud directory.

    My apologies again on that. It's never fun to see an error like that on your site.

  • hi Cash, does it work on 1.6?

    thanks!

     

  • @Vidou - version 1.5 of the tag cloud works on Elgg 1.6 and 1.5

  • hi cash

    i'd like to include it on several pages but i couldn't find the embed code ... can you help me ?

  • Hi Cash

    Your plugin shows the following

    --lernmedienph fhnw,imediasavkiwb,userinterfacelernstickgame,spielweb 2.0uiweb

    the "- - " part seems to me very strange .. i didn't have any tag "- -". Can you help me fixing that ?

    I have elgg 1.7.1.

  • @idiotter - this plugin uses a function from the Elgg core so any bug is with the core. I believe that core code is fairly solid, but you could open a bug report in Trac.

  • @cash thank you for your reply ... i don't like to post bugrequests, when i'm not sure if it's a bug ...  I'm no developer, so i can't decide ... what would you propose ?

  • @idiotter - from what I know of the code, I doubt it is a bug. You probably have a user that used that in a tag in such a way that it was stored separately. Elgg 1.7.1 has a bug that won't allow you to search on something starting with - so clicking on it probably gives you empty results.

  • When I click on this "- -" it shows me the following: 

    Category: --. tag_names:category_nl: --. tag_names:category_zh: --.tag_names:category_es: --

    vor 6 tagen

     

    is this a bug of the translation editor i use ?

  • I suppose it is possible that the translation editor is saving some metadata with -- and that's causing the problem. It would seem to be odd to do that.

  • It's not the translation editor ... :-( any hints what the problem could be ? 

     

    check http://elgg.idotter.ch/pg/profile/marc.widmer

  • Hi just wonder if you can help me, I have the tag cloud running on my elgg 1.7 localhost but am wondering if I can show it in my river dashboard? would be great if you can point me to any tutorials that does this. 

    Thanks

    Taner

  • Dears

     

    I tried to upgrade TagCloud 1.0 to Tagcloud 1.7 in my Elgg 1.8.3 and got some errors message that I fixed and post solution here:

    Motivo:
     
    1) Subrotine calling is old name: get_plugin_settings --> elgg_get_plugin_settings

     

    Changes:

     

    1.1) In  /var/www/<your_elgg-1.8.3>/mod/tagcloud/views/default/output/tagcloud.php

    Change line 81:

               if (get_plugin_setting('color','tagcloud') === 'yes') {
     to:

               if (elgg_get_plugin_setting('color','tagcloud') === 'yes') {

     

    1.2)  In /var/www/<your_elgg-1.8.3>/mod/tagcloud/views/default/settings/tagcloud/edit.php

    change

            $color = get_plugin_setting('color','tagcloud');
    to

            $color = elgg_get_plugin_setting('color','tagcloud');

     

    2) Var name is old: internalname --> name: 

    Changes:

     

    2.1) In /var/www/<your_elgg-1.8.3>/mod/tagcloud/views/default/settings/tagcloud/edit.php

    Change:

                'internalname' => 'params[color]'));
    to

                'name' => 'params[color]'));

     

    These another issues I couldn't to fix:

    Tagcloud

    Deprecated in 1.8: settings/tagcloud/edit was deprecated in favor of plugins/tagcloud/settings Called from [#8] /var/www/resa/engine/lib/views.php:503

    Colors:

    Deprecated in 1.8: input/pulldown was deprecated by input/dropdown Called from [#12] /var/www/resa/engine/lib/views.php:503
  • @andre : this is now inbuilt in Elgg 1.8. call elgg_view('page/elements/tagcloud_block', array($options))

  • I'm running elgg 1.8.13, and I'm noticing that tags aren't being pulled into my all site tags cloud

    Looks to me like I'm maxed out at 100 - but for an all tags search I would like to see ALL tags. Does anyone know where this limitation is set so I can modify it?

     

  • Tag limit problem solved. Looks like its not a tag cloud issue, but rather set in the elgg engine itself. I dug around a bit and found it in e/gg/engine/lib/tags.php

Stats

  • Category: Widgets
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 4630
  • Recommendations: 3

Other Projects

View Cash's plugins