rejetto forum

Needed Help on the [newfile] coding...

Guest · 4 · 2307

0 Members and 1 Guest are viewing this topic.

Stephen

  • Guest
Hi,

I'm using the terayon template and i was wondering if anyone can teach me how to insert the [newfile] coding into the terayon template. i'm not good in HTML coding. What should i add in order to get the NEW symbol for the new files that i just inserted into the HFS. i did tried to use codings from other template and inserted it into my terayon template but it does not work. Hope anyone here is kind enough to help me. Thanks in advance.   :)


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2048
    • View Profile
just have a look on the default template and the wiki (http://www.rejetto.com/forum/index.php?topic=5542.0), and you can see how he is working, very easy.

%new% is replaced by the content of section [newfile]

you can so use the macro {.if|{.get|is new.}|NEW.}


Offline Giant Eagle

  • Tireless poster
  • ****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
The Terayon template has this feature built-in, but this feature is disabled by default by HFS.

To enable this feature, go to Menu -> Virtual File System -> Flag files added recently. Enter a value in minutes for long you want a file to keep the 'NEW' flag.


Stephen

  • Guest
thanks a lot for that info. i didn't know it was there since i used that template. cool... Thank you very much guys...  :D