Help Desk Software & Beyond
May 17, 2012, 05:24:07 AM *
Welcome, Guest. Please login or register.
To post messages you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.

Login with username, password and session length
News: Welcome to Help Desk Software forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [REQ] Removing menu bar from initial login screen  (Read 1007 times)
cjking
Newbie
*

Karma: 0
Posts: 1


View Profile
« on: April 07, 2011, 05:39:46 PM »

 Wondering if it is possible to remove the menu bar (Tickets|Contact us|Login) from the initial login screen.
I do not want users accessing any of the programs functions until they have logged on.

Thank you for any help.

cjking


EDIT by Sparky:  Read forum posting guidelines, specifically regarding topic title format.  Thanks.
« Last Edit: April 07, 2011, 06:24:46 PM by Sparky » Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #1 on: April 07, 2011, 06:35:01 PM »

Firstly, you need to read the READ ME thread and search this forum before posting.

Secondly, it's possible but not easily.  All TTX pages use HTML templates in the "templates" directory.

There are two kinds of template.

1.  Gets a header & footer.
2.  Does not get a header & footer.

It seems like you'd want to change your login.html template from type 1 into type 2.  If you do this, you may lose other functions on the page that you'd have to manually put back into the template.

In the main ttx.cgi module, there is a section at the top that tells the system how to handle each template.  Some of these contain a variable called "noheader".  Find the line starting with login and change it as follows.  I cannot gaurantee this will work to your liking.

Quote
login      => { action => 'TTXLogin::login',   access => 0, noheader => 1 },

THEN, you'd have to copy the entire contents of header.shtml and paste it into the top of login.html.

Then copy the entire contents of footer.shtml and paste it at the bottom of login.html.

Then simply REMOVE the menu bar stuff from the resulting file.

Good luck.
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.019 seconds with 18 queries.