Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

[SOLVED] Calendar By Kieran O'Shea


  #1  
Old Jun 22, 2009, 07:08 PM
dmtompki's Avatar
dmtompki
 
22 posts · Jun 2009
Middletown MD
This is a very nice simple js calendar that has activity catagories (ie., birthdays, group activites, holidays). I had it implemented in my site. However, when I place it in Atahualpa the colors are all overwritten by the default css.

Anyone know a way to work around this?

Much thanks!
  #2  
Old Jun 22, 2009, 09:40 PM
juggledad's Avatar
juggledad
 
23,758 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
can you post a link to the calendar download?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 22, 2009, 10:26 PM
dmtompki's Avatar
dmtompki
 
22 posts · Jun 2009
Middletown MD
wordpress -- http://wordpress.org/extend/plugins/calendar/
download -- http://downloads.wordpress.org/plugi...ndar.1.2.2.zip
homepage -- http://www.kieranoshea.com/projects/calendar/

thanks.
  #4  
Old Jun 23, 2009, 08:15 AM
juggledad's Avatar
juggledad
 
23,758 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the issue is that Atahualpa allows you to style your tables. This table level styling is overriding the styling in the calendar plugin. I've posted a query at the plugin's site to see how the plugin's author suggests having his CSS override the Atahualpa CSS (see http://www.kieranoshea.com/forum/vie...php?f=13&t=119)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jun 23, 2009, 09:21 AM
dmtompki's Avatar
dmtompki
 
22 posts · Jun 2009
Middletown MD
Thanks for posting that to his site. Much clearer than I would have done.
  #6  
Old Jun 26, 2009, 02:11 AM
duckslammer
 
1 posts · Jun 2009
Ok, color me stupid - I downloaded and installed it, entered an event and...what do I have to do to make it show up on my site?
  #7  
Old Jun 26, 2009, 03:24 PM
juggledad's Avatar
juggledad
 
23,758 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
step 4 from the install
Quote:
4. Edit or create a page on your blog which includes the text {CALENDAR} and visit the page you have edited or created. You should see your calendar in action.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Jun 26, 2009, 08:26 PM
dmtompki's Avatar
dmtompki
 
22 posts · Jun 2009
Middletown MD
make sure to include the brackets {CALENDAR}
  #9  
Old Jun 27, 2009, 06:38 AM
dmtompki's Avatar
dmtompki
 
22 posts · Jun 2009
Middletown MD
Quote:
Originally Posted by juggledad
the issue is that Atahualpa allows you to style your tables. This table level styling is overriding the styling in the calendar plugin. I've posted a query at the plugin's site to see how the plugin's author suggests having his CSS override the Atahualpa CSS (see http://www.kieranoshea.com/forum/vie...php?f=13&t=119)
Is it my imagination or have we just been banned from asking this question on kieranoshea.com forum? It appears my post regarding this topic has been removed (as well as the one you posted above). In fact, I believe my login has been removed.
  #10  
Old Jun 27, 2009, 06:59 AM
juggledad's Avatar
juggledad
 
23,758 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
It looks like everything since 6/13 is missing, so it might have been a system problem/restore to last backup issue. I just wish I had kept a copy of the query...sigh
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #11  
Old Jun 27, 2009, 04:15 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
I'm having the devil of a time styling this thing too. I haven't even begun trying to make the big calendar conform to my wishes. The sidebar widget is giving me fits!

If you please, look at http://www.larchmontgazette.com in the left sidebar, down quite a ways. It is taking the UL styling I have elsewhere, so the bullet is a square. However, I don't want a square bullet next to each event, just the dates. I think it looks weird to have the indented bullets there. I cannot for the life of me get rid of those!
  #12  
Old Jun 29, 2009, 05:22 PM
juggledad's Avatar
juggledad
 
23,758 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I think I may have an idea that will work. If you edit the code in the plugin you could put an !important after each option. This should make this options override the theme options (calendar.php: lines 162-310) If you make the changes, make sure to check the ' Tick this box if you wish to reset the Calendar style to default'. this will reset the settings using the ones you have just edited into the code.

