Tuesday, 6 September 2016

Theme display signed in or Not signed in

<%if(themeDisplay.isSignedIn()){ %>
       <aui:a href="<%=demoscheduleAdd.toString() %>"><button class="demoform">Schedule Demo</button></aui:a>
       <%}else { %>
       <a href="/course_catalog?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=false&_58_struts_action=%2Flogin%2Flogin"> <button class="demoform">Schedule Demo</button></a>
       <%} %>  

No comments:

Post a Comment