XenForo How to add custom schema?

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...