Edit articles on featured categories delete featured category assignment

More
7 years 8 months ago #63689 by jrodgar
Steps to reproduce:

Create and publish article with "Cat A" as featured category and "Cat B" as main category
Close article
Reopen article: "Cat A" is no longer selected as featured category

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
7 years 8 months ago #63690 by ggppdk
Hello

the main category was appearing inside
- secondary cats selector
- featured cats selector

making difficult to deassigned main category (bad UX)

So this was broken during that fix:
in files:
component/com_flexicontent/views/item/view.html.php
administrator/component/com_flexicontent/views/item/view.html.php

Replace:
Code:
foreach($featured_sel_nomain as $cat_id) if ($cat_id!=$item->catid) $featured_sel_nomain[] = $cat_id;

with:
Code:
foreach($featured_sel as $cat_id) if ($cat_id!=$item->catid) $featured_sel_nomain[] = $cat_id;

i will add fix to next release
thanks for report


-- 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...

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

More
7 years 6 months ago #64301 by fredo
Hi,

I have the same problem with FLEXIcontent 3.1.0-rc2, which version should fix the problem?

Regards.

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

More
7 years 6 months ago #64302 by fredo
I complete my message. I applied the fix.
The fix to correct the problem in the selectors. But in the list of items on some items, the featured category appears first before the main category. For these items, in the home page, url contains the featured category instead of the main category.
On a site with three items featured, both have the featured category in their urls and one have the main category in the url.
I did not understand why it works for an article and not for another.

Regards.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.283 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline