Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationHacks and Mods (Moderators: scott, DanO, Marty)mini cal popup and current day highlight
Pages: [1] 2   Go Down
Print
Author Topic: mini cal popup and current day highlight  (Read 965 times)
0 Members and 1 Guest are viewing this topic.
Shellie
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: July 06, 2005, 10:56:00 AM »

A couple requests:

I have the "new_minical.html" template in use.  Is there any way to have the linked days (with events that day) display a little popup when the mouse is hovered on that day?


Also, all of the days with events are highlighted in yellow.  Is there a way to also highlight the current day in a different color wether or not there is a linked event?

Thanks!!

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: July 06, 2005, 07:43:00 PM »

** Is there any way to have the linked days (with events that day) display a little popup when the mouse is hovered on that day? **

You could easily add a 'tool tip' type display when moused over by adding a title="Message here" to the <a href tags on those dates but I'm afraid I can't tell you specifically where that extra code would go.

Some form of DHTML might also be able to be added to create a more custom effect. Try searching the forum for DHTML to see if any of those topics give you some ideas.


** Is there a way to also highlight the current day in a different color whether or not there is a linked event? **

I'm sure that is possible as well but again I don't know the exact code modifications which would be required off hand. Maybe if someone has already done it, they'll tell you what is required?

Dan O.

------------------

Logged
Shellie
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: July 07, 2005, 01:09:00 PM »

Can the yellow highlight on the mini cal template be removed?  I have it to where there is an underline for the linked event days, but our calendar is going to have an event every day.  Thats a bit too much yellow for me  

It looks like the script highlights days with events in yellow, then looks for yellow days to make links.  I just want all the backgrounds white.

Help!  

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: July 07, 2005, 02:48:00 PM »

** I just want all the backgrounds white. **

... and the dates to still be links I assume???

You could probably change it to some other colour *as long as that other colour was distinctive and you changed all occurrences where "yellow" is used in the template*. Maybe use the hex value for white (#FFFFFF) otherwise maybe the HTML word value for off-white??

JFYI

Dan O.


[This message has been edited by DanO (edited July 07, 2005).]

Logged
Shellie
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #4 on: July 07, 2005, 03:18:00 PM »

Using ffffff worked, for whatever reason, it didnt like #ffffff
Logged
fritobag
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #5 on: July 08, 2005, 11:30:00 PM »

I want to install the new_minical on our home page and keep the full size calendar inside our site. I'm assuming that the installation of the new_minical mod produces a mini "copy" of the current month. Please correct me if I've misunderstood.

Now for installation... I've downloaded and unzipped the ssi_templates and uploaded them to the directory that contains ssi_html, which in my case is /...templates/calendars/default/.  

To edit the ssi.txt to point to the template of choice, am I correct to simply change the default "template=ssi.html" to read "template=new_minical.html"?  

Lastly, after changing the max days to 31 for one month, I can't seem to find the minical. The full size is still intact after the above installation "interpretation" (See http://birf.info/home/calendar/calendar.pl?calendar=default)   Please correct any mis-steps and/or advise.  Thank you.

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #6 on: July 09, 2005, 04:26:00 PM »

** Using ffffff worked, for whatever reason, it didnt like #ffffff **

There is one spot in the template there the yellow wasn't enclosed with quotes (") like it should be. The # in the #FFFFFF would have acted like a comment declaration cancelling out the rest of the line, likely resulting in errors.

Enclosing all occurrences like "#FFFFFF" might have worked and should probably be tried as it is not proper HTML without the # sign and may not work properly in all browsers.

JFYI

Dan O.

[This message has been edited by DanO (edited July 09, 2005).]

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #7 on: July 09, 2005, 04:33:00 PM »

** I correct to simply change the default "template=ssi.html" to read "template=new_minical.html"? **

Yes... or you could rename it to ssi.html (after making a back-up of the original) but the first is better... if it works.

** changing the max days to 31 for one month **

That will have no effect in the mini-cal templates.

**  I can't seem to find the minical. **

What do you mean by that??? It should be wherever you put it, namely in the default template directly (going by what you said).

http://birf.info/home/calendar/calendar.pl?template=new_minical.html

Dan O.

[This message has been edited by DanO (edited July 09, 2005).]

Logged
fritobag
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #8 on: July 16, 2005, 04:21:00 PM »

I'm just now reading you reply to my minical installation questions.  Yes, it works fine and it is at http://birf.info/home/calendar/calendar.pl?template=new_minical.html  as you said.  I must have had a mind cloud.  

I'm going to go take a look at it to see if it embedding the cal on the home page is pretty staright forward.  I'll let you know if I have questions.  Thanks DanO.

------------------

Logged
fritobag
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #9 on: July 16, 2005, 05:05:00 PM »

Yes, I definitely need help inserting the minical into a webpage.  Could you please help instruct me?
http://birf.info/home/calendar/calendar.pl?template=new_minical.html  

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #10 on: July 16, 2005, 06:55:00 PM »

** I definitely need help inserting the minical into a webpage. **

It would be done similarly to the regular SSI template file.

There are links to several forum topics discussing that in the 'Links' section of the Unofficial CalendarScript - Mods and Plugins site. Try reading those to see if it helps. If you have any specific question, I'll try to answer them.

Dan O.


[This message has been edited by DanO (edited July 16, 2005).]

Logged
fritobag
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #11 on: July 17, 2005, 07:53:00 PM »

Okay.  Thanks.

------------------

Logged
fritobag
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #12 on: July 17, 2005, 09:11:00 PM »

Dan, I checked out the links section for help embedding the minical into our index page and was not able to find anything.  

However, I tried following the same procedure as what I did for our full size calendar at http://www.birf.info/home/calendar/calendar.pl.  

It worked, but the problem with using that procedure for the mini cal is that it changes the url of our index page to http://www.birf.info/home/calendar/calendar.pl?template=new_minical.html,  which is unacceptable. (Please check out the above link and then look at our index page at www.birf.info.   I have the calendar installed on the index page too, but I don't know how to reconfigure things to get it to work at that location.  Any suggestions?

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #13 on: July 18, 2005, 12:16:00 PM »

** I tried following the same procedure as what I did for our full size calendar **

You mean altering the actual template (or including other files into it) to make it look the way you want. That should not be necessary.

** I checked out the links section for help embedding the minical into our index page and was not able to find anything. **

Did you not see either of these??

See my last reply in the previous forum message "Having trouble with SSI " for a succinct description of how to use CalendarScript with SSI.

If the regular SSI call does not work properly on your server, see the previous forum  message "SSI head ache!" for an alternate SSI call you can try.

Dan O.

------------------

Logged
fritobag
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #14 on: July 18, 2005, 06:55:00 PM »

Shoot, I'm frustrated.  I've read both forums and all tutorials and still no luck.  I've tried:

<!--#exec cgi="/home/calendar/calendar.pl"-->

<!--#exec cmd="/home/calendar/calendar.pl" -->

<!--#include virtual="/home/calendar/calendar.pl"-->

<!--#include virtual="/home/calendar/calendar.pl?template=ssi.html"-->

I don't get an error message.  I get a perfect page, except the minicalendar is not there. See http://www.birf.info/indexb.html,  as compared to http://www.birf.info/home/calendar/calendar.pl?template=new_minical.html.  

Our organization has a big event in two days and I'm desperate to finish this.  Dan, I'm at a loss.  I'm sorry to pester you, but I would really appreciate your help.

------------------

Logged
Pages: [1] 2   Go Up
Print
Jump to: