Pending

User tests: Successful: Unsuccessful:

avatar javigomez
javigomez
8 Mar 2013

This pull changes the way we see tags. Instead of just links, now they will look like Bootstr
ap Badges. See attached image:
label

avatar javigomez javigomez - open - 8 Mar 2013
avatar javigomez
javigomez - comment - 8 Mar 2013

According to Elin suggestion I have added a field in "tag configuration" that allows you to define the classes for the tag link:
field

Comments?

avatar javigomez
javigomez - comment - 8 Mar 2013

I forgot to mention, right now the feature adds "label label-info" by default in case you don't fill with any other class in the configuration.

avatar javigomez
javigomez - comment - 8 Mar 2013

TESTING INSTRUCTIONS:
1.- Install a Joomla 3.1 and add this patch
https://github.com/joomla/joomla-cms/pull/777.diff
2.- Go to an article and add some tags
3.- Go to the frontend view of the article. You should see the tags inside a
"blue pill" format.
4.- Go to TAGs Component, enter in the a tag linked in the article and go to
"options"->CSS Class for tag link. Add any text to this textfield,
for instance add "label label-warning". Click SAVE
5.- Go to the frontend and check the article, the tag thad you changed should
look different.

Thanks for testing ^_^

avatar nonumber
nonumber - comment - 9 Mar 2013

I would recommend you add the default="label label-info" to the xml field too.
So people know what they are replacing when they enter something.

avatar mbabker
mbabker - comment - 10 Mar 2013

Added @nonumber suggestion and committed at f322969

avatar mbabker mbabker - close - 10 Mar 2013

Add a Comment

Login with GitHub to post a comment