Here are the changes:
HTML Code:
  $initial_style = "    .calnk a:hover {
         background-position:0 0 !important;
         text-decoration:none !important;  
         color:#000000 !important;
         border-bottom:1px dotted #000000 !important;
         }
    .calnk a:visited {
         text-decoration:none !important;
         color:#000000 !important;
         border-bottom:1px dotted #000000 !important;
        }
    .calnk a {
        text-decoration:none !important; 
        color:#000000 !important; 
        border-bottom:1px dotted #000000 !important;
        }
    .calnk a span { 
        display:none !important; 
        }
    .calnk a:hover span {
        color:#333333 !important; 
        background:#F6F79B !important; 
        display:block !important;
        position:absolute !important; 
        margin-top:1px !important; 
        padding:5px !important; 
        width:150px !important; 
        z-index:100 !important;
        }
     .calendar-table {
        border:none !important;
        width:100% !important;
     }
     .calendar-heading {
        height:25px !important;
        text-align:center !important;
        border:1px solid #D6DED5 !important;
        background-color:#E4EBE3 !important;
     }
     .calendar-next {
        width:25% !important;
        text-align:center !important;
     }
     .calendar-prev {
        width:25% !important;
        text-align:center !important;
     }
     .calendar-month {
        width:50% !important;
        text-align:center !important;
        font-weight:bold !important;
     }
     .normal-day-heading {
        text-align:center !important;
        width:25px !important;
        height:25px !important;
        font-size:0.8em !important;
        border:1px solid #DFE6DE !important;
        background-color:#EBF2EA !important;
     }
     .weekend-heading {
        text-align:center !important;
        width:25px !important;
        height:25px !important;
        font-size:0.8em !important;
        border:1px solid #DFE6DE !important;
        background-color:#EBF2EA !important;
        color:#FF0000 !important;
     }
     .day-with-date {
        vertical-align:text-top !important;
        text-align:left !important;
        width:60px !important;
        height:60px !important;
        border:1px solid #DFE6DE !important;
     }
     .no-events {

     }
     .day-without-date {
        width:60px !important;
        height:60px !important;
        border:1px solid #E9F0E8 !important;
     }
     span.weekend {
        color:#FF0000 !important;
     }
     .current-day {
        vertical-align:text-top !important;
        text-align:left !important;
        width:60px !important;
        height:60px !important;
        border:1px solid #BFBFBF !important;
        background-color:#E4EBE3 !important;
     }
     span.event {
        font-size:0.75em !important;
     }
     .kjo-link {
        font-size:0.75em !important;
        text-align:center !important;
     }
     .event-title {
        text-align:center !important;
        font-weight:bold !important;
        font-size:1.2em !important;
     }
     .event-title-break {
        width:96% !important;
        margin-left:2% !important;
        margin-right:2% !important;
        margin-top:5px !important;
        margin-bottom:5px !important;
        text-align:center !important;
        height:1px !important;
        background-color:#000000 !important;
     }
     .event-content-break {
        width:96% !important;
        margin-left:2% !important;
        margin-right:2% !important;
        margin-top:5px !important;
        margin-bottom:5px !important;
        text-align:center !important;
        height:1px !important;
        background-color:#000000 !important;
     }
     .calendar-date-switcher {
        height:25px !important;
        text-align:center !important;
        border:1px solid #D6DED5 !important;
        background-color:#E4EBE3 !important;
     }
     .calendar-date-switcher form {
        margin:0 !important;
        padding:0 !important;
     }
     .calendar-date-switcher input {
        border:1px #D6DED5 solid !important;
     }
     .calendar-date-switcher select {
        border:1px #D6DED5 solid !important;
     }
     .cat-key {
        width:100% !important;
        margin-top:10px !important;
        padding:5px !important;
        border:1px solid #D6DED5 !important;
     }";
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jun 30, 2009 at 08:08 AM.
  #13  
Old Jun 30, 2009, 07:33 AM
dmtompki's Avatar
dmtompki
 
22 posts · Jun 2009
Middletown MD
Excellent. I'll give this a try. Did you intent to day "make sure you don't check the Tick this box.....", ( make sure to check teh ' Tick this box) or (Tick this box, before you make the edits?).

Thanks.
  #14  
Old Jun 30, 2009, 08:15 AM
juggledad's Avatar
juggledad
 
23,758 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If you have already installed and activated the widget, you MUST reset the CSS after you make the code change to copy the new version of the CSS into the wp-options table. If you don't, you will still have the originals.

So, yes I did mean to say check the box so the defausts will be reset. You should only do this once. Remember, if you have already made any changes, copy them down before you reset the options so you can add them back in again.

(you could just put the '!important' in every option in the dashboard->Calendar->Calendar Options->Configure the stylesheet for Calendar, but I thought this might be easier)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jun 3, 2011 at 06:16 AM.
  #15  
Old Jul 4, 2009, 09:31 PM
dmtompki's Avatar
dmtompki
 
22 posts · Jun 2009
Middletown MD
You're thee man! It took quite a bit of tweaking, but eventually got what I needed. Thank you for the persistance on this. It saved my a good deal of time, so in turn I will make another donation..

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Calendar gproper Page & Category Menu Bars 3 Nov 22, 2011 03:40 PM
Calendar Date Problem yosh66 Sidebars & Widgets 0 Jun 21, 2009 11:16 AM
[SOLVED] Calendar recommendation? hospitalera Plugins & Atahualpa 2 May 17, 2009 11:15 AM
color of wp-calendar boris Sidebars & Widgets 2 Apr 6, 2009 06:12 AM
Best calendar plugin? paulae Plugins & Atahualpa 0 Mar 13, 2009 11:33 AM


All times are GMT -6. The time now is 05:28 PM.


Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.