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 ForumsFeedbackFeedbackHide SendersHide Senders'email address
Previous
 
Next
New Post
9/1/2007 1:42 PM
 

I explain better,

If you open link http://hotelpaolalucca.it/Default.aspx?tabid=220 you can see the message list of the posted message. I'd like to hide in the message list module the Sender's email! Is no good thing show it to everyone!

 
New Post
9/2/2007 10:03 AM
 

Uh! Now I see what you mean! Well... there is no setting in Feedback module that I can see... So, the only way I could do it is to alter ViewComments.ascx file in DesktopModules/Feedback folder. Find the following code there:

<TD colSpan="2">
    <asp:label id=lblAuthor runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "CreatedByEmail") %>' CssClass="head"></asp:label>&nbsp;&nbsp;
    <asp:label id="lblCategory" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "CategoryID") %>' CssClass="subhead"></asp:label>&nbsp;&nbsp;
    <asp:label id="lblDate" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "DateCreated") %>' CssClass="subhead"></asp:label>
    <asp:label id=lblFeedbackID runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "FeedbackID") %>' Visible="False"></asp:label><br>
    <asp:label id="Label1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Subject") %>' CssClass="subhead"></asp:label><br>
    <asp:label id="lblMessage" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Message") %>' CssClass="Normal"></asp:label>
</TD>

and add code in red:

<TD colSpan="2">
    <asp:label Visible="False" id=lblAuthor runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "CreatedByEmail") %>' CssClass="head"></asp:label><!--&nbsp;&nbsp; -->
    <asp:label Visible="False" id="lblCategory" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "CategoryID") %>' CssClass="subhead"></asp:label><!--&nbsp;&nbsp; -->
    <asp:label id="lblDate" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "DateCreated") %>' CssClass="subhead"></asp:label>
    <asp:label id=lblFeedbackID runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "FeedbackID") %>' Visible="False"></asp:label><br>
    <asp:label id="Label1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Subject") %>' CssClass="subhead"></asp:label><br>
    <asp:label id="lblMessage" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Message") %>' CssClass="Normal"></asp:label>
</TD>


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
9/3/2007 3:38 AM
 

Great! It's good! But it's better if possible show the senders name! With nothing about the sender is no credible feedbak. Add only the senders name without email is the right way for me. Is possible show it?

Very thanks!

 
New Post
9/4/2007 2:43 AM
 

Oddly enough, name of a sender isn't saved to a DB. It is only used inside the message text to indicate who the feedbacker is. Only email is saved to the DB.

If you want that kind of functinality added, either modify module or buy/write a custom one...


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
9/4/2007 12:13 PM
 

In version 4.4.2 of the feedback module (about to be released), you will be able to hide the email address (or even the name). both fields are being saved to the database upon submission.


AcuitiDP - Oracle Data Provider for DotNetNuke
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsFeedbackFeedbackHide SendersHide Senders'email address


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