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
Has anyone tried using the RenderMacroContent extension with Contour?
This is my code, which I would of expected to have worked;
<xsl:variable name="Macro"><umbraco:Macro FormGuid="b56a1ad1-284f-4feb-b8b3-a0beb5b74b6c" Alias="umbracoContour.RenderForm" runat="server"></umbraco:Macro></xsl:variable> <xsl:value-of select="umbraco.library:RenderMacroContent($Macro, $currentPage/@id)" disable-output-escaping="yes"/>
Also, is it possible to change the default 'submit' value from 'submit' to a custom value?
/Lau
Comment author was deleted
Hi Laurence,
It's not supported to run a usercontrol macro (wich the Contour macro is) from inside xslt.
Changing the value is possible by setting up a dictionary item called submit
Thanks Tim, I guessed this was probally the case.
Yep and the same on the 'Submit' front, we need different text on different forms. Going to have a look around the source that was posted online a few days ago, failing that I can just update the fields values using some jQuery targeting.
Thanks for the super fast reply though! :) Lau
Yup currently it's set globally, updating with some JQuery is a possible workaround
Cheers,Tim
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
RenderMacroContent & Contour
Has anyone tried using the RenderMacroContent extension with Contour?
This is my code, which I would of expected to have worked;
Also, is it possible to change the default 'submit' value from 'submit' to a custom value?
/Lau
Comment author was deleted
Hi Laurence,
It's not supported to run a usercontrol macro (wich the Contour macro is) from inside xslt.
Changing the value is possible by setting up a dictionary item called submit
Thanks Tim, I guessed this was probally the case.
Yep and the same on the 'Submit' front, we need different text on different forms. Going to have a look around the source that was posted online a few days ago, failing that I can just update the fields values using some jQuery targeting.
Thanks for the super fast reply though! :) Lau
Comment author was deleted
Yup currently it's set globally, updating with some JQuery is a possible workaround
Cheers,
Tim
is working on a reply...