Scott McCulloch Administrators
 Nuke Master Posts:14659


 |
| 1/16/2008 1:42 PM |
|
Yes, you can format the date in Monday 15 September 2008 using [CREATEDATE:D] I think. Or you can specify the parameters individually, [CREATEDATE:dddd dd MMMM yyyy] More information on date format strings can be found here |
|
Scott McCulloch Site Administrator |
|
|
Jean-Sylvain Boige Gold Membership
 Nuke Active Member Posts:43


 |
| 1/17/2008 7:58 AM |
|
Thank you Scott. I did not found that by myself.
D gives Tuesday, January 15, 2008
dddd dd MMMM yyyy gives Tuesday 15 January 2008
I'm in state to give you a link with to a site which is essentially composed of NewsArticle with templates. This could gives some good ideas. I'll post the link the next week when releasing in production.
Sébastien |
|
Team Aricie www.aricie.com |
|
|
Jean-Sylvain Boige Gold Membership
 Nuke Active Member Posts:43


 |
| 1/18/2008 1:51 PM |
|
Hello,
[CREATEDATE:dddd dd MMMM yyyy] don't work on Comment.item.html. Should be parsed by token parser but seems to be a missed token here.
Cheers,
Sébastien
|
|
Team Aricie www.aricie.com |
|
|
Jean-Sylvain Boige Gold Membership
 Nuke Active Member Posts:43


 |
| 1/21/2008 7:01 AM |
|
Relative to [HASLINK][/HASLINK] :
[HASLINKEDARTICLE][/HASLINKEDARTICLE] : this could be used on view.item to show a link "Read original article" or on listing for directly redirect to the orginal article.
[HASLINKEDFILE][/HASLINKEDFILE] : if the article have a linked file : this could be used on view.item or list.item in order to show a download file buton.
works with [HASNOLINK][/HASNOLINK]
For example :
[HASLINKEDARTICLE]
< a href="[LINK]">[TITLE] (external article)< /a >
[/HASLINKEDARTICLE]
[HASLINKEDFILE]
< a href="[LINK]"> < img scr="MydownloadButon.png" /> < /a >
[/HASLINKEDFILE]
[HASNOLINK]
< a href="[ARTICLELINK]">[TITLE] (internal article)< /a >
[/HASNOLINK]
|
|
Team Aricie www.aricie.com |
|
|
Mariette Knap Registered Users
 Nuke Master Posts:650


 |
| 1/21/2008 10:04 AM |
|
That is a great idea with HASLINKEDFILE. As long as it supports the secure storage in the file manager I am happy. |
|
Mariëtte Knap www.smallbizserver.net |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:14659


 |
| 1/22/2008 4:52 AM |
|
| Great guys, I'll add them in. |
|
Scott McCulloch Site Administrator |
|
|
SS Registered Users
 Nuke Newbie Posts:5

 |
| 1/22/2008 9:14 AM |
|
Any tokens to align a image? Something like: [IMAGE:left], [IMAGE:center], [IMAGE:right] Or tell me where I can edit the existing tokens, so i can add align="" Please help me someone... |
|
|
|
|
Joe Maier Gold Membership
 Nuke Wiz Posts:182

 |
| 1/22/2008 10:02 AM |
|
There is a token which renders just the URL (IMAGE or IMAGELINK). You can then create your img Tag from scratch. Another elegant solution is to embed the article in some div or td and apply a CSS class to that div, e.g. "HomepageNewsFeatured". You can then apply the desired image formatting via CSS in the portal.css, e.g.: td.HomepageNewsFeatured img { float:left; margin-bottom:10px; margin-right:10px; } Cheers, Joe |
|
maiersoft internet solutions - www.maiersoft.de Get your own managed DotNetNuke-Portal
|
|
|
Mike Riley Registered Users
 Nuke Newbie Posts:6

 |
