> Forums > Active Social > Themes and Templates > Active Social and digArticle: Adding digArticle to AS Profile
Last Post 30 Jan 2011 08:04 AM by Stephen Nill. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Informative
Stephen Nill
Customers
Stephen Nill
Post Count:152

--
28 Jan 2011 02:59 PM
    • Active Social Version: 1.9.1
    • DotNetNuke Version: 5.6.1
    I was pleased to learn of an easy method to add a tab to the AS Profile for SunBlogNuke's blog. Here is the article that showed me how to do this:

    http://www.sunblognuke.com/Blog/ent...-Tabs.aspx

    Is there a similar method for doing the same with other modules, particularly for digArticle articles? I've poked around and thought I had seen something in the past on this site, but cannot locate anything that describes how I could accomplish this. I'd very much appreciate being pointed in the right direction.

    Thanks,
    Steve
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    28 Jan 2011 03:05 PM
    moved to proper forum.

    This is really something best addressed by digArticle. Maybe one of our other customers using digArticle might be able to provide some more information.
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Stephen Nill
    Customers
    Stephen Nill
    Post Count:152

    --
    30 Jan 2011 08:04 AM
    My thanks to Mike at DigArticle for providing the following method of integrating DigArticle into Active Social's Profile:

    Create a page and add the DigArticle Dashboard. The page can be hidden. In my case I set the page permissions to All Users but I might change this to a specific role later. Make a note of the tabid for the page and mid for the module. (You might have to click into Settings for Dashboard in order to see the mid in the URL.)

    In Dashboard, select Articles as the Article Source. Under Filter, select Use User Filter. For the UserID Querystring, use "asuid" (without the quotes). Don't forget to apply the default or a template of your choice, then save.

    Go to /DesktopModules/ActiveSocial/config and copy profileviewtabs.config over to httpdocs/Portals/0/activsocial. (My portal is 0 but it could be whatever portal you're using for this.) The reason you're copying this file over is that it will prevent your modifications from being overwritten in future upgrades of Active Social.

    Open profileviewtabs.config in Notepad. Somewhere between

    <tabs loadmethod="0" setname="Default Profile Tabs">

    and

    <!--tabs>

    add

    <tab controlKey="articles" text="My Articles" isPostBack="true" hidden="false" permissions="" loadmethod="2">    <content>      <!--[CDATA[<active:moduleloader id="ctlArticles" TID="XXX" MID="XXX" runat="server" />]]-->    <!--content>  <!--tab>
     
    Replace "XXX" with the values for TID and MID that you noted. Save the file.

    That should do it.

    Steve
    You are not authorized to post a reply.
    > Forums > Active Social > Themes and Templates > Active Social and digArticle: Adding digArticle to AS Profile
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy