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 Bottom