Jump to content

[4.2.3] Breadcrumb JSON empty?


LaCollision

Recommended Posts

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 3 years later...
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>

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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