Register   Login
     
  Latest Posts  
RE: Toolbar links at the top of the articles module
by wassis on 1/08/2009 12:59 PM
RE: Site hanging when posting comments
by smcculloch on 1/08/2009 12:10 PM
RE: Site hanging when posting comments
by smcculloch on 1/08/2009 12:00 PM
RE: Site hanging when posting comments
by glenwin on 1/08/2009 11:21 AM
RE: Layout Settings: Listing View
by smcculloch on 1/08/2009 10:36 AM
RE: Lightbox implementation
by smcculloch on 1/08/2009 10:35 AM
RE: 4.9.0 and 5.0.0 with Simple gallery
by smcculloch on 1/08/2009 10:34 AM
RE: Site hanging when posting comments
by smcculloch on 1/08/2009 10:33 AM
RE: Ligtbox effect does not working in DNN 5
by smcculloch on 1/08/2009 10:33 AM
Site hanging when posting comments
by glenwin on 1/08/2009 10:22 AM
  Forums  
Subject: News Articles Tokens
Prev Next
You are not authorized to post a reply.

Author Messages
chrisann kellyUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:84

9/27/2006 7:16 PM  

I am confused, is there a [PRINT] token to use for printer friendly versions?

Also, is there a way to list the last XX comments? Having the latest articles sorted by "most comments" is great, but actually showing the comments would be excellent. So instead of Latest Articles, you'd have "Latest Comments" with the first XX characters of the comment. (kinda like ths: http://blogs.chron.com/nickanderson/)

Can that be done currently?

Lastly, is there a way to show the archives in Calendar format instead of monthly format? So users can click on an actual date and be taken to that day's entries?

Jeff BullUser is Offline
Registered Users
Nuke Addict
Nuke Addict
Posts:76


9/27/2006 7:25 PM  
Does anyone know if there is a way to have articles that point to an external link open in a new window?

thanks
Chris WylieUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:94


9/27/2006 8:35 PM  
if you mean the "read more..." link opening in a new window - this is not currently supported - unfortunately.
Ulrik MotzfeldtUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:55

9/28/2006 12:14 PM  
Is it possible to have DISPLAYNAME like AUTHOR ?

Ulrik Motzfeldt
Sisimiut, Greenland
Robert AxfordUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:765


9/28/2006 1:36 PM  
Posted By jabull on 9/27/2006 7:25 PM
Does anyone know if there is a way to have articles that point to an external link open in a new window?

thanks

Here's some code to make that happen. Use both together in your Listing.Item.html

[HASLINK]Visit website[/HASLINK]

[HASMOREDETAIL]Read more[/HASMOREDETAIL]

Scott's [HASstuff] tokens are ideal for this sort of thing.

Regards,
Rob

Robert AxfordUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:765


9/28/2006 1:41 PM  

beh cr*p.. the forum has rendered the code instead of displaying it... here it is again, but with parentheses in place of angle brackets to stop it rendering.

[HASLINK](a target="_blank" title="Click to open this site in a new window" href='[LINK]')Visit website(/a)[/HASLINK]

[HASMOREDETAIL](a href='[ARTICLELINK]' title="Click to read the full article")Read more(/a)[/HASMOREDETAIL]

Change () back to <>

Rob

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


9/30/2006 7:08 AM  
Posted By tmcguire on 9/27/2006 7:16 PM

I am confused, is there a [PRINT] token to use for printer friendly versions?

Also, is there a way to list the last XX comments? Having the latest articles sorted by "most comments" is great, but actually showing the comments would be excellent. So instead of Latest Articles, you'd have "Latest Comments" with the first XX characters of the comment. (kinda like ths: http://blogs.chron.com/nickanderson/)

Can that be done currently?

Lastly, is there a way to show the archives in Calendar format instead of monthly format? So users can click on an actual date and be taken to that day's entries?



These are some great ideas, I personally like the calendar format too. The archives is currently only in the monthly format, but I can see a need for daily selections. I will add this to my list. (can you add it to the feedback center?)

I could make some enhancements to "News Articles Latest" to include the XXX comments, currently, you can only link to article, but comments would be great. (Can you also add it to the feedback center)


Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


9/30/2006 7:09 AM  
Posted By jabull on 9/27/2006 7:25 PM
Does anyone know if there is a way to have articles that point to an external link open in a new window?

thanks

I'll be addressing this shortly, stay tuned to the feedback entry on this item.

Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


9/30/2006 7:12 AM  
Posted By kalak on 9/28/2006 12:14 PM
Is it possible to have DISPLAYNAME like AUTHOR ?

Do you mean the new DisplayName entry available in later versions of DNN? I'm not sure I understand your question.

Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


9/30/2006 7:15 AM  
Posted By robax on 9/28/2006 1:36 PM
Posted By jabull on 9/27/2006 7:25 PM
Does anyone know if there is a way to have articles that point to an external link open in a new window?

thanks

Here's some code to make that happen. Use both together in your Listing.Item.html

[HASLINK]Visit website[/HASLINK]

[HASMOREDETAIL]Read more[/HASMOREDETAIL]

Scott's [HASstuff] tokens are ideal for this sort of thing.

Regards,
Rob



I actually met Will from Active Forums this week (while in the U.S.). He told me that you should be able to use some special tokens to handle posting code, so here goes:-

