Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is it possible to use XSLT to find pages that contain a macro of a certain type in a WYSIWYG property names bodyText? If so can anyone provide an example? Thanks in advance
you should be able to write something like this:
<xsl:for-each select="umbraco.library:GetXmlAll()//* [@isDoc and contains(bodyText, 'name of macro')]" > <!-- Perform actions here --> <xsl:value-of select="@id" /><br /> </xsl:for-each>
That is for the new schema let me know if you need it in the old format
-Sean
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Find pages with particular macro in WYSIWYG editor
Is it possible to use XSLT to find pages that contain a macro of a certain type in a WYSIWYG property names bodyText? If so can anyone provide an example? Thanks in advance
you should be able to write something like this:
That is for the new schema let me know if you need it in the old format
-Sean
is working on a reply...