> Forums > Active Social > Themes and Templates > Working On Custom Views
Last Post 04 Nov 2011 06:30 PM by Jeff Blanks. 23 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Jeff Blanks
Customers
Jeff Blanks
Post Count:379

--
26 Apr 2010 12:43 AM
    I've been working on custom views very heavily lately, and have been able to complete 75% of what I'm trying to do. I've managed to create a floating panel that has individual panels that load custom views. Each panel is setup to where I can load any module in those locations. I've loaded all the panels into the below image to illustrate the power of what can be done with jQuery and CSS. The panels are visible only one at a time and stays open until clicked outside the panel or closed. Data inside, such as links also work properly. I will eventually share with everyone how I did this, but time is short right now.

    Now, to my question. I've managed to create a "my groups" list filtered by userid, "online friends" filtered by userid and online users. All is working properly in my panels. What I'm trying to do now is create a custom view for messages and notifications. I think I'm on the right track but need a little more help to get there, if it's even possible at this time. I just couldn't find any good template examples throughout the code to guide my way.

    Will, Ben, anyone? I've attached my custom view for notifications in the below textfile. Any help on this from anyone is greatly appreciated.





    alertbox.txt

    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7667

    --
    27 Apr 2010 12:58 PM
    I'm not sure if it will be possible to create a custom view with the messaging controls. I would start by trying something like this in your customview:

    
    <active:messageinbox TemplateName="Messaging/MessageInbox" runat="server" />
    


    If the code above works, then create a new template file and go from there. Look at MessageInbox.ascx as a guide.


    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Jeff Blanks
    Customers
    Jeff Blanks
    Post Count:379

    --
    27 Apr 2010 08:15 PM
    I got it to work with custom views. The new inbox count and new alert count works properly. Currently will only display messages and not notifications. And shows all messages which is fine, because I think new messages get pushed to the top of the list.

    The only problem I have now is being able to filter on message type. I checked the DB and it seems this will be the only way to display notifications separate from regular messages. Looks like message types are from 0-5?  Zero being regular PM messages and all the others being notifications.

    Can we record this as a feature to be added to a future release? filterbymessagetype="0,1,2,3,4,5" or messagetype="1,2,3"

    Many Thanks! That put me on the right track.



    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    Steven Webster
    Customers
    Steven Webster
    Post Count:1661

    --
    27 Apr 2010 11:42 PM
    Jeff,
    This is amazing work. Any plan to or chance that you'll share some of this work.

    Edit - just read that you're buried and short on time before you an share.  No worries...if I can help with a write up let me know.


    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Ray Dixon
    Customers
    Ray Dixon
    Post Count:199

    --
    28 Apr 2010 01:03 AM
    Well done, Jeff!


    Lee
    Customers
    Lee
    Post Count:44

    --
    28 Apr 2010 01:39 PM
    Awesome Job, let us know when you have more time to share!


    - Lee
    www.EOConnect.com
    Jeff Blanks
    Customers
    Jeff Blanks
    Post Count:379

    --
    04 May 2010 09:43 PM
    The only problem I have now is being able to filter on message type. I checked the DB and it seems this will be the only way to display notifications separate from regular messages. Looks like message types are from 0-5?  Zero being regular PM messages and all the others being notifications.

    Can we record this as a feature to be added to a future release? filterbymessagetype="0,1,2,3,4,5" or messagetype="1,2,3"


    Should I submit this request to the "feature requests & topics" forum?

    On a side note, I have expanded on my previous custom views to include a login panel that opens with a custom view. In another month or so, I will have the time to share this with the community.





    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7667

    --
    05 May 2010 12:57 AM
    Yes, please submit a feature request.

    Amazing work!


    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Smart-Thinker
    Customers
    Smart-Thinker
    Post Count:533

    --
    31 May 2010 06:32 AM
    Just saw this thread - that looks incredible Jeff - hope you can share some tips soon!


    thanks
    Rodney Joyce
    PokerDIY.com - Connecting Poker Players
    Terry Sadler
    Customers
    Terry Sadler
    Post Count:269

    --
    31 May 2010 09:11 AM
    Agree..just saw it as well...awesome!


    Terry Sadler, CISSP
    Compass North Group, LLC

    Any man who may be asked in this century, what he did to make his life Worthwhile, can respond with a good deal of Pride and Satisfaction, "I served in the United States Navy". JFK
    Jeff Blanks
    Customers
    Jeff Blanks
    Post Count:379

    --
    27 Jul 2010 10:18 PM
    At it again! Just added a custom view embedded in my skin this time. Couldn't quite get the AS Controls to behave in a module pane. This is just a simple account pane with quick links.



    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    Tareq
    Customers
    Tareq
    Post Count:439

    --
    28 Jul 2010 09:26 AM
    That looks great Jeff. I like the idea of putting it in the skin. Excellent work


    Cliff Hammock
    Customers
    Cliff Hammock
    Post Count:649

    --
    28 Jul 2010 04:55 PM
    Are you using the mini login / welcome center on your site at all? Are you allowing any testing on your site? It would be good to see how some of your custom views are working.

    Cliff


    Jeff Blanks
    Customers
    Jeff Blanks
    Post Count:379

    --
    28 Jul 2010 11:45 PM
    Had some issues with parsing, so I had to take the code out of the skin and create a custom view after all. Was able to get it to work this time and still works the same as it did in the skin.

    I'm using the welcomecenter code for part of my skin in the bottom panes for notifications and the user link. Custom views loaded into a module pane for messages, friends online, groups. Code from the mini login as a custom view for the login pane loaded into another module pane.

    I'm securing the module panes and views with server code inside the skin, so they get properly displayed to guests and registered users. Also using some fancy jQuery to display the panes and gracefully degrades to links only. I do plan on sharing all this, just haven't had the needed time to get it out there. However, I've finally got my site in a dev environment online. Just not quite public yet. But I'm close!


    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    Ben Thompson
    Customers
    Ben Thompson
    Post Count:230

    --
    29 Jul 2010 01:13 AM
    The screenshots look fantastic ! Really look forward to the code share :)


    www.itproject.com.au
    Frozen DNN
    Customers
    Frozen DNN
    Post Count:1309

    --
    29 Jul 2010 02:30 AM
    Show off :)


    I am using the latest AS/AF/DNN available.
    Thanks.
    Jeff Blanks
    Customers
    Jeff Blanks
    Post Count:379

    --
    24 Oct 2010 12:23 AM
    This is a VERY rough guide to what I've done. Many of you other DNN users will quickly catch on to how this has been done.

    Keep in mind, I don't claim to be a developer or designer, but I have no problem sharing what I've done in hopes others can find it useful and improve upon it for the DNN community:

    http://jeffblanks.wordpress.com/201...gration-2/

    Feel free to leave comments here or on my recently created blog.


    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    Matt Marlor
    Customers
    Matt Marlor
    Post Count:375

    --
    24 Oct 2010 12:52 AM
    Really awesome work. I'd love to do something like this to list groups the user's a member of, etc. I'm using the message center embedded in the skin though, so it might be a bit too ambitious :-)


    AuTechHeads - An Australian group for geeks. Visit us at http://www.autechheads.com!
    Jeff Blanks
    Customers
    Jeff Blanks
    Post Count:379

    --
    25 Oct 2010 12:24 PM
    Posted By Matt Marlor on 24 Oct 2010 12:52 AM
    Really awesome work. I'd love to do something like this to list groups the user's a member of, etc. I'm using the message center embedded in the skin though, so it might be a bit too ambitious :-)

    I've got custom views for online friends and groups filtered by the user that are placed in a module instance rather than in the skin. Don't have access to them right now, but I should have them out next weekend.


    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    Adam Jones
    Customers
    Adam Jones
    Post Count:374

    --
    25 Oct 2010 12:49 PM
    Looking forward to this getting implemented, and seeing it live. Great work.. Love the simplicity for the user controls right from the drop down.


    Adam Jones http://www.JapanBases.com
    Jeff Blanks
    Customers
    Jeff Blanks
    Post Count:379

    --
    31 Oct 2010 08:15 PM
    Update:

    Ive posted some sample views that can be loaded into seperate module instances. These views are the ones I use for my floating panes.

    http://jeffblanks.wordpress.com/201...-part-1-2/

    This'll be my last post to share for a while so enjoy! I gotta crack the whip and get my site done!


    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    Adam Jones
    Customers
    Adam Jones
    Post Count:374

    --
    02 Nov 2010 08:31 AM
    Great job


    Adam Jones http://www.JapanBases.com
    Ben Thompson
    Customers
    Ben Thompson
    Post Count:230

    --
    04 Nov 2011 08:27 AM
    Jeff,
    1 year on.... how does this look ?
    Your articles on AS customization are fantastic
    Ben


    www.itproject.com.au
    Jeff Blanks
    Customers
    Jeff Blanks
    Post Count:379

    --
    04 Nov 2011 06:30 PM
    Thanks,

    I'm actually pretty close. Just working out subscriptions and a couple other minor things before launch. The release of DNN 6 put me behind a bit because I wanted to learn it and move over to the 6 platform before release.

    Admittedly, I'm a one man show with a day job and it can suck sometimes.


    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    You are not authorized to post a reply.
    > Forums > Active Social > Themes and Templates > Working On Custom Views
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy