Elxis CMS Forum

Support => Administration => Topic started by: Amigamerlin on February 28, 2011, 13:38:58

Title: Info about Content Section (table view) parameters
Post by: Amigamerlin on February 28, 2011, 13:38:58
Hello guys I'm facing a little problem that seems a bug to me (not sure about) then I'll write here to understand if is my fault or if is a bug.

in a menu Item build as Content Section (table view) I've focussed my attention to 2 paramters:

Category List - Section: Hide / Show

Category List - Category: Hide / Show


For what I can understand , Category List - Section: Hide / Show  should let me show / hide the category listing inside the section
The Category List - Category: Hide / Show  should let me Hide the next category once I'm listing a category.

Let me explain better.

I've a menu with  build from a  Content Section (table view) that contain 2 Categories just like :


Menu MY Section ( Content Section - table view- )
      |-----> First Category
      |-----> Second Category
   
     
When I'm inside  The First categories I have all the listing and at the end of this category I've listed the next category just like  :

   |-----> First Category
                    |-----> First Category Item #1
                    |-----> First Category Item #2
                    |-----> First Category Item #3
                    |-----> First Category Item #4
                    |-----> First Category Item #5

   |-----> Second Category

For what I can understand the "Category List - Category: Hide / Show" should hide the second catergory when I'm in this condition to have something like :

   |-----> First Category
                    |-----> First Category Item #1
                    |-----> First Category Item #2
                    |-----> First Category Item #3
                    |-----> First Category Item #4
                    |-----> First Category Item #5

   |-----> Second  Category (NOT SHOWN)

For me both parameters operate in the same way Hiding / Showing the list of the category when I'm in the  - Menu MY Section ( Content Section - table view- ) in whichever combination I use them,  always obtaining the below result :
     
Menu MY Section ( Content Section - table view- )
   |-----> First Category  (NOT SHOWN)
   |-----> Second  Category (NOT SHOWN)

Is my fault or is a possible bug?

Thank you for your answers.
Title: Re: Info about Content Section (table view) parameters
Post by: CREATIVE Options on February 28, 2011, 14:08:33
First of all delete any unpublished menu AND clean the trash !!
Title: Re: Info about Content Section (table view) parameters
Post by: Amigamerlin on February 28, 2011, 15:18:19
First of all delete any unpublished menu AND clean the trash !!

I deleted all in the trash (menu and content) , cleared cache and temporary directory. The problem still there.
For me is a possible bug because Category List - Category options act on both Section / Category. I tested the parameter when I have the page that listing the category opened and the parameter Category List - Category is set to hide the next category will be hided refreshing the page, but act at the section level too since it hide all the section listing in the menu .

It's like the Category List - Category override the Category List - Section: parameters.

I hope datahell can verify if it's a bug or not.

Thank you to you all.
Title: Re: Info about Content Section (table view) parameters
Post by: speck on February 28, 2011, 16:23:16
Category List - Section: Hide / Show
Show / hide  a list of categories in the section page table view

Category List - Category: Hide / Show
Show / hide  a list of categoriee of that section in the category page table view

use the parameter Empty Categories: Show / Hide if u want show empty categories.
Title: Re: Info about Content Section (table view) parameters
Post by: Amigamerlin on February 28, 2011, 17:04:22
Category List - Section: Hide / Show
Show / hide  a list of categories in the section page table view

Category List - Category: Hide / Show
Show / hide  a list of categoriee of that section in the category page table view

use the parameter Empty Categories: Show / Hide if u want show empty categories.

yes speck is how i figured the two option does working but they doesn't because the category list hiding  "de facto " the section listing inside my menu item

Title: Re: Info about Content Section (table view) parameters
Post by: datahell on February 28, 2011, 18:58:38
Category List - Section
@param = other_cat_section
Description = Show/Hide the List of Categories in List view page.

Category List - Category
@param = other_cat
Description = Show/Hide the List of Categories in Table view page.

Both parameters act on the section page (table view)

If parameter @type = category and @other_cat = show   -> display categories
If parameter @type = section and @other_cat_section = show   -> display categories

For this page the @type parameter is always "section", so the other_cat parameter does not affect this page.

So to display the categories the following requirements must be fulfilled:

1. The section has more than 1 categories OR the section has less than 2 categories and 0 articles.
2. Parameter @other_cat_section have set to "show"

Related parameter: @empty_cat, whether or not to display empty categories.
Title: Re: Info about Content Section (table view) parameters
Post by: Amigamerlin on February 28, 2011, 19:10:23
Category List - Section
@param = other_cat_section
Description = Show/Hide the List of Categories in List view page.

Category List - Category
@param = other_cat
Description = Show/Hide the List of Categories in Table view page.

Both parameters act on the section page (table view)

If parameter @type = category and @other_cat = show   -> display categories
If parameter @type = section and @other_cat_section = show   -> display categories

For this page the @type parameter is always "section", so the other_cat parameter does not affect this page.

So to display the categories the following requirements must be fulfilled:

1. The section has more than 1 categories OR the section has less than 2 categories and 0 articles.
2. Parameter @other_cat_section have set to "show"

Related parameter: @empty_cat, whether or not to display empty categories.

Thank you datahell but I still not understand why the categories parameter that should effect on the category page hiding the next categories has effect section page where 2 categories are contained and both of them contain Item.

What I want to achieve is to have the section showing both categories and once selected the categories it must hide the other categories not hiding the categories inside the section menu.

What I mean is that seems

Quote
For this page the @type parameter is always "section", so the other_cat parameter does not affect this page.
this rules is not repected.

In fact is seems that @other_cat parameter override the @other_cat_section parameter effecting on the Section related page.

I hope I was clear  :-[

Can you help me about?