Register   Login
     
  Latest Posts  
RE: how to use news article source with dnn source to change and compile whole source code?
by nosa on 7/04/2009 9:02 AM
Dark background skin
by craig on 7/04/2009 5:55 AM
RE: Trial peroid
by glenwin on 7/04/2009 4:45 AM
RE: Different skin for View Item?
by cchufook on 7/03/2009 10:29 PM
RE: Different skin for View Item?
by swebster on 7/03/2009 10:10 PM
Different skin for View Item?
by cchufook on 7/03/2009 8:13 PM
RE: Human friendly URL not working--Urgent
by Madz on 7/03/2009 11:26 AM
RE: Friendly URL and DNN4.8.0 ?
by Madz on 7/03/2009 11:25 AM
Human friendly URL not working--Urgent
by Madz on 7/03/2009 11:11 AM
RE: Google Sitemap Revisited
by georgelew on 7/03/2009 4:26 AM
  Forums  
Subject: News Articles Tokens
Prev Next
You are not authorized to post a reply.

Author Messages
Dax DavisUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:344


4/23/2007 2:21 PM  
I think that is a good idea.
strenzUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:5

5/11/2007 5:44 AM  
Hello Scott. I think [POSTRATING] is missing from the list. Apparently it is only available for use in View.Footer.html.
ROBAXUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:882


5/27/2007 8:23 PM  

Hi Scott,

[HASBEENUPDATED] is a token that I found would be useful after attempting to add the date an article was updated to the template.

[HASBEENUPDATED] [LASTUPDATEDATE:XXX] [/HASBEENUPDATED]

The [LASTUPDATEDATE] token would need the XXX bit added so that the date could be formatted differently from (in this example, shorter than) the main date.

This would allow one to have something like this:

[HASBEENUPDATED] Updated [LASTUPDATEDATE:XXX] [/HASBEENUPDATED]

Resulting in this:

Posted by David on Tuesday, January 16, 2007 at 4:01 PM - Updated 17/01/2007

What u think?

Rob

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


5/28/2007 5:00 AM  
So the hasbeenupdated token, would look at the update date and if its not null, display something?

The only problem is that LastUpdate is always equal to something, even when creating an article, it gets assigned the CreateDate as the LastUpdate.

Scott McCulloch
Site Administrator
ROBAXUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:882


5/28/2007 6:49 AM  

I don't know how you do these things behind the scenes, but I'd guess something like:

If LastUpdateDate is later than PublishStartDate then HasBeenUpdated is true?

The point of all of it would be to only display e.g. "Article updated on LastUpdate" if the if the article has in fact been updated since it was published. As it stands, one can't hide the info until it is required. Or have I missed something maybe?

Rob
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


5/29/2007 6:30 AM  
Yes that sounds reasonabe.

Scott McCulloch
Site Administrator
Steve TopilnyckyUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:180


7/14/2007 2:42 PM  
Is the [ARTICLELINK] token available in the Print.Footer ? 

--
Regards,
Steve Topilnycky
Top Cat Computing | Marine Corps League - Westchester County Detachment | ArGoStuff | Young Marines of Westchester
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


7/16/2007 4:41 AM  
I don't think so, but because it's a single item, you could put everything in Print.Item.

Scott McCulloch
Site Administrator
Steve TopilnyckyUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:180


7/16/2007 5:06 AM  
Sounds like a plan..

--
Regards,
Steve Topilnycky
Top Cat Computing | Marine Corps League - Westchester County Detachment | ArGoStuff | Young Marines of Westchester
Mike RileyUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:6

8/30/2007 1:15 PM  

Is the first posting in this thread the current list of tags?  Or is it still the tags that were available in 2005?

If it's the original tags, is there ONE place that lists ALL of the currently available tags?

ROBAXUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:882


8/30/2007 4:10 PM  

hmmm I was under the impression that all tags were regularly added to the first post, but I've just checked the most recent tag I'm aware of [DETAILS] and it's not there.

Perhaps it's not complete?

Rob

ROBAXUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:882


8/30/2007 4:17 PM  
Ok, it's not complete... there are others missing as well... not to mention that the Latest articles module is mostly (but not 100%?) synced with the main module.. but I'm not sure if that's for all part of the main module or just the content part? The list certainly needs some sorting out at some point as it is really the only place that demonstrates all the power and flexibility of the module.

Scott, if you have any notes/records of the tokens, I don't mind formatting it into a document of some sort.

Rob
Déclic VidéoUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:977


8/31/2007 1:22 AM  

Thanks rob, that would be great !!!

DV


Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX
Julia ReshUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:71

11/06/2007 7:13 PM  
hi I want my create date format loo like this [CREATEDATE:dd/mm/yy] but instead on MONTH it shows MINUTES how to write the right format so it will show month????
y01nkUser is Offline
Registered Users
Nuke Master
Nuke Master
Posts:201


11/06/2007 9:17 PM  
Julia:

Try capital M's!


generated by sloganizer.net
Julia ReshUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:71

11/07/2007 12:04 AM  
thanks it helped I had to make it look like this dd/MM/yyyy
Déclic VidéoUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:977


11/14/2007 12:43 PM  
Rob, any news with your project to make this guide of token ???


DV

Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX
ROBAXUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:882


11/14/2007 1:20 PM  

I never heard anythign from Scott after that so I'm afraid I haven't.

But again, Scott, if you have a more extensive set of notes for the tokens than the list in the first post, I don't mind spending a little time putting them together and filling in the gaps to make it more useful for people.

I don't want to spend time on something that hasn't got backing or commitment from Scott to ensure it's complete and accurate and goes into sufficient detail about each item. Simply listing the tokens isn't enough.

Otherwise, yep I'll certainly still do it.

Rob

DUCVINH83User is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:2

12/10/2007 1:22 AM  

Thanks everybody very much ! I want to learn more about DNN 

Jean-Sylvain BoigeUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:43


1/16/2008 10:37 AM  

Hello Scott,

Is it possible to have a friendly formatted date ? > Monday 15 September 2008

Sébastien Fichot


Team Aricie
www.aricie.com
You are not authorized to post a reply.
Forums > Modules > News Articles > News Articles Tokens



ActiveForums 3.7