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 ForumsBlogBlogBlog Archive Calendar formatting problems...Blog Archive Calendar formatting problems...
Previous
 
Next
New Post
3/15/2006 5:44 AM
 

Hi, the theme for my site is primarily black with contrasting colors. My problem is I cannot seem to find the .css for the blog cal. I've spent 3-4 hrs trying to debug this to no avail.

Where the heck do I find it? I really need to adjust the style on it. Please visit here to see what I mean.

http://www.dnn-zone.net/OurCommunity/Blogs/tabid/125/Default.aspx

Any help would be deeply appreciated!


Definition: Expert - Someone with a good book and a 3-day headstart!

http://www.dnn-zone.net

 
New Post
3/15/2006 5:44 PM
 

37 views and nobody wants to take a stab at this? Does anyone know where in the code base I can find the styles defined for the blog calendar?

If I knew where it is found, assuming it's not in a compiled .dll, I can fix this myself quickly. If it is compiled, I can still fix it and modify it to use a linked style sheet using the source code base.

Can someone please point me in the right direction please?


Definition: Expert - Someone with a good book and a 3-day headstart!

http://www.dnn-zone.net

 
New Post
3/15/2006 10:39 PM
 

Hey there,

I can't tell you for sure but it looks like it was done in code.  There is only the one style sheet and it only has two setings in it. :)

I can't tell for sure right now as I don't have access to the source code.  I'm upgrading my computer and moving everything to a new box.  I'll post back when I'm sure but I'm beting you will need to change the source code.

Cheers,


Paul Davis
 
New Post
3/16/2006 2:09 AM
 

Thanks for the response Adeian. I think you are right. I'm noticing that alot of modules have styles defined in the object source. I wonder why these objects don't use externally linked .css files. Some do, some don't.

I wonder if this would be a modification consideration for the core framework as well as having anyone writing custom modules to implement as well? This would certainly provide more flexibility in terms of integration and site design.

I'm running into this problem all over the place.

Any thoughts from the core team as to this type of approach with the framework? It shouldn't be too hard to do and I think this would provide a more attractive option to people evaluating DNN for their sites.

Had I known this would be an issue, I would have given DNN a second thought as my choice platform. I can't now, as I have too much time invested in customizing it to suit mine and my client's purposes.


Definition: Expert - Someone with a good book and a 3-day headstart!

http://www.dnn-zone.net

 
New Post
3/22/2006 7:06 AM
 

The calendar's just not formatted at all, I just had the same problem, solved it and saw your post, so here you go. You have to edit the file archive.ascx; replace the calendar control with the following code:

   <asp:calendar id="calMonth" runat="server" summary="Events Calendar Design Table"
    CellPadding="0"
    SelectWeekText=" "
    SelectMonthText=" "
    BackColor="Transparent"
    BorderColor="Transparent"
    BorderStyle="None"
    width="100%"
    BorderWidth="0"
    NextMonthText="&lt;span style=color:#fff;&gt;&amp;raquo;&lt;/span&gt;"
    PrevMonthText="&lt;span style=color:#fff;&gt;&amp;laquo;&lt;/span&gt;"
    cssClass="pncEvents_Cal">
    <TitleStyle cssClass="pncEvents_CalHeader"></TitleStyle>
    <SelectorStyle cssClass="pncEvents_CalSelector"></SelectorStyle>
    <DayStyle cssClass="pncEvents_CalDay"></DayStyle>
    <SelectedDayStyle cssClass="pncEvents_CalSelectedDay"></SelectedDayStyle>
    <TodayDayStyle cssClass="pncEvents_CalToday"></TodayDayStyle>
    <DayHeaderStyle cssClass="pncEvents_CalDayHeader"></DayHeaderStyle> 
    <WeekendDayStyle cssClass="pncEvents_CalWeekendDay"></WeekendDayStyle>
    <OtherMonthDayStyle cssClass="pncEvents_CalOtherMonthDay"></OtherMonthDayStyle>
   </asp:calendar> 

 

Then add the css classes to your portal.css:

.pncEvents_Cal {

background-color: #219B37;

}

.pncEvents_CalHeader {

background-color: #F38E16;

height: 20px;

text-align: left;

box-sizing: border-box;

-moz-box-sizing: border-box;

color: #f0f0d8;

font-family: Arial;

font-size: 8pt;

line-height: 12pt;

letter-spacing:0.06em;

text-align: center;

border-left: 1px solid #cdcdcd;

border-right: 1px solid #cdcdcd;

}

 

.pncEvents_CalHeader td {

background-color: #F38E16;

height: 20px;

text-align: left;

box-sizing: border-box;

-moz-box-sizing: border-box;

color: #f0f0d8;

font-family: Arial;

font-size: 8pt;

line-height: 12pt;

letter-spacing:0.06em;

text-align: center;

}

.pncEvents_CalDayHeader {

background-color: #B3B2B2;

border: 1px solid #E4E4E2;

font-size: 10px;

font-weight: bold;

font-family: Arial;

text-align: center;

height: 25px;

color: #57574E;

}

.pncEvents_CalSelector {

color: #fff;

}

.pncEvents_CalDay {

background-color: #FFFFC0;

border: 1px solid #cdcdcd;

font-size: 10px;

font-family: Tahoma;

text-align: Left;

height: 25px;

width: 25px;

color: #232323;

text-align: center;

}

.pncEvents_CalToday {

background-color: #B1DA17;

height: 25px;

width: 25px;

text-align: left;

border: 1px solid #E4E4E2;

box-sizing: border-box;

-moz-box-sizing: border-box;

color: #fff;

font-family: Arial;

font-size: 8pt;

text-align: center;

}

.pncEvents_CalSelectedDay {

background-color: #B1DA17;

border: 1px solid #cdcdcd;

font-size: 10px;

font-family: Tahoma;

text-align: Left;

height: 25px;

width: 25px;

color: #232323;

text-align: center

}

.pncEvents_CalWeekendDay {

background-color: #E0E0E0;

border: 1px solid #ffffff;

font-size: 10px;

font-family: Tahoma;

text-align: Left;

height: 25px;

width: 25px;

color: #232323;

text-align: center

}

.pncEvents_CalOtherMonthDay {

background-color: #ffffff;

border: 1px solid #E4E4E2;

font-size: 10px;

font-family: Tahoma;

text-align: Left;

height: 25px;

width: 25px;

color: #cdcdcd;

text-align: center

}


Cheers,
Philipp Becker, Peppertree Solutions
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogBlog Archive Calendar formatting problems...Blog Archive Calendar formatting problems...


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