Jump to content

Recommended Posts

Posted (edited)

Hi,

It looks like that the breadcrumb JSON script is currently empty?

I can't see it on my community (4.2.3), neither on this website, under the list of javascript files:

<script type='text/javascript'>
		
			ips.setSetting( 'date_format', jQuery.parseJSON('"mm\/dd\/yy"') );
		
			ips.setSetting( 'date_first_day', jQuery.parseJSON('0') );
		
			ips.setSetting( 'remote_image_proxy', jQuery.parseJSON('1') );
		
			ips.setSetting( 'ipb_url_filter_option', jQuery.parseJSON('"none"') );
		
			ips.setSetting( 'url_filter_any_action', jQuery.parseJSON('"allow"') );
		
			ips.setSetting( 'bypass_profanity', jQuery.parseJSON('0') );
		
		
	</script>


### JSON breadcrumb structured data missing here?

		

		<script src="//use.typekit.net/aeh4hzr.js"></script>

Thanks :) 

Edited by LaCollision
Posted

IPS has been mucking about with the meta tags and json output recently. If you want them to warn you this is happening prior to a release being released you'll need to poke the various parties responsible.

		/* Wipe JsonLD for now until issues resolved */
		\IPS\Output::i()->jsonLd = array();

That includes breadcrumbs. Sorry.

Posted

Thank you for your answer!

I didn't notice the Json reset in the source code.

I hope the issues will be soon addressed, as the IPS Suite currently has no structured data! The schema.org metadata has been removed from the templates.

  • 3 years later...
Posted
On 9/11/2017 at 12:12 PM, Stuart Silvester said:

JsonLD data

Is there a guide for this?

I have a database for medical drugs and Pages uses article type schema. I would like to use the specific drug schema:

https://schema.org/Drug

I have tried:

{{\IPS\Output::i()->jsonLd['Drug']['activeIngredient'] = $record->_title;}}

But the result is incorrect:

<script type='application/ld+json'>
    {
        "activeIngredient": "Fenilpropionato de nandrolona"
    }	
    </script>

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...