? Success

User tests: Successful: Unsuccessful:

avatar roland-d
roland-d
16 Jul 2016

Summary of Changes

When rendering tags with the module mod_tags_popular it is not possible to access the settings of the tag itself such as the class of that specific tag. This pull request adds the stored parameters as an option that can be used.

Use-case: styling of tags using the class set for this particular tag.

Testing Instructions

  1. Go to Components -> Tags
  2. Edit a tag and set a value in the CSS Class for tag link field
  3. Save the tag
  4. Open the file modules\mod_tags_popular\tmpl\default.php
  5. Check the content of $item, the class value is not available anywhere
  6. Apply pull request
  7. Check the content of $item, the param value is now available

The parameters can now be used as:

$tagParams = new \Joomla\Registry\Registry($item->params);
$link_class = $tagParams->get('tag_link_class');

@designbengel This one is for you :)

avatar roland-d roland-d - open - 16 Jul 2016
avatar roland-d roland-d - change - 16 Jul 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Jul 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 17 Jul 2016
Category Modules Tags
avatar bertmert bertmert - test_item - 18 Jul 2016 - Tested successfully
avatar bertmert
bertmert - comment - 18 Jul 2016

I have tested this item successfully on f71af02


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11153.

avatar nikitadhiman nikitadhiman - test_item - 18 Jul 2016 - Tested successfully
avatar nikitadhiman
nikitadhiman - comment - 18 Jul 2016

I have tested this item successfully on f71af02


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11153.

avatar brianteeman brianteeman - change - 20 Jul 2016
Status Pending Ready to Commit
avatar brianteeman
brianteeman - comment - 20 Jul 2016

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11153.

avatar joomla-cms-bot joomla-cms-bot - change - 20 Jul 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 14 Aug 2016
Category Modules Tags Front End Modules
avatar rdeutz rdeutz - change - 14 Aug 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-08-14 15:51:25
Closed_By rdeutz
avatar rdeutz rdeutz - close - 14 Aug 2016
avatar rdeutz rdeutz - merge - 14 Aug 2016
avatar joomla-cms-bot joomla-cms-bot - close - 14 Aug 2016
avatar joomla-cms-bot joomla-cms-bot - change - 14 Aug 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment