Author Topic: Change Icons folder in Terayon ?  (Read 2335 times)

0 Members and 1 Guest are viewing this topic.

Offline K1d

  • Occasional poster
  • *
  • Posts: 12
    • View Profile
Change Icons folder in Terayon ?
« on: July 29, 2008, 10:27:56 AM »
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: 1934
    • View Profile
    • RAWR-Designs
Re: Change Icons folder in Terayon ?
« Reply #1 on: July 29, 2008, 11:12:48 AM »
What do you mean by a concrete folder?

Offline K1d

  • Occasional poster
  • *
  • Posts: 12
    • View Profile
Re: Change Icons folder in Terayon ?
« Reply #2 on: July 29, 2008, 12:26:05 PM »
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: 1934
    • View Profile
    • RAWR-Designs
Re: Change Icons folder in Terayon ?
« Reply #3 on: July 30, 2008, 03:44:59 AM »
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.