Event Calendar Pro in Printerfriendly view

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/4/2012 7:14:05 PM
Gravatar
Total Posts 2

Event Calendar Pro in Printerfriendly view

System Information

mojoPortal Version   2.3.8.1                MSSQL

Operating System   Microsoft Windows NT 6.0.6002 Service Pack 2

ASP.NET Info        v4.0.30319 Running in Full Trust

Server Time Zone  Pacific Daylight Time

recently upgraded to Event Calendar Pro.

Scenario: when "printer Freindly" view is selected while in Month view the calendar squares are not displayed. All event entries display as expected, it almost seems like the borders outlining the calendar days are transparent.

I've tried switching base themes with no luck. the issue definatley seems to be between event calendar pro and the printerfriendly theme. I'm unable to locate anyhting in the print friendly css file that could be causing this.

?? 

4/4/2012 8:37:07 PM
Gravatar
Total Posts 2253

Re: Event Calendar Pro in Printerfriendly view

Hi,

This isn't a bug, just some missing css in the printerfriendly skin. You can add whatever style you like to that skin. In fact, you could remove the skin and rename another skin "printerfriendly" and mojo will use that for the "Printer Friendly" link.

Try adding the following to the bottom of the style.css file found in the printerfriendly skin directory.

.mpcalendarmain a {
text-decoration: none;
}
.mpcalendardayheader {
font-weight:bold;
font-size: 10pt;
color: #000;
border-bottom: 2px solid #000; 
text-align: center;
height: 25px;
vertical-align: middle;
}

.mpcalendarday {
border: solid 1px #000; 
font-size:8pt;
color: #000;
text-align: center;
}

.mpcalendarday, .mpcalendarweekendday, .mpcalendartoday, .mpcalendarselectedday {
background-color: transparent !important;
}
.mpcalendarnextprevious {
color: #414141 !important /*override hardcoded color*/; 
text-align:center;
}

.mpcalendarnextprevious a {
display: none;
}

.mpcalendarothermonth {
border: solid 1px #000;
font-size:8pt;
color: #666 !important;
text-align:center;
}

.mpcalendarselectedday,
.mpcalendartoday {
border: solid 1px #000; 
font-size:8pt;
color:white;
text-align:center;
}

.mpcalendarselectedday a,
.mpcalendartoday a {
color:#fff /*override hardcoded color*/;
}

.mpcalendarselector {
color: #414141; 
border: solid thin #000;
font-weight:bold;
text-align:center; 
}

.mpcalendartitle {
font-size:8pt;
font-weight:bold;
text-align:center;
color: #000;
}
.mpcalendarmain .mpcalendartitle > tbody { border: 0 none; }
.mpcalendarmain > tbody > tr:first-child { border-bottom:1px solid #000; }

.mpcalendarweekendday {
border: solid 1px #000;
background-color: transparent;
color: #000;
font-size: 8pt;
text-align: center;
}

/* Event Calendar Pro fix */
.eventmonthview .eventNextPrevious {
display: none;
}

.eventmonthview .mpcalendardayheader {
border: 1px solid #000;
border-bottom-width: 2px;
}

.eventcontainer {
margin: 1px !important;
/*border-radius: 6px;*/
border: 0 none !important;
background-color: transparent !important;
text-align: left;
}
.eventlink {
color: #333333 !important;
background-color: transparent !important;
font-weight: normal !important;
}

.dayNumber {
text-align: right;
margin-right: 3px;
}

.mpcalendartoday .dayNumber a {
color: #000;
font-weight: bold;
padding: 0 2px;
}

.eventmonhview {
border-color: #F5F5F5;
}

.eventcalheader td {
width: 33%;
}

.mpcalendarmain tbody {
border: 0 none;
}

 

4/4/2012 10:48:47 PM
Gravatar
Total Posts 2

Re: Event Calendar Pro in Printerfriendly view

Thank you so much. That worked as indicated.

You must sign in to post in the forums. This thread is closed to new posts.