> Forums > Active Forums > Themes and Templates > Topic View Module?
Last Post 24 Jun 2011 12:11 PM by Duane. 6 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Duane
Customers
Duane
Post Count:415

--
20 May 2011 07:29 PM
    • DotNetNuke Version: 5.6.2
    • Active Forums Version: 4.3.5
    Is there a way to display just a topic view not the forum view? What we are trying to do is use AF to create conversation based off of our event module information. We will display event data (Roll Call from previous event) and use topics to get replies.


    Duane
    Customers
    Duane
    Post Count:415

    --
    22 Jun 2011 10:07 AM
    No comments? Geeezzzz


    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1644

    --
    22 Jun 2011 04:45 PM
    Sorry Duane, I am not familiar with any way to do this.


    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1644

    --
    23 Jun 2011 12:16 PM
    Hi Duane, I might have a way to do this using some jQuery. Could you provide a better description of what you are looking for?

    What I have can display an existing single topic (and replies) by itself on the page, using the topic id in the query string to select the topic. Clicking the reply button takes you to the reply editor, and submitting there takes you back to the actual topic in the forums, not the page with the cloned topic.


    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1644

    --
    23 Jun 2011 04:02 PM
    Here's what I have so far:

    1. Create new instance of Active Forums on the desired page. This cannot be the same page as your existing "source" forums. This new instance will act as a Topic Viewer.
    2. Enter the control panel of the new module.
    3. Go to Templates, and click Add Template
    Name: TopicLoader
    Subject: TopicLoader
    Type: Forum View
    4. Copy the contents of the attached text file, and enter it in the editor.
    5. Replace ENTER_FORUM_URL with the address for the "source" forums. Notice that it is only the part of the URL between the http:// and the tabid. Replace the ## with the actual tabid of your "source" forums. The way the script works is it directly gets the content from that address and loads it, almost like an iframe.
    6. Save the template.
    7. Go to Control Panel > Settings and change the Template to TopicLoader
    8. Exit the control panel.

    At this point the forums module should appear blank. Add the topic id of any topic that exists in the "source" forums to load it on this page.

    An example of the url would look like: http://site.com/forumloader/default...topicid=23

    If you already have values in the query string on the page, you can just add &topicid=23 on the end.

    You can load any topic on the same page using this method. Alternatively if you want to just have multiple static pages with specific topics, the contents of the template do not have to be loaded as an AF template. You will need to apply the AF module.css file to the page, though.

    TopicLoader.txt

    Duane
    Customers
    Duane
    Post Count:415

    --
    24 Jun 2011 11:51 AM
    Thanks Ben, I will give it a try.


    Duane
    Customers
    Duane
    Post Count:415

    --
    24 Jun 2011 12:11 PM
    Hi Ben, I am giving this a try and a little stump on the topicid I see a postid but not a topicid the URL I am working on is:
    http://dragboatracing.com/RaceRepor...eport.aspx

    I am trying to add a comment section at the bottom of the page where people can ask questions or post info about the times published at the top.


    You are not authorized to post a reply.
    > Forums > Active Forums > Themes and Templates > Topic View Module?
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy