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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDetailspageDetailspage
Previous
 
Next
New Post
1/13/2012 6:39 AM
 
Hello,

Im developing a news module for our website. The newsmodule is located at the front page and lists the 3 latest news and truncates after 250 characters and injects a "Read More..." - link at the end. So far so good.

What I want is to link the "read more" link to a new page (view-controller) and display the full news article there with the right portalskin. This must be possible right?

I have created a new view controller called 'details.ascx' and registreded it as a moduledefinition. In my newsarticleslist at the frontpage I have a asp repeater listing the articles. In the itemtemplate I have a hyperlink that contains:

<asp:HyperLink runat="server" ID="lnkTags2" Text="TESTLINK" NavigateUrl='<%#DotNetNuke.Common.Globals.NavigateURL(TabId, "Details", "mid=" + ModuleId, "aid", ((int)DataBinder.Eval(Container.DataItem,"ArticleId")).ToString())%>'>TEST</asp:HyperLink>

When I click the link it navigates to my detailscontroller but the skin is som sort of adminskin or something.
How can I maintain my portalskin?

 
New Post
1/14/2012 1:48 PM
 
Anyone? This must be possible?
 
New Post
1/15/2012 2:44 PM
 
If you look at ventrian news article module. This is exactly what I want.
When you click the title of the news or the "Read more" link you will get to a new page where the whole news article is listed.with proper skin.

 

http://www.ventrian.com/Products/Modu...

 

 
New Post
1/18/2012 4:04 AM
 
Hi, just a thought (I'm not a developer so can't help you directly) but it occurs to me that the core Blog module operates like that as well. Would looking at the source code for that module give you some insight? As I said, just a thought. Or just use the core Blog module, I always use it for a news blog.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDetailspageDetailspage


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