[code]Dim objTest as new TestController[/code]

Edit: It doesn't looked like it worked, I'll post some further info later.


Scott McCulloch
Site Administrator
Christopher MunozUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:6

10/11/2006 1:23 PM  
Posted By smcculloch on 9/30/2006 7:12 AM
Posted By kalak on 9/28/2006 12:14 PM
Is it possible to have DISPLAYNAME like AUTHOR ?

Do you mean the new DisplayName entry available in later versions of DNN? I'm not sure I understand your question.


I as well would like to have a [AUTHORDISPLAYNAME] or similar token added so that the "Display Name" from the user's profile can be used instead of the User or First/Last name combinations.
Jason HoningfordUser is Offline
Registered Users

Posts:10

10/15/2006 10:58 AM  
I don't see the tags for the menu.item.html? I don't want people to see a menu. I'm using this for press releases and just need a "return to press releases" link. But Admins should see "Create New Article." I guess I can just hard code these somewhere.
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


10/15/2006 7:29 PM  
Posted By portvista on 10/15/2006 10:58 AM
I don't see the tags for the menu.item.html? I don't want people to see a menu. I'm using this for press releases and just need a "return to press releases" link. But Admins should see "Create New Article." I guess I can just hard code these somewhere.


The menu.item.html is the name of the template you can select from the dropdown list.

Once shown, it shows the html to be displayed.

If you want to display a "return to press releases" (I assume on the viewing of an article), you would add that to "view.header.html", the complete list of tokens is available on this thread.

Scott McCulloch
Site Administrator
Robert AxfordUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:765


10/16/2006 1:28 AM  
Posted By portvista on 10/15/2006 10:58 AM
I don't see the tags for the menu.item.html? I don't want people to see a menu. I'm using this for press releases and just need a "return to press releases" link. But Admins should see "Create New Article." I guess I can just hard code these somewhere.

I think you're wanting to do what I also wanted when I first set this up... you basically don't want that menu visible to people browsing the site reading articles.

I hacked the menu around so that it vanishes unless you have rights to it. Because the forum will mess up the code, I've attched a zip with my version of menu.item.html

Replace yours with it and see if you like it... log in and out to see the differences.

The only remaining question is how to provide public access to the categories, search and syndication pages now that the text menu is gone. You can simply add new pages to the Solpart, but instead of making them pages, tick the box that makes them link to an existing page. Paste in the direct links to the required pages and you're set.

Mind you. for visitors, I just ditch those pages altogether now.

Hope that helps.

Rob


Attachment: Menu.Item.zip

Jason HoningfordUser is Offline
Registered Users

Posts:10

10/16/2006 4:30 PM  
You're right robax. I'll take a look at your file later thanks a lot!

News Articles is a nice way to add content to the website. I'm not sure why you, Scott, are trying to limit it to just articles. I'd like to put 1000 page manuals on there, but there's no real way of searching and sorting through a single "article." We will probably need to make our own table of contents for each article by just hardcoding links to the various pages.

It would be great if Articles had a TOC, or just links on the sides for each page.

As for the menu, "Create Article" seems to show up whether you have access to it or not.

Since I use the "Latest Articles" module on various pages to list only the articles I want people to read for that page, there is no reason to have a menu. Just a "go back" link. So, I hardcoded the menu links and put them in a Text module -- made it visible to  only the article managers.

The search isn't very configurable either. I don't use "Author" in any of my templates, so searching for "Author" doesn't makes sense.

Would be nice if summary was not required or could be hidden. It just adds confusion to  my clients.

Guess we need a usability work-up on this! ;) But it's the best "content manager" I've seen that isn't "Forums!"
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


10/17/2006 5:57 AM  
There is a new [PAGES] token that displays a dropdown list of pages within an article, does this help?

The "Create Article" should not appear to non-authors? Is this happening for you? Have you modified menu.item.html ?

I have a large usability report from flatburger for News Articles, so yes, it will be getting a revamp.

Scott McCulloch
Site Administrator
erik hindsUser is Offline
Registered Users
Nuke Addict
Nuke Addict
Posts:63

10/26/2006 11:28 AM  
Is there an update list and explination of the tokens? The link in the template creator sends you here. I don't think rolling through this thread is not the best way to get this information. I have to teach someone how to use this module, and having a up-to-date, one-stop-shop for this information would be very benifitial to new users.

Suggestion: how about using the User Defined Table module.

Thanks for the great product. I appreciate your support!!

My DNN Sites:

www.nlsales.com | www.blackhawksurfaces.com | www.500fifthavenuesalon.com|www.midwestfilmandvideo.com
Sijmen MolemanUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:18

11/15/2006 2:47 PM  

Hi Scott,

What I miss in the original article about tokens is which tokens I can use in the email templates.

Thanks, Sijmen 

Philipp BeckerUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:146


12/07/2006 9:33 AM  
Just to come back on the Print token topic - I really think that this should be handled by a dedicated newsarticle print page. Prollem now is

1) Multipage articles - these should be printed as single document

2) Comments - should not be printed

You propably need a print template.

Cheers, Philipp

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


12/07/2006 5:15 PM  
I built a print page for "property agent", would this meet your needs if it was ported accross and displayed all pages (with no comments)

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > News Articles > News Articles Tokens



ActiveForums 3.7