> Forums > Active Social > Themes and Templates > How to create a "Links" tab
Last Post 25 Mar 2010 01:23 PM by fatgeorge. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Larry
Customers
Larry
Post Count:115

--
16 Mar 2010 06:15 AM
    I thought that I read somewhere that a tab could be created to display certain types of journal entries.  Instead of displaying Linkson the activiy tab, I want to create a separate Links atb and sjow them there.  Is this possible?
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7671

    --
    18 Mar 2010 12:13 AM
    Make a copy /desktopmodules/activesocial/config/profileviewstab.config to /portals/portalid/activesocial. This will make sure your changes don't get overwritten with each upgrade.

    Open your copy of profileviewstab.config and insert the snippet below to create a new tab.
    Save the file and you should see the new tab when you go back to your profile.
    <tab controlKey="links" text="[RESX:Links]" isPostBack="true" hidden="false" permissions="" loadmethod="2">
            <content>
                <![CDATA[<active:JournalList id="lstJournalLinks" UseStaticTemplate="True" JournalTypeId="7"  runat="server" JournalMode="0">
               <headertemplate>
                    <ul class="asjournallist">
               </headertemplate>
                <itemstemplate>
                    <li><h2>[AS:JOURNALINFO:DATECREATED]</h2></li>
                    <li class="asjournalrow" style="position:relative;">
                        <div style="float:right;position:absolute;top:0px;right:0px;">[AS:CONTROL:JOURNALACTIONS]</div>
                        [AS:JOURNALITEM:TEMPLATE]
        <table class="asjournalrowitem">
            <tr>
                <td>[AS:JOURNALINFO:JOURNALAUTHORPICTURE]</td>
                <td class="asjournalcell">[AS:JOURNALINFO:AUTHORNAMELINK]
                <table>
                    <tr>
                        <td>[AS:JOURNALINFO:IMAGE]</td><td>[AS:JOURNALINFO:SUBJECT]<br />[AS:JOURNALINFO:SUMMARY]</td></tr></table>
                        <br /><div class="asjournalbtm">[AS:JOURNALINFO:ICON] [AS:JOURNALINFO:TIMEFRAME] [AS:JOURNAL:LINKOPTIONS] 
                        [AS:CONTROL:COMMENTLINK] <a href="[AS:JOURNALINFO:DI:URL]">[RESX:More]</a></div>
                        </td>
                    </tr>
                    <tr>
                        <td></td><td style="width:100%;">[AS:CONTROL:COMMENT]</td></tr></table>
                            [/AS:JOURNALITEM:TEMPLATE]
                            
                    </li>
                   
                        
                </itemstemplate>
                <noresultstemplate>
                    <li>[RESX:Journal:NoItems]</li>
                    
                </noresultstemplate>
                <footertemplate>
                    </ul>
                    <div align="right">[AS:CONTROL:PAGER]</div>
                </footertemplate>
            </active:JournalList>]]>
            </content>
        </tab> 
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Frozen DNN
    Customers
    Frozen DNN
    Post Count:1326

    --
    18 Mar 2010 02:31 AM
    Thanks.
    I am using the latest AS/AF/DNN available.
    Thanks.
    Larry
    Customers
    Larry
    Post Count:115

    --
    25 Mar 2010 12:57 PM
    Thanks! I will sudy the code and give it a whirl.
    fatgeorge
    Customers
    fatgeorge
    Post Count:291

    --
    25 Mar 2010 01:23 PM
    How could I modify this to list the links alphabetically?
    You are not authorized to post a reply.
    > Forums > Active Social > Themes and Templates > How to create a "Links" tab
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy