кодирование URL строки
  • AlexMQAlexMQ
    Posts: 18Member


    есть ссылка из tpl
    <a
    href="/{{$gimme->language->code}}/page/author/?name={{
    $gimme->author->number|escape:'url':'utf-8' }}">{{
    $gimme->author->name }}</a>


    в другом файле код

    {{php}} 
          $test = $this->get_template_vars('author_64'); 
          $test = base64_decode($test);
          $this->assign('author_const', $test);
      {{/php}}
     {{ list_articles length="1" constraints="author is `$author_const`" ignore_issue="true" ignore_section="true" }}    

    почему следующая конструкция возвращает FALSE?
    {{ if $gimme->author->name == $author_const }}
  • 1 Comment sorted by
  • AlexMQAlexMQ
    Posts: 18Member
    в догонку:   Может есть другой способ кодирования URL