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
Sistemi.HrUser is Offline
Gold Membership
Nuke Newbie
Nuke Newbie
Posts:1

12/05/2008 3:27 AM  

Is the token list from the fist page of this thread updated regullary or what?

Thanks

Jason WilliscroftUser is Offline
Gold Membership
Nuke Newbie
Nuke Newbie
Posts:6

12/07/2008 8:19 PM  
Is there a reference list of tokens for the News Articles Archives module?
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


12/11/2008 5:57 AM  
Hmm, it doesn't look like it, I'll get them added to this thread.

Scott McCulloch
Site Administrator
Jeff CochranUser is Offline
Gold Membership
Nuke Super Newbie
Nuke Super Newbie
Posts:24

1/27/2009 11:19 AM  

Am i Missing an Expiry Date token?  I'd like to add the expiry date of an article in the Latest Articles HTML Body template, something like:

[EDIT]
{span class=normal}{a href="[LINK]"}[TITLE]{/a}{/span}{br}
{span class=normal}Expires: [EXPIRYDATE]{/span}{br}
{span class=normal}[SUMMARY]{/span}

Thanks,

Jeff

Mark ODonnellUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:36

1/27/2009 12:29 PM  

We need a [SUMMARY] token for customizing email templates for comments.

Also wanted to add the [ISAUTHOR] token as discussed here. http://www.ventrian.com/Support/ProductForums/tabid/118/forumid/4/postid/39776/view/topic/Default.aspx

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


1/28/2009 5:48 AM  
Your right, there is not an expiry date. I will need to add that in.

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


1/30/2009 5:38 AM  
Jeff, I went to implement expiry date, but it's already there, e.g. [PUBLISHENDDATE], [PUBLISHENDTIME], [PUBLISHENDDATE:XXX].

Scott McCulloch
Site Administrator
Tom KraakUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:135


2/02/2009 12:22 PM  
I would like to request [CREATEDATE:XXX] for comment date formatting. Thanks.

Tom Kraak
Seablick Consulting LLC
DNN SEO Quickstart Guide
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


2/16/2009 6:36 AM  
[CREATEDATE:XXX] in the latest release.

Scott McCulloch
Site Administrator
Ken RobbinsUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:45

2/24/2009 8:24 AM  
I have a situation where I'd like to post articles without an author, but my template is such that, without an author to display, it still displays the default text around where the author should be. Is there a token such as [HASAUTHOR][/HASAUTHOR] and [HASNOAUTHOR][/HASNOAUTHOR] for this type of situation? Or could there be?

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


4/05/2009 3:05 PM  
Hello,

In the first post, the token [ARTICLELINK:xxx] is missing.
DV FX

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


4/05/2009 3:08 PM  
Otherwise, I would like to know the difference in [CREATEDATE:xxx] and [POSTDATE] for the comment ?
I am using [POSTDATE], and it seems to me that the date has been changed (taking now the server date, and not the server timezone date. Is this possible ??

DV FX

Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


4/06/2009 6:53 AM  
[POSTDATE] is for comments and is the create date, and it looks to be not adjusted for timezones.

Scott McCulloch
Site Administrator
Déclic VidéoUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:977


4/06/2009 9:27 AM  
Hello Scott,

I have tested [CREATEDATE] as well as [CREATEDATE:ymd] in "ADMIN OPTIONS > EMAIL Templates".
It does not work (it is not converted into a date/hour).

I assume that [CREATEDATE] as well as [CREATEDATE:ymd] can only work in SITE TEMPLATES ???? If not, can you investigate ?

Otherwise, what is the solution to obtain that "server time zone" is taken into account when posting ?
Thanks,

DV FX
PS: Did you see my remark concerning your list of token, there is one missing [ARTICLELINK:xxx]

Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


4/07/2009 5:16 AM  
As far as I can remember, CREATEDATE is for site templates ONLY and POSTDATE works for email templates.

When posting for timezone, I have already stated that [POSTDATE] does not take into account the time zone and have recorded it as an issue.

Yes, I saw your articlelink item.

Scott McCulloch
Site Administrator
Alex ShirleyUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:204

4/08/2009 12:49 PM  
Scott would it be possible to have a [PORTALID] token across the board? which is the current portalID... this will help with intigration with third party modules and portabilty of templates.
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


4/09/2009 8:14 AM  
Which template did you need [PORTALID] in?

Scott McCulloch
Site Administrator
Alex ShirleyUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:204

4/09/2009 8:32 AM  
Hi Scott

Pretty much everywhere where the author name is listed.
Thanks.
SatayuUser is Offline
Silver Membership
Nuke Active Member
Nuke Active Member
Posts:30

4/24/2009 11:12 PM  

- Is there a tag to show the roles a user is in? If I manually do [ISINROLE:RoleA], RoleA[/ISINROLE:RoleA]  etc. for every role I have, then I have to update the template everytime a new role is created.

- Is there a tag to show "no ratings yet" if no ratings were made yet (but rating enabled)? Something like [ISNORATING]not rated yet[ISNORATING] or [ISRATINGS:0]no ratings yet[/ISRATINGS:0] where [ISRATINGS:XXX][/ISRATINGS:XXX] is the number of ratings made.

- Can we change the rating from "1..2..3..4..5" to "very poor..poor..average..good..very good"?

- Can we change the rating to have images instead of radiobuttons or something else?

Michel BarreauUser is Offline
Gold Membership
Nuke Newbie
Nuke Newbie
Posts:4

5/14/2009 10:24 AM  

Hi Scott,

I use News Articles version 00.07.37 with DotNetNuke 04.09.03. In the View.Item.htm template, I try to use the tokens [LINKPREVIOUSURL] and [LINKNEXTURL] inside an anchor tag like this:

Instead the correct href url, I get the current page url with [LINKPREVIOUS] at end. It look like the tokens are not correctly replaced by the module!? Where I'm wrong?

Thanks

You are not authorized to post a reply.
Forums > Modules > News Articles > News Articles Tokens



ActiveForums 3.7