-
Столкнулся с проблемой, которая пока тормозит дальнейшую разработку. У нас есть ряд файлов, которые содержат логику и представление. Например вывод комментариев или саму форму комментариев. В коде всё…
-
Может быть задам делетантский вопрос, но возникла проблема и уже без помощи не могу сообразить что делаю не так. Использую Extra чтобы быстро добавлять свои функции и плагины. Создал файл с телом функ…
-
https://github.com/bzick/fenom/issues/128
Наблюдается ошибка Render::isValid() -> Provider::getLastModified() -> Provider::getTemplatePath()
Из класса Render
``` php
...
$provider->getLastModified(k…
-
Столкнулся с проблемой использования модификатора или функции in для проверки наличия переменной в масиве данных.
вот так работает отлично
```
{if $var|in:$cfg.org_req} checked{/if}
```
а вот так …
-
Сегодня наткнулся на функцию [date](https://github.com/bzick/fenom/blob/master/src/Fenom/Modifier.php#L42)
но `{$var|date:'d.m.Y'}` не нашел в документации.
Это ошибка, или функция будет удалена в б…
-
Пытаюсь перейти со смарти, наткнулся на проблему не полной совместимости со смарти.
например синтаксис for в smarty
{for $i=0 to 3}
{/for}
что приводит к фечному циклу в феноме т.к. феном хочет to=3
…
-
Надоело пользоваться сонтаксисом от Smarty, поэтому на его основе собрал на скорую руку соответсвующий синтаксис для Fenom.
Если есть желающие привести его в божеский вид - милости прошу: https://gi…
-
For example:
```
$scope["else"]
```
can be replaced with
```
$scope['else']
```
Why you use `"` without interpolation needs? Its:
- slower (php engine checks if there is any interpolated vars)
- m…
-
При этом ранее в другом месте всё работало.
Не работает ни так {json_encode($l->volume_arr)}, ни если передать вывод через уже объявленную переменную
Массив содержит в себе:
{"20\u0442":{"id":0,"pal…
-
## Please add
- [Rain 3](http://www.raintpl.com/)
- [Haanga](http://haanga.org/)
- [Fenom](https://github.com/bzick/fenom)
## Links
- [[Benchmark] Smarty3 vs Twig vs Fenom](https://github.com/bzick/fe…
denji updated
10 years ago