Author Topic: how to remove symbols // from %folder%  (Read 1705 times)

0 Members and 1 Guest are viewing this topic.

Offline andreybbrv

  • Occasional poster
  • *
  • Posts: 21
    • View Profile
how to remove symbols // from %folder%
« on: January 30, 2011, 05:16:25 PM »
hi all,

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

please help.

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1890
    • View Profile
Re: how to remove symbols // from %folder%
« Reply #1 on: January 30, 2011, 07:12:51 PM »
{.replace|/| |%folder%.}  remove all / from %folder%

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

 ;)

Offline andreybbrv

  • Occasional poster
  • *
  • Posts: 21
    • View Profile
Re: how to remove symbols // from %folder%
« Reply #2 on: January 30, 2011, 08:02:18 PM »
many many thanks!  :D

Offline andreybbrv

  • Occasional poster
  • *
  • Posts: 21
    • View Profile
Re: how to remove symbols // from %folder%
« Reply #3 on: January 30, 2011, 08:11:07 PM »
quick questions - where i can read about these comands?

Offline andreybbrv

  • Occasional poster
  • *
  • Posts: 21
    • View Profile
Re: how to remove symbols // from %folder%
« Reply #4 on: January 30, 2011, 08:23:10 PM »
i think this command not working in tag title. please help.

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1890
    • View Profile
Re: how to remove symbols // from %folder%
« Reply #5 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%.

Offline andreybbrv

  • Occasional poster
  • *
  • Posts: 21
    • View Profile
Re: how to remove symbols // from %folder%
« Reply #6 on: January 31, 2011, 05:58:47 AM »
big thanks, on beta all works!

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: how to remove symbols // from %folder%
« Reply #7 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

Offline andreybbrv

  • Occasional poster
  • *
  • Posts: 21
    • View Profile
Re: how to remove symbols // from %folder%
« Reply #8 on: January 31, 2011, 12:27:49 PM »
what do you mean?

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: how to remove symbols // from %folder%
« Reply #9 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.

Offline andreybbrv

  • Occasional poster
  • *
  • Posts: 21
    • View Profile
Re: how to remove symbols // from %folder%
« Reply #10 on: February 10, 2011, 12:37:38 PM »
thank you!