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 ForumsSurveySurvey04.00.20 Uses wrong css classes for survey04.00.20 Uses wrong css classes for survey
Previous
 
Next
New Post
11/25/2006 10:49 AM
 
THere has been some change where the "normal" classes are no longer used.  I updated and my survey's now use a large serif font rather then the skins smaller san-serif font.

Nothing looks worse then having a nice compact san-serif font throughout a page and right in the middle of it a large serif font section - it's obvious there is a problem.

I know it's minor relative to some of the other problems and installation errors, but this also does not make it usable.  Looking forward to an update...

Cheers!


PS: Michael, if you have not seen this, let me know and I'll send you a link....

Rob Poretti - Poretti Productions
 
New Post
11/25/2006 11:56 AM
 
This has been corrected in the recently submitted version. It takes about 40 days to go through the release process.


Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
11/28/2006 3:48 PM
 

Here's a solution that you could use.

  1. Open /DesktopModules/Survey/Survey.ascx
  2. Look at the third line (starts with "<asp:datalist")
  3. Right before the ">" at the end, put in "cssclass="survey"
  4. In your skin css, add a line that starts with ".survey td"
    1. Something like ".survey td { font-size:77%; font-family:Arial; }" but change the size and font

This is definitely not the best solution. I'm familiar with web development but new to DNN. I'd be interested in hearing a way that meshes with DNN.

Dan

 
New Post
11/28/2006 9:27 PM
 

Replace "Survey.ascx" with:

<%@ Control Language="vb" AutoEventWireup="false" Inherits="DotNetNuke.Modules.Survey.Survey" CodeFile="Survey.ascx.vb" %>
<asp:panel id="pnlSurvey" runat="server" visible="False">
<asp:datalist id="lstSurvey" runat="server" cellpadding="4" datakeyfield="SurveyId">
  <ItemTemplate>
  <asp:HyperLink id="cmdEdit2" ImageUrl="~/images/edit.gif" NavigateUrl='<%# EditURL("SurveyId",DataBinder.Eval(Container.DataItem,"SurveyId")) %>' Visible="<%# IsEditable %>" runat="server" />
            <asp:Label ID="QuestionLabel" runat="server" Text='<%# Eval("Question") %>' CssClass="NormalBold"></asp:Label><br />
            <asp:RadioButtonList ID="optOptions" runat="server" CssClass="Normal">
            </asp:RadioButtonList>
            <asp:CheckBoxList ID="chkOptions" runat="server" CssClass="Normal">
            </asp:CheckBoxList><br />
  </ItemTemplate>
 </asp:datalist>
<asp:linkbutton id="cmdSubmit" runat="server" resourcekey="cmdSubmit" CssClass="CommandButton">Submit Survey</asp:linkbutton>&nbsp;
<asp:linkbutton id="cmdResults" runat="server" resourcekey="cmdResults" CssClass="CommandButton">View Results</asp:linkbutton></asp:panel>
<asp:Label ID="Message_Label" runat="server" EnableViewState="False" CssClass="NormalBold"></asp:Label>
<asp:panel id="pnlResults" runat="server" visible="False">
 <asp:datalist id="lstResults" runat="server" cellpadding="4" datakeyfield="SurveyId">
  <itemtemplate>
   <asp:HyperLink id="cmdEdit2" ImageUrl="~/images/edit.gif" NavigateUrl='<%# EditURL("SurveyId",DataBinder.Eval(Container.DataItem,"SurveyId")) %>' Visible="<%# IsEditable %>" runat="server" />
   <asp:Label ID="lblQuestion2" Runat="server" CssClass="NormalBold" Text='<%# FormatQuestion(DataBinder.Eval(Container.DataItem,"Question"),lstResults.Items.Count + 1) %>'>
   </asp:Label><br>
   <asp:label id="lblResults" runat="server" cssclass="Normal"></asp:label>
   <br>
  </itemtemplate>
 </asp:datalist>
 <asp:linkbutton id="cmdSurvey" runat="server" resourcekey="cmdSurvey" cssclass="CommandButton">View Survey</asp:linkbutton>
</asp:panel>



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
12/5/2006 8:49 PM
 
Thanks Michael,

That worked perfectly...

Cheers!

Rob Poretti - Poretti Productions
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurvey04.00.20 Uses wrong css classes for survey04.00.20 Uses wrong css classes for survey


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