rejetto forum

how to remove symbols // from %folder%

0 Members and 1 Guest are viewing this topic.

Offline andreybbrv

  • Occasional poster
  • *
    • Posts: 21
    • View Profile
hi all,

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

please help.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
{.replace|/| |%folder%.}  remove all / from %folder%

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

 ;)



Offline andreybbrv

  • Occasional poster
  • *
    • Posts: 21
    • View Profile

Offline andreybbrv

  • Occasional poster
  • *
    • Posts: 21
    • View Profile
i think this command not working in tag title. please help.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
with 2.2 you may opt to rely on javascript for such work, but that's not necessarily better



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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.