Error message for Leading item in Blog template + Bug in Select Multiple Field

More
6 years 5 months ago - 6 years 5 months ago #70473 by guillaume.mda
Hello,

I would like to report 2 problems:

- first, on a Category list page, I'm using the Blog template to list items from a Category. But for the first item (Leading item), there is an error message appear (it doesn't appear for the following Intro items, just for the Leading item).
The message seems about the image linked with the item:
Code:
Notice: undefined index: image-intro in on line 540 [...]/components/com_flexicontent/templates/blog/category_items.php
Note: image-intro is the name of the image Field that I've created to add image with item.
I don't understand why the error message appear only for the Leading items and not for the Intro items...?
BTW, is there any way to deactivate the Leading items from the Blog template? And to let only the Intro items to be listed...?

- second, (just for reporting the problem, I need not to find any solution for it, as I found mine) in the Backend, there is a bug when we create a "Select Multiple" Field : when we create at first the Field elements for value and label (in Edit or Raw edit) and click on "Add", all the values disappear. But once the "Add" clicked and if we add again the values and label, if we click "Apply", then they are saved for sure.
So, how I do when I create a new Select Multiple Field: I enter all the values and labels, copy them (in the Raw edit window), click on "Add", and go back to the Raw edit window and paste them once again, and finally click "Apply". Only like this I success to save this kind of Field...
I don't know if it's a general bug, or it's only for my FC installation...

Cheers
Last edit: 6 years 5 months ago by guillaume.mda.

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

More
6 years 5 months ago #70475 by ggppdk
For the first issue

-- i guess you have not assigned this field to all types ? there must be a FLEXIcontent item type AAA that does not have this field
and probably the category view is trying to show an item of type AAA

i will check if it is the above case and prevent the warning from being printed


For disabling "leading"
-- just enter zero in the parameter "Number of leading items"

About editing field configuration of-selectmultiple and click "Add"
- which browser ?
- does it happen only when the field is "New" aka never saved before ?


-- 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
6 years 5 months ago - 6 years 5 months ago #70480 by guillaume.mda
First issue: yes, you were right, there was an item that had a different Type, and the Field "image-intro" was assigned to a different Style. Problem resolve! Thanks a lot!

And thanks for the tip about to add 0 in the parameter "Number of leading items".

Second issue: I tried with Mozilla Firefox (v. 52.4.0) and Chrome (v. 61.0.3163.100). Same issue on the two browsers...
And yes, it does happen only when the fields is "New" and when we have only the choice to click on the "Add" button (at this step, there is not the "Apply" button yet). Once I click on the "Add" button, every further save are ok. It's only for the first save...
Last edit: 6 years 5 months ago by guillaume.mda.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.537 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