Skip to content

Instantly share code, notes, and snippets.

@Neo1981
Created June 11, 2013 19:41
Show Gist options
  • Select an option

  • Save Neo1981/5759946 to your computer and use it in GitHub Desktop.

Select an option

Save Neo1981/5759946 to your computer and use it in GitHub Desktop.
CustomClosedByDate
<!-- Written by: Nadeem Ramjan on 6/11/2013 -->
<!--Step 1: Add the followin above the "MetronDiv"-->
<div id="CustomClosedMessage" style="display:none;">
<p>
Registration for the event is now closed.<br/>
Please contact <A href="mailto:[email protected]">[email protected]</a>
</p>
</div>
<!--Step 2:Add the following to the the bottom of the template-->
<script>
if( document.getElementById("Message_MessageLabel")!=null)
{
$("#Message_MessageImage").hide(); //hide standard message
$("#Message_MessageLabel").hide(); //hide standard confirm message
$("#CustomClosedMessage").show(); //show custom confirm message
}
</script>
<!-- Upload your file and test. With this code you can implement a custom confirmation message-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment