Register   Login
     
  Latest Posts  
RE: Introducing the most powerful News Slider for Ventrian News Articles
by jhoelz on 3/19/2010 9:29 PM
Rich Snippets for Review, Ratings etc!
by georgelew on 3/19/2010 7:49 PM
Recently created articles are not shown in list
by atriage on 3/19/2010 11:18 AM
RE: News Articles Tokens
by spirit on 3/19/2010 10:43 AM
Author post count and link in listing.item.html
by mattbunce on 3/19/2010 10:18 AM
RE: News Article Detail and Lightbox
by spirit on 3/19/2010 10:12 AM
RE: News Article Detail and Lightbox
by ray-isc on 3/19/2010 9:49 AM
Using custom profile properties with [AUTHOR:XXX]
by mattbunce on 3/19/2010 9:34 AM
RE: NA Latest - Template question
by Blondie on 3/19/2010 9:23 AM
skin disfigured after click on article link
by jsw on 3/19/2010 9:11 AM
  Forums  
Subject: Allow free layout for NA Latest
Prev Next
You are not authorized to post a reply.

Author Messages
Joe MaierUser is Offline
Registered Users
Ventrian Wiz
Ventrian Wiz
Posts:182

9/18/2007 6:11 AM  

Hi Scott,

These days i've read some forum entry here dealing with a Newsticker and I've spent some time experimenting with News Artices -> JQuery integration, as this would allow for easy creation of some cute UI-effects, like fading Newstickers.

Many JQuery-Plugins i've seen request the data be rendered as an unordered list. But this is not possible with NA, as NA currently forces a table based layout.

What we need consequently is an "expert" mode, that allows for a completely free layout of the module's data.

E.g. something like this (i've replaced HTML braces with [ ])

Header: 

[ul id="news" class="newsticker"]

Body:

[li] [a href=[LINK]>[TITLE][/a] by [AUTHORUSERNAME] [div class="normal"] [SUMMARY:100] [/div]
[/li]

Footer:

[/ul]

If this would be possible any integration with JQuery would be quite easy.

Another option which would be very useful when integrating any Javascript libraries would be an option to "RegisterOnce" any scripts. This would prevent multiple module instances on a page to reference the same library multiple times. Maybe this is already part of DNN4.5+ - i just don't know.

What do yout think?

Cheers,
Joe

 


maiersoft internet solutions - www.maiersoft.de
Get your own managed DotNetNuke-Portal
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


9/18/2007 6:25 AM  
If you are in the layout mode, it should be free layout mode. Only advanced mode puts it in a datalist with the option to renders items per row.

So you would like a token that does a register once command?

Scott McCulloch
Site Administrator
Joe MaierUser is Offline
Registered Users
Ventrian Wiz
Ventrian Wiz
Posts:182

9/18/2007 6:54 AM  

Oh man,
how could i miss this. Surely layout mode works perfectly for free layouts. Very cool!

You can see a prototype of a NewsArticle Latest - JQuery - Newsticker integration here:

http://www.wolfsbau.de/Joe/JQueryNewsTicker.aspx

This fading newsticker changes its content every 4 seconds. Hovering the mouse pauses the animation. In this prototype I have put the script-tags in the module's Header-section.

A RegisterOnce Tag would definitely be helpful, as integration of Javascript libraries becomes more and more important.

Cheers,
Joe


maiersoft internet solutions - www.maiersoft.de
Get your own managed DotNetNuke-Portal
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


9/18/2007 7:53 AM  
That looks awesome! Great Work!

Scott McCulloch
Site Administrator
John TravoltaUser is Offline
Gold Membership
Ventrian Addict
Ventrian Addict
Posts:78

9/19/2007 8:05 AM  
Posted By maiersoft on 9/18/2007 6:54 AM

Oh man,
how could i miss this. Surely layout mode works perfectly for free layouts. Very cool!

You can see a prototype of a NewsArticle Latest - JQuery - Newsticker integration here:

http://www.wolfsbau.de/Joe/JQueryNewsTicker.aspx

This fading newsticker changes its content every 4 seconds. Hovering the mouse pauses the animation. In this prototype I have put the script-tags in the module's Header-section.

A RegisterOnce Tag would definitely be helpful, as integration of Javascript libraries becomes more and more important.

Cheers,
Joe


it's great looking stuff. How did you do it ? "scrip tags in module's Header-section" ?

Could you please explain that to ignorant dnn lover ?

Thanks

Joe MaierUser is Offline
Registered Users
Ventrian Wiz
Ventrian Wiz
Posts:182

9/19/2007 10:58 AM  

Glad you like it. It's easy enough, as the jquery javascript guys already did the hardcore stuff.
But OK - for all DNN-Lovers, and especially for Scott's module-lovers i've prepared a little tutorial:

http://www.wolfsbau.de/Joe/JQueryNewsTicker.aspx

Hope this helps,

Joe


maiersoft internet solutions - www.maiersoft.de
Get your own managed DotNetNuke-Portal
John TravoltaUser is Offline
Gold Membership
Ventrian Addict
Ventrian Addict
Posts:78

9/19/2007 12:33 PM  

Thanks Joe !

I think that litle things like this (as you aforesaid: "cute UI-effects") would make Scott's modules absolutely perfect !

Thanks again for sharing this with us all.

John T.

Steve TopilnyckyUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:180


9/19/2007 1:26 PM  
I'll second that.. Thanks for sharing.. These two items make for a great effect!

--
Regards,
Steve Topilnycky
Top Cat Computing | Marine Corps League - Westchester County Detachment | ArGoStuff | Young Marines of Westchester
You are not authorized to post a reply.
Forums > Modules > News Articles > Allow free layout for NA Latest



ActiveForums 3.7