| View previous topic :: View next topic |
| Author |
Message |
omoriginals
Joined: 24 Feb 2006 Posts: 133
|
Posted: Thu Jan 11, 2007 4:07 am Post subject: mini cal display |
|
|
That sound easy enough. Thank you.
After I move my calendar to /calendar I'd like to ad the mini-cal to the root directory index.
I'd like for the mini to display day view. (meaning show the current month with a colored box around today)
If possible, I'd also like to have my calendars drop down menu on my new index.
Can we do this with a little javascript? ssi?
Thank you. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Thu Jan 11, 2007 5:53 am Post subject: |
|
|
Hi,
You can not do it with JavaScript. I'm not sure that SSI would do it either. I'm guessing this is not a PHP page? |
|
| Back to top |
|
 |
omoriginals
Joined: 24 Feb 2006 Posts: 133
|
Posted: Thu Jan 11, 2007 3:32 pm Post subject: |
|
|
Thank you.
It is a static page generated by cgi.
If no js/ssi, how about we create a new php page that just displays the mini cal and a calendar drop down menu.
I can then iFrame it.
that should work,
Any other idea would be appreciated as well. |
|
| Back to top |
|
 |
omoriginals
Joined: 24 Feb 2006 Posts: 133
|
Posted: Wed Jan 17, 2007 5:13 am Post subject: isolating the mini |
|
|
Any ideas how i can create a new php page that just has the mini cal?
do you know of any reason why I wouldn't be able to iFrame it?
Thanks for your help. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
|
| Back to top |
|
 |
omoriginals
Joined: 24 Feb 2006 Posts: 133
|
Posted: Wed Feb 07, 2007 6:52 pm Post subject: moving the mini calendar & calendar picker |
|
|
I've decided to keep it simple.
How can I move the mini cal and calendar to the top of my page in the header area?
Thanks. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Feb 07, 2007 9:47 pm Post subject: |
|
|
Hi,
I'm not sure what the top of your page is? Is this on your site or in Thyme? Which header area are you speaking of? |
|
| Back to top |
|
 |
omoriginals
Joined: 24 Feb 2006 Posts: 133
|
Posted: Thu Feb 08, 2007 5:12 pm Post subject: header |
|
|
great support. thank you.
Sorry I wasn't very clear.
The page that I'm talking about is main calendar page, I've decided to move the mini cal from the left had area to the header of the same page.
? So I'm asking what code can I put in
admin / site settings / general / site head
to have a mini cal up there?
thank you. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Thu Feb 08, 2007 10:22 pm Post subject: |
|
|
Hi,
Hrmm.. I've never quite thought of that before, but I guess you could do something like:
<div id='cal'><div class='nav'>
<?php
global $cal;
$cal or $cal = new _cal_calendar_real();
$cal->display_month_mini();
?>
</div></div> |
|
| Back to top |
|
 |
omoriginals
Joined: 24 Feb 2006 Posts: 133
|
Posted: Fri Feb 09, 2007 11:53 pm Post subject: it works |
|
|
I threw it in a little table to control it's width and it looks good.
I also want to move Calendars and Views to the header.
What can I use in my header for them.?
Thanks. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Fri Feb 09, 2007 11:59 pm Post subject: |
|
|
Hi,
Try
include(_CAL_BASE_PATH_."modules/calendar_picker/calendar_picker.php"); |
|
| Back to top |
|
 |
|