rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: andreybbrv on January 30, 2011, 05:16:25 PM

Title: how to remove symbols // from %folder%
Post by: andreybbrv on January 30, 2011, 05:16:25 PM
hi all,

i need remove symbols // in html pages from comand - %folder%

please help.
Title: Re: how to remove symbols // from %folder%
Post by: Mars on January 30, 2011, 07:12:51 PM
{.replace|/| |%folder%.}  remove all / from %folder%

{.cut|2|-1|%folder%.} remove first / and last / from %folder%

 ;)
Title: Re: how to remove symbols // from %folder%
Post by: andreybbrv on January 30, 2011, 08:02:18 PM
many many thanks!  :D
Title: Re: how to remove symbols // from %folder%
Post by: andreybbrv on January 30, 2011, 08:11:07 PM
quick questions - where i can read about these comands?
Title: Re: how to remove symbols // from %folder%
Post by: andreybbrv on January 30, 2011, 08:23:10 PM
i think this command not working in tag title. please help.
Title: Re: how to remove symbols // from %folder%
Post by: Mars on January 31, 2011, 02:05:00 AM

1 the wiki http://www.rejetto.com/forum/index.php?topic=1939.msg1032472#msg1032472
   ( list of macros http://www.rejetto.com/wiki/index.php/HFS:_scripting_commands)

2 work  on all beta build wherever in the template on the place of %folder%.
Title: Re: how to remove symbols // from %folder%
Post by: andreybbrv on January 31, 2011, 05:58:47 AM
big thanks, on beta all works!
Title: Re: how to remove symbols // from %folder%
Post by: rejetto on January 31, 2011, 11:23:27 AM
with 2.2 you may opt to rely on javascript for such work, but that's not necessarily better
Title: Re: how to remove symbols // from %folder%
Post by: andreybbrv on January 31, 2011, 12:27:49 PM
what do you mean?
Title: Re: how to remove symbols // from %folder%
Post by: rejetto on February 10, 2011, 12:20:24 PM
that you can get the work done by the HFS scripting language (that runs on the server) or by javascript (that runs on the browser).
It's up to you.
Title: Re: how to remove symbols // from %folder%
Post by: andreybbrv on February 10, 2011, 12:37:38 PM
thank you!