#hashtag limits in Block ''Popular Hashtags''

Just a simple question: What are the limits for hashtags shown in the Popular Hashtags Block?

((And NO, I do not mean the number of hashtags allowed by user set in settings. I mean the total number of hashtags that will be shown in the Popular Hashtags Block sitewide.))

image_transcoder.php?o=sys_images_editor&h=2261&dpx=2&t=1727513147

  • 651
  • More
Replies (7)
    • Push!

      • Push @LeonidS 😉

        • Hello @Peter !

          This block is built with the serviceKeywordsCloud method which may take the parameter $aParams['max_count']. Its default value is:

          define('BX_METATAGS_KEYWORDS_IN_CLOUD', 32);

          • Thx for this info. Are there some experiences about increasing this number? Do You know use cases where more are in use in the tagcloud?

            • For example, the code of the Popular hashtags of the Posts app will have look like:

              array (
               'module' => 'system',
               'method' => 'keywords_cloud',
               'params' => 
               array (
                0 => 'bx_posts',
                1 => 'bx_posts',
                2 => array('max_count' => 36)
               ),
               'class' => 'TemplServiceMetatags',
              )
              
              • Thy again and where can I adjust the font size defined per number of ?

                • The words in the block depend form the .bx-metatags-keywords-container and .bx-metatags-keyword classes. But it's better to transform them via the JQuery code.

                  Login or Join to comment.