NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on May 06, 2015, 10:48:10 AM

Title: Double Drop menu template error
Post by: Alberto on May 06, 2015, 10:48:10 AM
From the template...

WebMenus:DoubleDrop:1  Routine
    do StartMenu:1
  packet.append(p_web.DivHeader('menu','nt-menu-div ui-corner-br',Net:NoSend))
  packet.append('<ul id="'&clip('menu')&'" class="'&clip('nt-menu"')&'">' & p_web.CRLF)
  If p_web.GetSessionLoggedIn() <> 0
        packet.append('<li><a href="'&p_web._jsok(p_web._MakeUrl(clip('uAnalisisOpciones')))&'">'&p_web.Translate('LANZAMIENTOS')&'</a>' & p_web.CRLF)
        do SendPacket
        do Menu:11:1
        packet.append('</li>' & p_web.CRLF)
  End

results in:

<div id="menu_div"  class="nt-menu-div ui-corner-br"><ul id="menu" class="nt-menu"">

Title: Re: Double Drop menu template error
Post by: Bruce on May 07, 2015, 06:31:13 AM
it's a setting in the template settings that is wrong.
ie - not the template file, but the actual template option - so go ahead and fix that in the app.

cheers
Bruce