rejetto forum

Change Icons folder in Terayon ?

K1d · 4 · 4263

0 Members and 2 Guests are viewing this topic.

Offline K1d

  • Occasional poster
  • *
    • Posts: 12
    • View Profile
Tell me please, whether it is possible to replace an icon of a concrete folder in Terayon and how it to make if it is possible?   (For each folder the icon)


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs

Offline K1d

  • Occasional poster
  • *
    • Posts: 12
    • View Profile
What do you mean by a concrete folder?

For a concrete folder (for example folder "UPLOAD") the icon. If such it is possible?


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
oh, I guess you could use a macro to find out if it is upload or not....

<a href="%item-url%" class="messageimagelink"><img src="{.if not|{.get|can upload.}|**YOUR ICON**|/template/icons/folder.gif.}" class="noIcon" alt=""/></a>

But I am unsure if 'get' works outside the folder for upload, and I think the icon wont show unless the user is logged in so it can detect that they can upload.