Les articles publiés sur le site
-
Displaying the most recent articles per section from your editors
17 août 2010, par Mark — A few examples of loopsBy default, SPIP proposes an author's page which enables you to reveal the list of authors/editors who participate to your site, as well as their most recent contributions. But a problem might arise if you have numerous contributing editors who actively participate on a frequent basis on your (...) -
The templates for embedding documents and their filters
17 août 2010, par Mark — Multimedia and graphical processesAny documents attached to an article are most often presented outside of its main body text, often in a sort of logically separated portfolio. SPIP actually allows any of these documents to be referenced at any arbitrary location within that main body text. This can be implemented either with a (...) -
The HTML structure of forms in SPIP 2
17 août 2010, par Mark — InteractivityA reference document detailing how forms in SPIP should be structured HTML structure A basic form is structured as follows: A legend An explanatory text Email #AIDERarttitre Label explanation Error message The surrounding div is assigned the generic class formulaire_spip. Data entry forms in (...) -
Joins between tables
17 août 2010, par Mark — A few examples of loopsSome examples of loops that generate multiple joins between 3 tables [spip 2.0.9] We would like, in a single loop, to retrieve the data from some articles from one (or several) sections to which a predetermined keyword has been assigned. will generate the following SQL query: SELECT (...) -
{collecte}
17 août 2010, par Mark — CriteriaThe collecte criteria is used to specify the "collation" to use for the request generated by the loop (by making a call with the "COLLATE" clause in MySQL [1]). The collecte criterion, (since SPIP 2.0), is used to force the SQL query generated by the loop to which it is attached to use a (...)