|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
LTW Calendar Questions
Matt,
Thank you for creating and sharing the code for the LTW Calendar. I love it. I am planning to use it on a church website that I am designing. (www.seacoastchapel.com/redesign) I am testing it on my site. I have a few questions about it: 1. How can I get the calendar to be centered on the page? 2. Is there a simple way of including a link in the event description to a page in the same web? 3. How can I change the colors used in the calendar to match the color scheme of the website it is presented on? 4. How can I add a title to the top of the Calendar that states "... Calender of Events"? 5. Is there a way to somehow included this .php calendar in an.html page so that I don't loose the navagation of the website. Thank you for your time. I appreciate it. |
|
#2
|
|||
|
|||
|
RE: LTW Calendar Questions
You can customize the header.php and footer.php files to your liking. By modifying these files, you should be able to center the calendar and put it in any navigation system you like. As for the color scheme, modify the css file with the colors you like...
|
|
#3
|
|||
|
|||
|
RE: LTW Calendar Questions
Yes, you can include a link in your event description.
Just write html tags into the description field. Example: <a href=http://mywebsite.com/> click here </a>. Tested to work in 3.0 |
|
#4
|
|||
|
|||
|
RE: LTW Calendar Questions
In response to 1,4,5...
Use the ltw_header.php to control how the page looks. You can do something like this... <html><head> <title>Event Calendar</title> <!-- css line here --> <body> <table><tr><td colspan="2"><H1>Event Calendar</h1></td></tr> <tr><td>put (left) nav stuff here</td> <td> <!-- end of ltw_header.php --> ltw_footer.php contains <!-- end of calendar --> </td></tr></table></body></html> |
|
#5
|
|||
|
|||
|
RE: LTW Calendar Questions
I did what you suggested here and this is the error codes I get.
Warning: Cannot modify header information - headers already sent by (output started at /home/waynesta/www/www/ltw_header.php:15) in /home/waynesta/www/www/ltw_header.php on line 18 Warning: Cannot modify header information - headers already sent by (output started at /home/waynesta/www/www/ltw_header.php:15) in /home/waynesta/www/www/ltw_header.php on line 19 |
|
#6
|
|||
|
|||
|
RE: LTW Calendar Questions
The can't send headers is because you are outputting text (such as the ltw_header file) before you execute lines that set HTTP headers. The lines are easy to find since they say header(.....);
Look thru ltw_classes for the header(....) lines and you wil probably be doing echos or include_once(some-filename) before them in the script. |
|
#7
|
|||
|
|||
|
RE: LTW Calendar Questions
After initional installation i get a handfull of the following errors:
Warning: Cannot modify header information - headers already sent help please... |
|
#8
|
|||
|
|||
|
RE: LTW Calendar Questions
Heres the fix:
cd into the directory where your files are and run this: Code:
dos2unix *.php that should fix the headers problem. |
![]() |
| Viewing: Codewalkers Forums > Projects > ltwCalendar > LTW Calendar Questions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|