rejetto forum

Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: K1d on July 29, 2008, 10:27:56 AM

Title: Change Icons folder in Terayon ?
Post by: K1d 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)
Title: Re: Change Icons folder in Terayon ?
Post by: TSG on July 29, 2008, 11:12:48 AM
What do you mean by a concrete folder?
Title: Re: Change Icons folder in Terayon ?
Post by: K1d 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?
Title: Re: Change Icons folder in Terayon ?
Post by: TSG 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.