phpScheduleIt
May 21, 2013, 10:17:53 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Make logo image into a link.  (Read 2994 times)
chemist109
Newbie
*

Karma: 0
Posts: 1


« on: January 12, 2011, 01:47:24 PM »

My installation of phpScheduleIt is accessed by our users from a link on a "menu" web page.  We have a kiosk computer with a web browser that has all the controls hidden (including the back button) so we needed a way to get the users from phpScheduleIt back into the "menu".  So, we made the logo image into a clickable link.

Edit line 107 in Template.class.php (in the lib directory) adding an anchor tag around the div:
Code:
? '<a href="../index.html"><div align="left"><img src="' . $conf['ui']['logoImage'] . '" alt="logo" vspace="5" /></div></a>'

Edit line 40 in index.php in the same manner:
Code:
? '<a href="../index.html"><div align="left"><img src="' . $conf['ui']['logoImage'] . '" alt="logo" vspace="5"/></div></a>'

My example above sends the user to the page located at ../index.html whenever they click on our custom logo image.
Logged
adhsharad
Newbie
*

Karma: 0
Posts: 9


« Reply #1 on: July 08, 2012, 12:10:54 PM »

Hi,

Could you tell me how to do same in the Phpscheduleit 2.2?

Thanks in advance.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #2 on: July 09, 2012, 02:27:19 PM »

You would need to change tpl/globalheader.tpl. I'll add this as a config option to a future version.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!