Microdatas issues

More
7 years 1 month ago - 7 years 1 month ago #66503 by 012abc
Microdatas issues was created by 012abc
A feedback after testing the microdatas.

- No microdata available for textareas

- All microdatas should be optional in core fields for flexibility purposes. Hard coded microdatas in fields can create conflict between microdatas set in an item Type or a FieldGroup, and the core fields set in the template. When set in a template, "creaDate" and "modifDate" core fields break the validation of a "Product" microdata type for instance

- Like the selection of a microdata in a select list at the item Type or FieldGroup level, another selection list should be available to optionally set a microdata Type as the property of another microdata Type (Product(Offer(...)))

- There is a conflict between the "id" CSS selector and the microdata model wich creates a strange data in microdatas : ...id="flexicontent"... gives "@id www.arbracam.org/boutique-terrot/item/flexicontent " as microdata.
(Conflicts are impossible with a JSON-LD.)

Due to the previous issues, I try to create a JSON-LD format in the template.

- Unfortunaltely, one can't esealy display the "aggregateVoting" datas in the template : the "voting" core field is useless and it seems there are no simple way to display "ratingValue", "bestRating" and "ratingCount" in the template, because "ratingValue", "bestRating" and "ratingCount" fields aren't available for display.

So I go back to the microdatas, where "aggregateVoting" datas are ok, and hack the FieldGroup PHP file. I hard coded what I needed (microdata "Offers" as a property of "Product"), but the other issues still remain.

Hope this will help fixing all the issues and improve the next version. :)


You can get code sample and screenshot here :

www.flexicontent.org/forum/30-feature-re...nombre-de-votes.html

www.flexicontent.org/forum/30-feature-re...de-deux-niveaux.html
Last edit: 7 years 1 month ago by 012abc.

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

More
7 years 1 month ago #66545 by ggppdk
Replied by ggppdk on topic Microdatas issues
Hello

in order to keep track of this issue and your suggestion

please join us on github, just "star" ... no need to "watch"
github.com/FLEXIcontent/flexicontent-cck

and then create an issue with the description that you posted in this forum topic


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

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