Les articles publiés sur le site
-
The calendar in [SPIP 1.8.2]
25 novembre 2010, par Mark — Other advanced functionsSPIP 1.8.2 makes it possible to view calendars in the public zone with the same kind of display as is visible in the private zone, and, more widely, to construct all manner of calendars using the page formatting tools available for such calendars. These possibilities are supplied with a new (...) -
|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 — Создаем первый шаблонСоздаем и выводим список статей - Создаем первый шаблон