Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Srikeasvan 6 posts 96 karma points
    May 02, 2019 @ 09:18
    Srikeasvan
    0

    How to get admin properties in Master page

    How to get admin properties in Master?

    I tried to below option

    But facing content is not allowed between the opening and closing tags for element 'Macro' and attached the screenshot

    Please suggest some other option.

    Thanks SrikesavanJ

    enter image description here

  • Srikeasvan 6 posts 96 karma points
    May 03, 2019 @ 09:28
    Srikeasvan
    100
      <umbraco:Item field='chatButtonToBeThrottled' runat='server' Visible="false" recursive='true'/>
      <% if(umbraco.NodeFactory.Node.GetCurrent().GetProperty("chatButtonToBeThrottled").Value == "1") { %>
        <script type="text/javascript" src="//test.js"></script>
      <% } %>
    
Please Sign in or register to post replies

Write your reply to:

Draft