Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsRegd Saturday background color in calendarRegd Saturday background color in calendar
Previous
 
Next
New Post
6/11/2009 3:59 AM
 

Dear All,

We live in india. we are working on a DNN site calendar. The calender shows saturday and sunday background color as same. But we work on saturday's. So how to change the background as weekdays for saturday?

And this calender have no >>  and << arrows for the previous month and next month titles. Please suggest us how to do this.

Awaiting for your help.

Regards

Venkat

 

 

 

 

 
New Post
6/11/2009 4:28 AM
 

The colour for Saturdays is controlled by whether the underlying calendar control things it is a week-end day. I think you can set just Sunday as the week-end by editing EventMonth.ascx and adding:-

  • WeekEndDays="Sunday" against the section that starts <dnn:DNNCalendar ID="EventCalendar"....

It may also be possible that this would be done automatically if you install the right language via Host/Languages, but unfortunately I can't read the non-Latin characters shown in that dialogue to recognise if there is an Indian option there.

You can make the whole week-end be the same colour as the rest of the week by edit the theme files (preferably by creating a new theme).

You can change the Month names to show << or >>  by editing EventMonth.ascx. You need to make the following changes:-

  • Remove 'NextPrevformat="FullMonth"'
  • Add PrevMonthText="&lt;&lt;"
  • Add NextMonthText="&gt;&gt;"

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
6/11/2009 5:16 AM
 

Dear Roger,

I very much thankful to you. I have a small confusion here. The following code i found it in eventmonth.aspx file. Can you please change the line which is necessary. I am not a .net programmer i know asp and i am doing this with the help of this forum. Please help me

Code:

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

            <TD noWrap align="center"><dnn:dnncalendar id="EventCalendar" runat="server" CssClass="Event" CellPadding="0" NextPrevformat="ShortMonth"
                    DayStyle-VerticalAlign="Top" PrevMonthText=" " NextMonthText=" " ShowGridLines="True" SelectMonthText=" " SelectWeekText=" ">
                    <TodayDayStyle HorizontalAlign="Center" CssClass="EventTodayDay" VerticalAlign="Top"></TodayDayStyle>
                    <SelectorStyle HorizontalAlign="Center" CssClass="EventSelector" VerticalAlign="Top"></SelectorStyle>
                    <DayStyle HorizontalAlign="Center" CssClass="EventDay" VerticalAlign="Top"></DayStyle>
                    <NextPrevStyle HorizontalAlign="Center" CssClass="EventNextPrev" VerticalAlign="Top"></NextPrevStyle>
                    <DayHeaderStyle HorizontalAlign="Center" CssClass="EventDayHeader" VerticalAlign="Top"></DayHeaderStyle>
                    <SelectedDayStyle HorizontalAlign="Center" CssClass="EventSelectedDay" VerticalAlign="Top"></SelectedDayStyle>
                    <TitleStyle HorizontalAlign="Center" CssClass="EventTitle" VerticalAlign="Top"></TitleStyle>
                    <WeekendDayStyle HorizontalAlign="Center" CssClass="EventWeekendDay" VerticalAlign="Top"></WeekendDayStyle>
                    <OtherMonthDayStyle HorizontalAlign="Center" CssClass="EventOtherMonthDay" VerticalAlign="Top"></OtherMonthDayStyle>
                </dnn:dnncalendar></TD>
-----------------------

Thanks in advance.

Venkat

 

 

 

 
New Post
6/11/2009 5:37 AM
 

 <TD noWrap align="center"><dnn:dnncalendar id="EventCalendar" runat="server" CssClass="Event" CellPadding="0" WeekEndDays="Sunday"
                    DayStyle-VerticalAlign="Top" PrevMonthText="&lt;&lt;" NextMonthText="&gt;&gt;" ShowGridLines="True" SelectMonthText=" " SelectWeekText=" " >
                    <TodayDayStyle HorizontalAlign="Center" CssClass="EventTodayDay" VerticalAlign="Top"></TodayDayStyle>
                    <SelectorStyle HorizontalAlign="Center" CssClass="EventSelector" VerticalAlign="Top"></SelectorStyle>
                    <DayStyle HorizontalAlign="Center" CssClass="EventDay" VerticalAlign="Top"></DayStyle>
                    <NextPrevStyle HorizontalAlign="Center" CssClass="EventNextPrev" VerticalAlign="Top"></NextPrevStyle>
                    <DayHeaderStyle HorizontalAlign="Center" CssClass="EventDayHeader" VerticalAlign="Top"></DayHeaderStyle>
                    <SelectedDayStyle HorizontalAlign="Center" CssClass="EventSelectedDay" VerticalAlign="Top"></SelectedDayStyle>
                    <TitleStyle HorizontalAlign="Center" CssClass="EventTitle" VerticalAlign="Top"></TitleStyle>
                    <WeekendDayStyle HorizontalAlign="Center" CssClass="EventWeekendDay" VerticalAlign="Top"></WeekendDayStyle>
                    <OtherMonthDayStyle HorizontalAlign="Center" CssClass="EventOtherMonthDay" VerticalAlign="Top"></OtherMonthDayStyle>
                </dnn:dnncalendar></TD>
 


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
6/11/2009 5:52 AM
 

Dear Roger,

Thanks for your kind help. Its working fine now. I really appriciate your help.

Regards

Venkat

 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsRegd Saturday background color in calendarRegd Saturday background color in calendar


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out