Products

Solutions

Resources

Partners

Community

About

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 ForumsEventsEventsEvent List Title font changes after opening eventEvent List Title font changes after opening event
Previous
 
Next
New Post
11/11/2009 2:48 PM
 

I'm running DNN 5.01.04 and Events 5.0.2. My default view on the Events module is List. When I click on the event Title to open up the event detail, and then return back to the Event List the Title's font changes from 7pt to something to 12pt. I'm using the FixedBlue theme. It remains that way when I revisit the site, but eventually switches back to 7pt as layed out in the FixedBlue.css under the ThemeFixedBlue.ListTitle style for the Events module.

Has anyone experienced this? Is there a work around? This is very annoying, and not very professional looking.

BTW, I have modified my EventList.ascx slightly (highlighed in brown), but nothing that I can see is causing this issue (perhaps another pair of eyes will help :D). Here's the content of my EventList.ascx:

<%@ Register TagPrefix="evt" TagName="Category" Src="~/DesktopModules/Events/SelectCategory.ascx" %>
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="EventList.ascx.vb" Inherits="DotNetNuke.Modules.Events.EventList" %>
<div align="center">
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>
            <td align="center" height="19">
                <evt:Category ID="SelectCategory" runat="server">
                </evt:Category>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:DataGrid ID="lstEvents" CellPadding="2" AutoGenerateColumns="False" runat="server" ShowHeader="False"
                    CssClass="ListDataGrid"  DataKeyField="EventID" Width="100%">
                 <AlternatingItemStyle CssClass="ListAlternate"></AlternatingItemStyle>
                    <Columns>
                        <asp:TemplateColumn>
                            <HeaderStyle CssClass="ListHeader"></HeaderStyle>
                            <ItemStyle CssClass="ListEdit"></ItemStyle>
                            <ItemTemplate>
                                <asp:ImageButton ID="btnEventEdit" runat="server" CausesValidation="false" CommandName="Edit" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"EventID") %>'
                                    ImageUrl="~/images/edit.gif" visible='<%# DataBinder.Eval(Container.DataItem,"EditVisibility") %>'/>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="From">
                            <HeaderStyle CssClass="ListHeader"></HeaderStyle>
                            <ItemStyle CssClass="ListDate"></ItemStyle>
                            <ItemTemplate>
                                <asp:Label ID="lblEventBegin" runat="server" Text='<%# format(DataBinder.Eval(Container.DataItem,"EventTimeBegin","{0:g}")) %>'>
                                </asp:Label>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="To">
                            <HeaderStyle CssClass="ListHeader"></HeaderStyle>
                            <ItemStyle CssClass="ListDate"></ItemStyle>
                            <ItemTemplate>
                                <asp:Label ID="lblEventEnd" Text='<%# format(DataBinder.Eval(Container.DataItem,"EventDateEnd","{0:g}")) %>' runat="server" Enableview_state="false">
                                </asp:Label>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="Event">
                            <HeaderStyle CssClass="ListHeader"></HeaderStyle>
                            <ItemStyle CssClass="ListTitle"></ItemStyle>
                            <ItemTemplate>
                                <asp:LinkButton CssClass="ListTitle" ID="lnkEvent" runat="Server" CommandName="Select" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"EventID") %>'
                                    Text='<%# DataBinder.Eval(Container.DataItem,"EventName") %>'>
                                </asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="Image">
                            <HeaderStyle CssClass="ListHeader"></HeaderStyle>
                            <ItemStyle Wrap="False" CssClass="ListLink"></ItemStyle>
                            <ItemTemplate>
                                <asp:Image ID="imgEvent" runat="server" Visible='<%# DataBinder.Eval(Container.DataItem,"ImageDisplay") %>' ImageUrl='<%# DataBinder.Eval(Container.DataItem,"ImageURL") %>' Enableview_state="false">
                                </asp:Image>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="Duration">
                         <HeaderStyle CssClass="ListHeader"></HeaderStyle>
                         <ItemStyle CssClass="ListDuration"></ItemStyle>
                         <ItemTemplate>
                          <asp:Label id="lblDuration" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"DisplayDuration") %>' Enableview_state="false">
                          </asp:Label>
                         </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="Category">
                         <HeaderStyle CssClass="ListHeader"></HeaderStyle>
                         <ItemStyle CssClass="ListCategory" ></ItemStyle>
                         <ItemTemplate>
                          <asp:Label id="lblCategory" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"CategoryName") %>' backcolor='<%# DataBinder.Eval(Container.DataItem,"CategoryColor") %>' Enableview_state="false">
                          </asp:Label>
                         </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="CustomField1">
                         <HeaderStyle CssClass="ListHeader"></HeaderStyle>
                         <ItemStyle CssClass="ListCustomField1"></ItemStyle>
                         <ItemTemplate>
                          <asp:Label id="lblCustomField1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"CustomField1") %>' Enableview_state="false">
                          </asp:Label>
                         </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="CustomField2">
                         <HeaderStyle CssClass="ListHeader"></HeaderStyle>
                         <ItemStyle CssClass="ListCustomField2"></ItemStyle>
                         <ItemTemplate>
                          <asp:Label id="lblCustomField2" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"CustomField2") %>' Enableview_state="false">
                          </asp:Label>
                         </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="Description">
                            <HeaderStyle CssClass="ListHeader"></HeaderStyle>
                            <ItemStyle CssClass="ListDescription"></ItemStyle>
                            <ItemTemplate>
                                <asp:Label ID="lblDescription" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"DecodedDesc") %>' Enableview_state="false">
                                </asp:Label>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                    </Columns>
                </asp:DataGrid>
            </td>
        </tr>
        <tr>
            <td align="center">
            </td>
        </tr>
    </table>
</div>
 

 
New Post
11/11/2009 2:58 PM
 

Hi Kyle,

Not sure what is causing your formatting problem. It may be worth posting a url to your site, so people can take a look.

On your edits of the ascx file, you shouldn't need to do this. You can set the header text via the standard Admin/Languagues dialogues. Also you can set the date format for the start and end dates through the templating options in the module settings.

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
12/5/2009 2:23 PM
 

I noticed this too. I presumed it was a "visited link" option in the CSS for the A tag, but haven't checked that out yet.

 
New Post
12/5/2009 4:03 PM
 

If you can provide a link to your site so we can take a look, that may help. Otherwise if you are using IE8 try having a look at what styles are being applied and where from using the developer tools (press F12, then Find --> Select Element by Click, then I use Trace Styles on the right hand side). You can use similar functionality in Firefox, don't know how that is done though.

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
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsEvent List Title font changes after opening eventEvent List Title font changes after opening event


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