Structured data

More
8 years 11 months ago #63127 by micker
Replied by micker on topic Structured data
microdata for field are in field
but you need to add itemtype

that code i send you is for item view ...
you need to check categorie view

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
8 years 11 months ago #63128 by Chabi01
Replied by Chabi01 on topic Structured data
The code you have highlighted is in my item template. It should add the itemtype no ?
I have added the lines in the template as i wrote you before
Code:
<?php // SEO $microdata_itemtype = $this->params->get( 'microdata_itemtype'); $microdata_itemtype_code = $microdata_itemtype ? 'itemscope itemtype="http://schema.org/'.$microdata_itemtype.'"' : ''; ?> <?php echo '<'.$mainAreaTag; ?> id="flexicontent" class="<?php echo $page_classes; ?>" <?php echo $microdata_itemtype_code; ?> >
But as i said, the itemtype is not raised...

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

More
8 years 11 months ago #63129 by micker
Replied by micker on topic Structured data
you need to add this in item view
first line is to initilize value
second is a div to load it
you need value in type

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
8 years 11 months ago - 8 years 11 months ago #63130 by Chabi01
Replied by Chabi01 on topic Structured data
you need to add this in item view -> Already done
first line is to initilize value
second is a div to load it
-> the 3 lines are in the code, so it should work
-> The type seem to be in the third line, no ?

An alternative maybe : as my template is for a specific content (learning course), i could avoid to put all the code trying to retrieving the value in the database and put the code directly.
So, the results could be something like :
Code:
<div itemscope itemtype="http://schema.org/Product">

This way, i'm sure to get the correct code one for all.
Last edit: 8 years 11 months ago by Chabi01.

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

More
8 years 11 months ago #63131 by Chabi01
Replied by Chabi01 on topic Structured data
Yep, it works better for a specific item type with a dedicated template.

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

More
8 years 11 months ago #63132 by Chabi01
Replied by Chabi01 on topic Structured data
A little question : all the fields type doesn't accept a microdata classification ? I do not see this in "textarea" and "images" ?

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

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