| 1/22/2008 11:08 AM |
|
Posted By Jessynoo on 1/21/2008 7:01 AM
Relative to [HASLINK][/HASLINK] :
-snip-
For example :
[HASLINKEDARTICLE]
< a href="[LINK]">[TITLE] (external article)< /a >
[/HASLINKEDARTICLE]
[HASLINKEDFILE]
< a href="[LINK]"> < img scr="MydownloadButon.png" /> < /a >
[/HASLINKEDFILE]
[HASNOLINK]
< a href="[ARTICLELINK]">[TITLE] (internal article)< /a >
[/HASNOLINK]
I, too, would love to see something like this. Sometimes an article will have a link to a file, sometimes a link to a URL, sometimes it might have details, and sometimes it might have nothing. It would be nice to be able to use these.
I think it also might be a good idea to add [NOTHAS...] to be able to create If/Then type scenarios. |
|
|
|
|
ROBAX Gold Membership
 Nuke Master Posts:882


 |
| 1/22/2008 3:32 PM |
|
Posted By SSam on 1/22/2008 9:14 AM
Any tokens to align a image?
Something like: [IMAGE:left], [IMAGE:center], [IMAGE:right]
Or tell me where I can edit the existing tokens, so i can add align=""
Please help me someone...
Alignment is a design aspect and it really belongs in the template rather than in the token.
Edit your template file (either via the module menu or directly on the file system in the module's own templates folder) and add an alignment attribute or style to the tag that contains the token.
E.g. if [IMAGE] is sitting in a table cell then add align="left" to the TD tag
This is of course easier said than done if you're not familiar with these tasks... so ask again if it doesn't make sense.
Rob |
|
|
|
|
Marcos Hollanda Registered Users
 Nuke Super Newbie Posts:11

 |
| 2/03/2008 8:27 PM |
|
| Hi, I am in need of a [PAGETEXT] token in the News Articles Latest module. Is that an easy to do stuff? Which file should I edit in the source code pack? Thks. |
|
|
|
|
ty a Gold Membership
 Nuke Active Member Posts:35


 |
| 2/14/2008 5:34 AM |
|
Scott, can you add a token for unconstrained image sizes? currently [IMAGETHUMB:XXX:YYY] maintains aspect ratio but this is not desirable if you want the image to fit a specific dimension. maybe [IMAGETHUMB:XXX:YYY:ASPECTOFF]? |
|
|
|
|
ROBAX Gold Membership
 Nuke Master Posts:882


 |
| 2/14/2008 2:31 PM |
|
Posted By curlyfro on 2/14/2008 5:34 AM
Scott,
can you add a token for unconstrained image sizes? currently [IMAGETHUMB:XXX:YYY] maintains aspect ratio but this is not desirable if you want the image to fit a specific dimension. maybe [IMAGETHUMB:XXX:YYY:ASPECTOFF]?
I've harrassed Scott more than once about fixed-ratio thumbnail cropping because it vastly improves the look af a thumbnail gallery and also matches what all the places like Flickr do. I wouldn't want thumbs to be stretched, just cropped to a set size.
Scott, is there a chance this might make it into SG one day?
|
|
|
|
|
Ismet Dumlupinar Gold Membership
 Nuke Wiz Posts:182

 |
| 2/18/2008 2:16 AM |
|
Hello i would like to have [ARTICLELINK] token working at View.Footer.html, But it does not work. Can you implement this on next release? Why i am asking it is because, i would like to implement social bookmarking in view.footer.html file (my template is ready, but token needed) Thanks. |
|
DNN Tutorials DotNetNuke Turkish Community |
|
|
Ismet Dumlupinar Gold Membership
 Nuke Wiz Posts:182

 |
|
Scott McCulloch Administrators
 Nuke Master Posts:14659


 |
| 3/05/2008 12:55 AM |
|
| The header/footer of the article don't really do anything that you couldn't put in the item. Why not just put everything in the view.item.html, it's always 1 item anyhow? You would have these tokens available then. |
|
Scott McCulloch Site Administrator |
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:977


 |
|
Ismet Dumlupinar Gold Membership
 Nuke Wiz Posts:182

 |
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:977


 |
|
Ismet Dumlupinar Gold Membership
 Nuke Wiz Posts:182

 |
| 3/17/2008 2:14 PM |
|
DV i a m already using Social bookmarking in my English blog > with my small modification to Nina's template. But i was talking about another blog template in my last reply here. I haven't got time to update it yet. |
|
DNN Tutorials DotNetNuke Turkish Community |
|
|