Create a new "Category Blog" menu item >> Blog Layout
I would like to have a "Choose a layout" dropdown for the blog layout (as opposed to the article layout in the options tab), so the new menu item can use the standard 'Category Blog Layout' menu options.
No dropdown, a whole new menu item type with an .xml file needs to be duplicated and amended.
Joomla 3.8.1
The less code that needs duplicating from Joomla Core the better for keeping a Joomla site updated.
Thank you
Category | Feature Request | ⇒ | com_content Feature Request Front End Layout |
Status | New | ⇒ | Discussion |
Yes, it's the still pending PR afaik
#16755
@saraheagle please test this :)
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-10-29 18:04:00 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_Date | 2017-10-29 18:04:00 | ⇒ | 2017-10-29 18:04:01 |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Thanks for Info, @coolcat-creations, closing Issue as having PR #16755
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/18424
I think there is a missunderstanding between saraheagle and coolcat-creations.
PR 16755 and 14802 set the single-articles-details-page-layout from menu item.
This is the view that you see in the frontend after klick on a
article in a catergory -blog (for example):
view of single-articles-details-page-layout from menu item (for example):
PR 16755 make this for the article-category-list-menu-item
PR 14802 make this for the article-category-blog-menu-item
but saraheagle want to "Choose a layout" dropdown for the blog layout !
Status | Discussion | ⇒ | New |
Closed_Date | 0000-00-00 00:00:00 | ⇒ |
Status | Closed | ⇒ | Discussion |
Closed_Date | 2017-10-29 18:04:01 | ⇒ | |
Closed_By | joomla-cms-bot | ⇒ |
Set to "open" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/18424
reopened as stated above.
Status | New | ⇒ | Discussion |
@saraheagle I see the reasoning for your idea, I also brought this up some time ago, but here is what @Bakual had to say on the matter (with a comment on #18150)
The menu items are based on the layouts. It doesn't make sense to select a menuitem for a specific layout and then change that layout in its parameters.
Eg "category blog" and "category list" refer to the same view, but different layouts within that view.
I guess what he says is correct. By implementing this feature, you would be able to create a "Category Blog" menu and change the layout to "Category List"... it wouldn't make too much sense.
a whole new menu item type with an .xml file needs to be duplicated and amended.
That's actually the correct way because as said by Andy (and me) the menuitem itself already refers to a layout.
I agree that it isn't that sexy to duplicate the whole XML file. My approach however would be different. See #10548.
My idea in that PR is to specify the bulk of the parameters at the view level, and in the layout XML files you only have the additional parameters relevant for that specific layout. That would probably solve your issue as well if I understood it correct.
Unless someone is going to redesign the menu item management workflow, this should be closed as expected behavior. Menu items are based on a specified layout of a specified view in a specified component, the menu item itself isn't designed to have a configurable layout option.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-07-24 16:45:28 |
Closed_By | ⇒ | joomla-cms-bot |
Status | Closed | ⇒ | Expected Behaviour |
Closed_By | joomla-cms-bot | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/18424
Closed as stated above.
@coolcat-creations looks like a Topic for you.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18424.