? ? Pending

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
18 Jan 2017

Pull Request for Issue #13641.

Summary of Changes

I don't know what to say after looking at that code... That stuff certainly didn't work at all before.
In short, item and menu params are now properly merged.

Testing Instructions

Test that tag parameters are merged properly, meaning that options set in the tag override those in the menu item. Except when the menu item is an exact match to the tag (eg it's a single tag menuitem for that specific tag shown), then the menu item takes precedence over the tag params

Documentation Changes Required

None.

avatar Bakual Bakual - open - 18 Jan 2017
avatar Bakual Bakual - change - 18 Jan 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Jan 2017
Category com_tags Front End
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Jan 2017

will test today.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Jan 2017

Test-Scenario:

  1. 2 Tags without single tag menuitem
  2. menuitem list-of-all-tags, no other tag-menuitemtype published
  3. 2 tags are shown
  4. click on one tag got Call to a member function get() on string. Same if click on tag in an article.
  5. if menuitem list-of-all-tags is unpublished, got correct view "index.php/component/tags/tag/*"
avatar Bakual Bakual - change - 19 Jan 2017
Labels Added: ?
avatar Bakual
Bakual - comment - 19 Jan 2017

The error was a typo on my part. Can you try again?
I also fixed another bug I saw that the single tag view loaded the layout parameter from the tags list view... sigh

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Jan 2017

menuitem list-of-all-tags works. Furthermore testing.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Jan 2017
  • In "Tags > Options" a "Tag Image" is set on "Show" and is displayed.
  • In an Tag on Tab "Images" set Float of "Full Image" to "Right". This don't work, Image stay left.
avatar Bakual
Bakual - comment - 19 Jan 2017

The parameter for the image float seems to be not used at all in com_tags. That would be a different PR to add this, but not one I'm going to write ?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Jan 2017

made #13646

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Jan 2017

I have tested this item successfully on 28dc518


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 19 Jan 2017 - Tested successfully
avatar justinherrin
justinherrin - comment - 19 Jan 2017

Thanks for getting to this one so quickly! I will test it out now.

avatar justinherrin
justinherrin - comment - 19 Jan 2017

I have tested this item successfully on 28dc518

Patch applied to the view.html.php file all is working good from the issue I reported. Tags View Layout (one without a menu item) is now grabbing the correct layout selected in the single Tag parameters and not choosing the one set in Global Tags Component Options.


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

avatar justinherrin justinherrin - test_item - 19 Jan 2017 - Tested successfully
avatar jeckodevelopment jeckodevelopment - change - 21 Jan 2017
Status Pending Ready to Commit
avatar jeckodevelopment
jeckodevelopment - comment - 21 Jan 2017

RTC


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Jan 2017

@justinherrin does

Tags View Layout (one without a menu item) is now grabbing the correct layout selected in the single Tag parameters and not choosing the one set in Global Tags Component Options.

mean i can close #13646?

avatar wilsonge wilsonge - change - 21 Jan 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-01-21 19:09:23
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 21 Jan 2017
avatar wilsonge wilsonge - merge - 21 Jan 2017

Add a Comment

Login with GitHub to post a comment