Les articles publiés sur le site
-
|is_null
23 novembre 2010, par Mark — FiltersA PHP function used as a filter and which is applied here to the #ENV variable. This is used to test for the existence of a particular variable in the SPIP environment. It is sometimes necessary to differentiate between a variable that has "empty contents" and one which is actually (...) -
|is_null
Une fonction PHP utilisée comme filtre et qui s'applique à la balise #ENV. Elle permet de tester l'existence ou non d'une variable dans l'environnement SPIP. Il est parfois nécessaire de différencier une variable de « contenu vide » d'une variable « inexistante ». Ce filtre est là pour vous y aider. (...) -
Цикл в цикле
20 novembre 2010, par Serge Markitanenko — Создаем первый шаблонМы уже знаем, как вывести список статей, которые находятся в разделе. Теперь попробуем дополнить этот список информацией о разделе, в котором находятся статьи. Поехали. Вот код, который выполняет эту задачу: #TITRE #TITRE [(#TEXTE|justifier)] Страницу вызываем все так же http://yoursite.net/?id_rubrique=1. Теперь небольшие пояснения. (...) -
Раздел
19 novembre 2010, par Serge Markitanenko — Создаем первый шаблонСоздаем и выводим список статей - Создаем первый шаблон -
Один шаблон, несколько статей
15 novembre 2010, par Serge Markitanenko — Создаем первый шаблонПервое упоминание о контексте - Создаем первый шаблон