• We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
A

How to add custom schema?

  • Thread starter Thread starter Abu Abdullah
  • Start date Start date
A

Abu Abdullah

Guest

Hello, I want to add a custom schema of books for XFRM items.
What I have done so far is update the xfrm_resource_view

Code:
Code:
<xf:macro template="metadata_macros" name="metadata" arg-type="books.book" arg-description="{$descSnippet}" arg-shareUrl="{{ link('canonical:resources', $resource) }}" arg-canonicalUrl="{{ link('canonical:resources', $resource) }}" arg-imageUrl="{{ $resource.getCoverImage() ?: ($resource.getIconUrl('l', true) ?: $xf.options.defaultMetaImage)...

Read more

Continue reading...
 
Similar threads Most view View more
Back
Top