MenuItem FC-Categories Saving Bug

More
12 years 1 month ago - 12 years 1 month ago #36838 by mcmurdok
Hello
I set up a menu item for fc-categories and selected two categories.
After the first saving everything is fine. If I later edit some preferences I see the selected two or more categories but after saving again it loses all categories but the first.

Regards
Last edit: 12 years 1 month ago by mcmurdok.

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

More
12 years 1 month ago #36842 by ggppdk
Hello,

Category selection is lost?
version v2.0.2? J1.5 or J2.5?


-- 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
12 years 1 month ago #36847 by mcmurdok
Hello,
I'm using J2.5.11 and FC 2.0.2 r1680.

To reproduce the bug:
1. create 2 or more categories
2. create a new menu-item and assign menu-typ fc-categories
3. choose two or more categories and save
4. reopen the menu-item and you'll see your selected categories
5. click on 'Save'
6. Now all categories are lost, only the first category stays selected.

Regards

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

More
12 years 1 month ago #36860 by ggppdk
Hello,
thanks for report

to apply a fix now, edit file
component/com_flexicontent/views/category/tmpl/mcats.xml

near top find line:
<field name="cids" type="flexicategories" joinwith="," ...

and remove joinwith=","
thus it will become:
<field name="cids" type="flexicategories" ...


-- 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
12 years 1 month ago - 12 years 1 month ago #36861 by mcmurdok
Thank you,
that worked. (But... see next posting)

Regards
Last edit: 12 years 1 month ago by mcmurdok.

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

More
12 years 1 month ago #36867 by mcmurdok
OK, the saving process is now working but
it still doesn't really work:

If I remove joinwith="," the URL changes from something like this:

/index.php?option=com_flexicontent&view=category&layout=mcats&cids=12,25&Itemid=117 to
/index.php?option=com_flexicontent&view=category&layout=mcats&cids[0]=12&cids[1]=25&Itemid=117.

But now I don't get any result:
"No items available for this category
Please click here to return previous page"

By changing the URL to the old form it works

Regards

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.710 seconds
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
Save