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 module redirectionblog module redirection
Previous
 
Next
New Post
3/20/2009 7:35 AM
 

Hi

In my blog website, in the blog on clicking a link, i want to redirect it to a html page which should be displayed in the right panel of same aspx page in which blog module is present.

Is it possible?. If so, then pls suggest all possible options. Awaiting your reply asap

Thanks,

Swaminathan

Web Application Engineer,

www.steadfastglobal.com

 

 

 
New Post
3/20/2009 10:24 AM
 

Hi Swaminathan,

unfortunately this is not possible. The module blog opens the entries loading a specific control in the same page where the module instance is placed. Note also that all tabs in DotNeNuke are a different flavor of the same Default.aspx page, that gets all the needed control inserted to display data.

Best regards,
Dario Rossa

 
New Post
3/20/2009 12:09 PM
 

This is an interesting problem.  While not possible with the blog module all by itself, you could get somewhat close to what you want with the help of a "helper" module.  It would not be perfect and it would also require some rearranging of your blog page and (perhaps) site skin to present things properly.
 
One Approach:
You could use a "helper" module to query the DB for log entries and then build custom links to those entries.  Your custom links would be configured to open in a different target than the host window (open in either a frame or a different browser window).  Since it sounds like you want just the blog posting itself to show in a separate area (not the entire web page the blog module is on), you'd need to display just the module itself with a "blank" skin and no container.  This is easy to do by leveraging DNN's built-in "print view" functionality.
 
I've previously posted a simple example of how to use a free "helper" module to query the DB and build custom links to Blog module entries here:
 
  Create a "Most-Commented Blogs" module
  http://www.eguanasolutions.com/DNN_Blog/EntryID/13.aspx

For your example you would not use the logic that counts comments but instead just provide the basic blog entry links, adding an appropriate "target" attribute to your link tags to open the links in a different frame or window.
 
 
As for showing just the module by itself, you'd need to include your module ID in the link URL in the form of "/mid/{your blog module id here}/" and append the rather long standard DNN "module print" querystring to specify a blank skin and no container.  The "module print" querystring to add to your links is:
 
   ?SkinSrc=%5bG%5dSkins%2f_default%2fNo+Skin&ContainerSrc=%5bG%5dContainers%2f_default%2fNo+Container


LINK EXAMPLE -- Let's say you have the following:

  • A frame or iframe on your web page with the name "showblog".  This is where you want the blog entry to appear after clicking a link from a list of blog entry links as provided by your "helper" module.
  • A blog module with the module id "125".
  • A blog entry with the link http://www.yoursite.com/Default.aspx?tabid=54&EntryID=8

You would want to use your "helper" module to present the user with a blog entry link (a very long link) in the following form:
 
   <a href="http://www.yoursite.com/tabid/54/mid/125/entryid/8/Default.aspx?SkinSrc=%5bG%5dSkins%2f_default%2fNo+Skin&ContainerSrc=%5bG%5dContainers%2f_default%2fNo+Container" target="showblog"> Your blog entry title here </a>

This will show only the blog entry in the target frame (or target browser window).
 
 
You would also need to prevent users from browsing directly to your blog module (you only want them to see entries in the target frame when they click a link in your "helper" module).  You need to keep the module public, though, so the easy way to hide it from users is to place it on a page and set the page to not be included in the menu.  You will also need to consider other aspects like the blog link that are inserted at the top of each blog entry, the blog search module, etc.  How intuitive will the various interfaces be (or will they even work at all) in a dual-frame setup?
 
As I said before, this is not at all a perfect solution but it does get reasonably close to what you described.  Hopefully this will give you an idea or two on how to approach your issue.
 
Good luck!
-mamlin


esmamlin atxgeek.me
 
New Post
3/21/2009 6:39 AM
 

Hi mamlin,

Thanks for detailed reply.

I will try the examples suggested by you and get back to you.

Thanks,

Swaminathan,

Web Application Engineer

www.steadfastglobal.com

 
New Post
3/21/2009 6:50 AM
 

Hi Dario,

Using dnn blogs module from the following link http://www.dotnetnukeblogs.com is it possible to enable tag cloud.

In the current dnn blog module instead of blog entries sub module, using above module to set the target link.

And since i want to display the result page with in the right panel of current page, iframe can be used.

I don't know whether using above modules whether i can enable tag cloud in my blog.

I have not tried it yet. i just wanted your sugestion.

Thanks,

Swaminathan

Web Application Engineer,

www.steadfastglobal.com

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogblog module redirectionblog module redirection


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