SPIP 3.2 - SPIP (original) (raw)

SPIP 3.2 is an improved version of SPIP 3.1, which includes an update of embedded JavaScript libraries, better ergonomics of the private space as well as many improvements.

Table of contents

Here are the details of the evolutions

Javascript

jQuery

Important: These changes imply that it is strongly recommended to update the scripts using jQuery. This mainly concerns the following changes:

jQuery UI

Important: These changes imply that javascript calls that load jQuery UI modules with $.getScript() will no longer work. You can either load jQuery UI globally into your templates, or via the jqueryui_plugins pipeline for a plugin, or use $.getScript() on the path of the file "jquery-ui.js" directly.

So:

$.getScript("#CHEMIN{prive/javascript/ui/core.js}", function(){
$.getScript("#CHEMIN{prive/javascript/ui/widget.js}", function(){
$.getScript("#CHEMIN{prive/javascript/ui/mouse.js}", function(){
$.getScript("#CHEMIN{prive/javascript/ui/sortable.js}", function(){
// ...
})})})});

Could become:

$.getScript("#CHEMIN{prive/javascript/ui/jquery-ui.js}", function(){
// ...
});

JS Cookie

PHP

Core

Navigation items sorting & favourite entries
The plugin "Menu privé alphabétique" is integrated:

Simplifying the "correspondence cookie"

The button to enable this cookie in the private area was not explicit. Furthermore, the cookie eventually deactivated if an author regularly logged on to the same site. The solution chosen is to remove the notion (and the button) of "correspondence cookie", and to create the cookie (as admin) systematically when an author loges on and has the rights of access to the private area . The admin cookie is renewed at the same time as the session cookie, and removed when disconnecting.
Related Tickets: # 1740, # 1710.

Dependencies of plugins to PHP extensions

It is now possible to specify in paquet.xml that a plugin needs a PHP extension to work. Ticket #3829. An error will be displayed if the extension is not loaded. Syntax:

<necessite nom="php:curl" />
<necessite nom="php:xdebug" compatibilite="[2.0.0;]" />

Form

[(#FORMULAIRE_INSCRIPTION{6forum,0,#URL_PAGE{welcome}})]  

Criteria

Pipelines

Various tickets

Deleted files

Relocations

Suppression

Plugins

Online help

Archiviste

Image Filters

Grenier

Medias

<BOUCLE_docs(DOCUMENTS){id_article}{par rang_lien, num titre, titre, date}>  

.

Keywords

Organiser

Sites

SVP - Management of plugin

Extended URLs

Arborescent URLs (mainly) can handle multilingualism (multis fields on topics for example) and multiple parents (polyhierarchy).