Frontend metadata

Hi


This probably has a very simple answer but I am new to squiz and I am struggling to find a solution … I have added a new metadata field to a metadata schema, which has been applied to specific pages.

However the new field added is not showing in the Frontend metadata. I think I need to change the html of the Design applied to that specific page, however this page is assigned to a Design customisation of the Main Design (applied to the whole site)



Can someone explain how do I edit the Design customisation only? I don't seem to find the option of editing the parse file and in the main design I don't see any reference to the customisations.



Thank you in advance for your help.

Hello sir,


If I'm understanding the question properly; go to the design and click "Edit Parse File", and there you go :slight_smile:



Let me know if I've not understood properly.



Ta, P.



edit: By "design", I mean the one you're using that's in the top-level "Designs Folder".

[quote]
Can someone explain how do I edit the Design customisation only? I don't seem to find the option of editing the parse file and in the main design I don't see any reference to the customisations.

[/quote]



First, if you are trying to see your metadata on the frontend, did you make sure to add the metadata tag to your parse file?


    


Also, you can't really edit and add code to a customization in the same way you can to the main parse file.

What you do is start everything in your main parse file. If you don't want something shown, just set it to not to print. Then, if you create a customization, you can customize that tag, such as a nest content, and tell it to print for that customization. Then, if you apply that customization as the new or override design, it will use now use the tag that you customized since you told it to print for that customization.

Let me know if this wasn't exactly what you were asking...

The designs manual is very helpful as well: http://manuals.matrix.squizsuite.net/designs

[quote]
First, if you are trying to see your metadata on the frontend, did you make sure to add the metadata tag to your parse file?

    <MySource_AREA id_name=“metadata” design_area=“metadata” />
Also, you can’t really edit and add code to a customization in the same way you can to the main parse file.What you do is start everything in your main parse file. If you don’t want something shown, just set it to not to print. Then, if you create a customization, you can customize that tag, such as a nest content, and tell it to print for that customization. Then, if you apply that customization as the new or override design, it will use now use the tag that you customized since you told it to print for that customization.Let me know if this wasn’t exactly what you were asking…The designs manual is very helpful as well: http://manuals.matrix.squizsuite.net/designs

[/quote]





Hi, thanks for your prompt reply.



Basically I have a listing page which some metadata field - Address, Telephone, etc and I have added a new metadata field in the Metadata Schema applied to that page, called Facilities available. From the Metadata schema Details I’ve set up this field as Visible only when filled. However it is not coming up in the asset listing page (but it is visible in the details page linked to each asset.)



The strange thing is that since some metadata are already showing on my page, so I assume they’ve already been set up in the parse file - but still I can’t see where. I’m looking at the Parse file and there is no design area set up for metadata. How’s that possible?

Thanks for you help everyone.

[quote]
Hi, thanks for your prompt reply.



Basically I have a listing page which some metadata field - Address, Telephone, etc and I have added a new metadata field in the Metadata Schema applied to that page, called Facilities available. From the Metadata schema Details I've set up this field as Visible only when filled. However it is not coming up in the asset listing page (but it is visible in the details page linked to each asset.)



The strange thing is that since some metadata are already showing on my page, so I assume they've already been set up in the parse file - but still I can't see where. I'm looking at the Parse file and there is no design area set up for metadata. How's that possible?

Thanks for you help everyone.

[/quote]



I think that we are getting confused here.



Are you trying to list metadata fields with an asset listing, or insert metadata into your HTML head using a design tag?

[quote]
I think that we are getting confused here.Are you trying to list metadata fields with an asset listing, or insert metadata into your HTML head using a design tag?

[/quote]



Hi Nic,



it is an asset listing page, you can see it here - http://www.hornsby.nsw.gov.au/recreation-and-facilities/parks-and-playgrounds

sorry, I've only been working on squiz for a few days and I'm trying to learn my way around it.

Hi, you will need to manually add the new metadata field into the asset listing, the settings in the metadata schema are for the fields inclusion in the metadata output in the html source.

[quote]
Hi Nic,



it is an asset listing page, you can see it here - http://www.hornsby.nsw.gov.au/recreation-and-facilities/parks-and-playgrounds

sorry, I've only been working on squiz for a few days and I'm trying to learn my way around it.

[/quote]



Ok, so just print the metadata field using the following:


    %asset_metadata_%  // don't include brackets

[quote]
Ok, so just print the metadata field using the following:


    %asset_metadata_%  // don't include brackets

[/quote]



oh, ok will give it a go. Thank you so much