Hi Guys,
I have been trying to add a metadata schema to an asset and it seems to work ok. The data is displayed correctly when the metadata tag is clicked, However, once the site is published, if i view the source code through the browser the meta tags do not appear. Also, i have checked some of our earlier sites and their metadata seems to have also disappeared. Any ideas why this is happening?
Thanks in advance
Chris
Current Frontend Metadata
<!-- test //–>
<!-- test //–>
<meta name="chris" content="" />
<meta name="test.title" content="Training & Staff Development" />
test
test
chris (default)
%asset_name%
test.title %asset_name% (default)
Check your metadata schemas, sections and fields to make sure they are marked as Show On Frontend.
Does your design have a metadata design area?
Hi Avi,
This is the code from the head tag from our design layout. I think this is where it should be but it does look to be missing. Could you please provide me with an example of what the matrix meta data tags and details should look like in the inside the deisgn area?
[codebox]<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><mysource_print id_name="global" var="asset_name" /> - <mysource_print id_name="global" var="site_name" /> - La Trobe University</title>
<link rel="stylesheet" type="text/css" href="mysource_files/style.css" media="all" />
<link rel="stylesheet" type="text/css" media="screen" href="mysource_files/uni_nav.css" />
</head>[/codebox]
Hi Greg,
Yes, we have set the meta data to show at front end. I think Avi has hit the nail on the head with the missing data in the design layout.
Cheers Chris
Just add:
To the <head> section.
All sorted !!! Cheers Mate!!