fc universal mod - content item loads in layout associated with menu item of secondary category

More
8 months 3 weeks ago - 8 months 3 weeks ago #70347 by manchine
When I assign a content item to more than one category, the content item is loaded in the layout of the secondary category's related menu item, ousted of the menu item associated with the primary category.
This happens only when the content item is linked from the FC Universal Content module.

My aim is to make the content item display always under the menu item associated with the primary category, not the secondary.

Is this a known issue or a bug?

Thanks.
Last edit: 8 months 3 weeks ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #70348 by ggppdk
Hello

you mean that the URL of item is creating using the menu item of the secondary category ?


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #70349 by manchine

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #70350 by ggppdk
Hello

this is done deliberately
but if you are only displaying items from 1 primary category

then you can force its menu item via a parameter

but i see the usage scenario for this
the secondary category is just a grouping of them ? e.g. category "left column featured" ?


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #70351 by ggppdk
Hello

i looked at it
the code to use secondary category in the URL is enable
when category filtering scope is enabled

so no implementation needed, the code to disable this is already there
we can just add a parameter to control it

Link items via their main category
Yes
No (use selected)

Still the default should be "No" to keep existing behaviour


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #70352 by manchine

ggppdk wrote: Hello

this is done deliberately
but if you are only displaying items from 1 primary category

then you can force its menu item via a parameter


which one?

ggppdk wrote: but i see the usage scenario for this
the secondary category is just a grouping of them ? e.g. category "left column featured" ?


in this particular case. the secondary category is also taxonomic. That is to say. it is used to help classifying the content item.
It's not a mere placeholder.

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #70353 by manchine

ggppdk wrote: Hello

i looked at it
the code to use secondary category in the URL is enable
when category filtering scope is enabled

so no implementation needed, the code to disable this is already there
we can just add a parameter to control it

Link items via their main category
Yes
No (use selected)

Still the default should be "No" to keep existing behaviour


What do you suggest as an immediate fix?
I'm no fan of patching and hardcoding, so I'd rather wait for a configuration parameter to be added.

Thanks a lo for your help!

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago - 8 months 3 weeks ago #70354 by ggppdk


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Attachments:
Last edit: 8 months 3 weeks ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #70355 by manchine
Superb.
Will test and revert.

Thanks a million once again!

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #70356 by ggppdk
Hello

This was added because
- it was trivial
- it is a not uncommon usage scenario !

we are creating a category just to group them in order to show them

e.g. category "left column featured"

in such a case we do not want the items to be linked via "left column featured" category
(which its usage can be privileged via ACL ...)


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.