?
avatar bertmert
bertmert
21 Sep 2015

Page Pagination display in blog layout of subcategories is dependent on a setting in tabulator "List Layouts" (and a bit confusing at all if you don't know it).

Test:

  • Create a main category (level 1) + one subcatecory (level 2)
    To go shure check in subcategory: Tab Options > Alternative Layout > Use Global (or Blog if you have other setting in global options).

  • Create/move/copy 11 or more articles in/to subcatecory. Subcategory must not have an own menu item!

  • Create menu item "List All Categories" pointing to main category.
  • Go to tab "Blog Layout" Set options:
  • Leading Articles: 1
  • Intro Articles: 1
  • Columns: 2
  • Links: 1
  • Go to tab "List Layouts" Set option:
  • Articles to List: ALL

  • Save. Open menu item in frontend. Click subcategory link. You'll see a blog layout (but not all articles. Just 3.).

  • Without page pagination!

  • Go back to menu item in backend.

  • Go to tab "List Layouts" Set option:
  • Articles to List: 5

  • Now there's a page pagination in frontend blog (with 3 articles but not 5).

EDIT-> Looks like there are some deeper dependicies that fail. Depends on the combination of "Articles to List" and values in Tab "Blog Layout" if you see pagination or not.

avatar bertmert bertmert - open - 21 Sep 2015
avatar bertmert bertmert - change - 21 Sep 2015
Title
Weird setting Articles to List in menu item List All Categories
Confusing setting Articles to List in menu item List All Categories
avatar bertmert
bertmert - comment - 21 Sep 2015

OK, I think this is a known "problem" since ever with blogs under List All Categories. We don't have a line

<field name="layout_type" type="hidden" default="blog" />

or similiar in default.xml of this view. So the blog is handled like a list at some places in code. An additional switch "Handle as Blog: Y|N" would be too much

There's an option "Choose a Layout" (category_layout) in global settings but I don't know how to get "layout_type" from XML file of this selected layout in cateory model.

Please feel free to close this issue if you think "Who cares?" ;-)

avatar zero-24 zero-24 - change - 23 Sep 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 23 Sep 2015
Category UI/UX
avatar pe7er
pe7er - comment - 8 May 2016

Thank you for reporting this issue.
However, I am not able to reproduce it on basis of your description: In Menus > mainmenu > create new menu > type: Category Blog,
I can set the "Blog Layout" but there's no tab for "List Layouts" (I can only find that in Content > Categories [Options]).

Your issue and your code suggestion seems valid, but because no one else has reported this behavior, or shown any interest in providing any code to correct it, I am closing this issue at this time. If code is provided (a pull request) it can always be re-examined.


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

avatar zero-24 zero-24 - change - 8 May 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-05-08 11:43:24
Closed_By zero-24
avatar zero-24
zero-24 - comment - 8 May 2016

Set to "closed" on behalf of @zero-24 by The JTracker Application at issues.joomla.org/joomla-cms/7924

avatar joomla-cms-bot joomla-cms-bot - close - 8 May 2016
avatar joomla-cms-bot joomla-cms-bot - close - 8 May 2016
avatar zero-24
zero-24 - comment - 8 May 2016

Closing to the reasons above by @pe7er


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

Add a Comment

Login with GitHub to post a comment