You are here:   Support > User Forum
Register   |  Login

Invenmanager User Forum

Minimize
Remove Sat-Sun from Calendar View
Last Post 24 Aug 2010 01:09 PM by Inven Manager. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Susan Boothby
New Member
New Member
Posts:18

--
21 Aug 2010 10:09 AM  
I would like to remove Saturday and Sunday from the calendar view.

I'm posting menus in a calendar and would like bigger Mon-Fri cells for viewing and printing.

Is it possible?
Inven Manager
Senior Member
Senior Member
Posts:6765
Avatar

--
21 Aug 2010 04:26 PM  
Susan,

1. The module does not provide out-of-the-box feature to remove Saturday and Sunday.

2. However, there is a workaround by changing the CSS, by hiding weekend class.

3. And also choose to hide the week header at the View Options.

Thanks.
========================================
Delivering high value DotnetNuke Modules to save your time and resources
Susan Boothby
New Member
New Member
Posts:18

--
22 Aug 2010 03:08 AM  
I can't find the option to hide the week header at View Options.

How much and how long to have you include the feature to remove Saturday and Sunday?
Inven Manager
Senior Member
Senior Member
Posts:6765
Avatar

--
23 Aug 2010 02:11 PM  
Susan,

1. Currently you can only hide the week header by changing the stylesheets at the View options.
The CSS class used for the Week header is: rcWeek

2. Are you referring customization? when you say, "how much and how long".
If so, sorry we don't have resources for customization of any features at this moment.

Thank you.
========================================
Delivering high value DotnetNuke Modules to save your time and resources
Susan Boothby
New Member
New Member
Posts:18

--
24 Aug 2010 08:17 AM  
Here's what I did to remove Sat & Sun from the calendar view:

Changes to CSS:

Used the outline property instead of border because the borders disappeared as I added "display: none" to classes
.evt
{
table-layout: auto;
font-size: 10px;
width: 100%;
font-family: Verdana;
background-color: white;
outline: 1px solid #ccddee;

/* used the "outline" property because "border" property didn't work as I added "display: none;" to classes */
}

.evtDayHeader
{
display: none;

/* hides the header with the days of the week */
}

td.evtDay
{
width: 19%;
font-family: Verdana;
padding: 0 5px 5px 5px;
outline: 1px solid #ccddee;

/* used the "outline" property because "border" property didn't work as I added "display: none;" to classes */
/* used "width: 19%;" to allow for the outlines */
}

.evtOtherMonDay
{
display: none;

/* hides other month td's which could include a weekend -- I only need to view one month at a time */
}

.evtOtherMonDay a, .evtOtherMonDay a:visited, .evtOtherMonDay a:hover
{
display: none;

/* hides content in other month td's */
}

.evtWeekendDay
{
display: none;

/* hides weekend td's */
}

.calendarViewMenu p {
font-size: 8.5pt;
line-height: 1.1em;
margin: 0;
color: #434343;

/* added this class to the Calendar View Template to control styling of menu entries (see below) */
}

Calendar View Template:
<div class="calendarViewMenu">[FULLDESCRIPTION]</div>

=====

To see the calendar in progress:
http://friendshipcenters.org.dnnmax.com/Locations/Sarasota/Menus.aspx
Inven Manager
Senior Member
Senior Member
Posts:6765
Avatar

--
24 Aug 2010 01:09 PM  
Susan,

I am really glad to see that you got it working. and it looks really nice.

========================================
Delivering high value DotnetNuke Modules to save your time and resources
You are not authorized to post a reply.

Active Forums 4.1