Announcement

Collapse
No announcement yet.

Logoff button or link at Header

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Logoff button or link at Header

    Hi, how can I create a logoff link at a header?
    Or perhaps a logoff button

  • #2
    Re: Logoff button or link at Header

    http://www.scriptcase.net/forum_en_u...p?topic=1207.0

    Sincerely,
    Masino Sinaga

    Comment


    • #3
      Re: Logoff button or link at Header

      Thanks MAsino,

      Let me explain further, I have a Tree Menu. On the template header, I have managed to display logon user namen and its date and time.

      My question is how can I have a Logoff Link or Log off button on the header.

      How can I create that link or perhaps I should create a global variable that contains the link and the target?
      Would you mind to help me on how I can acheive this? Thanks.

      Comment


      • #4
        Re: Logoff button or link at Header

        Since ScriptCase has not provided the ability in order to add your own certain link, then you have to modify the template you are using for the header. Hope that helps.

        Sincerely,
        Masino Sinaga

        Comment


        • #5
          Re: Logoff button or link at Header

          Hi,
          try something like this.
          Create a variable like: [goodbye]='<a href="../login/login.php" target="_blank">Good Bye!!!</a>';

          In Layout -> Header & Footer -> Header Variables select "Value".
          Put the name of the variable in the adjacent input field. [goodbye]
          Done.

          Hope this helps
          jsb

          Comment


          • #6
            Re: Logoff button or link at Header

            Thanks J,

            I set my globla variable like this:
            [goodbye] = '<a href="./treemenu_form_php.php?sc_item_menu=item_43&sc_apl_ menu=app_securityLogin&sc_apl_link=%2Fscriptcase%2 Fapp%2F&sc_usa_grupo=S">Logoff</a>';

            Comment

            Working...
            X