
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (55)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (6286)
-
Evolution #4102 : Ordre des inclures dans cache/charger_plugins_options.php
8 juillet 2019, par cam.lafit -Salut
Ma solution n’est pas bonne non plus. On peut selon l’ordre d’appel devoir encapsuler le code d’un fichier options. Donc la solution de @placido est plus pertiente. Le patch suivant ne casse pas le comportement par défaut de SPIP et permet de charger avant un bout d’options.
Soit le pluginA ayant besoin de surcharger les options de pluginB, si on fait
pluginA/pre_pluginB_options.php
alors l’ordre de chargement devrait être :pluginA/pre_pluginB_options.php
pluginB/pluginB_options.php
pluginA/pluginA_options.php
- <span class="CodeRay"><span class="line head"><span class="head">--- </span><span class="filename"><sans nom="nom"></sans></span></span>
- <span class="line head"><span class="head">+++ </span><span class="filename"><sans nom="nom"></sans></span></span>
- <span class="line change"><span class="change">@@</span> -821,7 +821,25 <span class="change">@@</span></span>
- $boutons = array();
- $onglets = array();
- $sign = "";
- <span class="line delete"><span class="delete">-</span></span>
- <span class="line insert"><span class="insert">+</span> </span>
- <span class="line insert"><span class="insert">+</span> /* pre fonctions/options charger un fichier avant celui du plugin concerné */</span>
- <span class="line insert"><span class="insert">+</span> foreach ($ordre as $p => &$info) { </span>
- <span class="line insert"><span class="insert">+</span> foreach($ordre as $plugin_pre_charge => $info_plugin_pre_charge) { </span>
- <span class="line insert"><span class="insert">+</span> $dir_type = $plugin_valides[$plugin_pre_charge]['dir_type'];</span>
- <span class="line insert"><span class="insert">+</span> $plug = $plugin_valides[$plugin_pre_charge]['dir'];</span>
- <span class="line insert"><span class="insert">+</span> $dir = constant($dir_type);</span>
- <span class="line insert"><span class="insert">+</span> $root_dir_type = str_replace('_DIR_', '_ROOT_', $dir_type);</span>
- <span class="line insert"><span class="insert">+</span> if (isset($plugin_valides[$plugin_pre_charge])) {</span>
- <span class="line insert"><span class="insert">+</span> foreach ($contenu as $charge => $v) { </span>
- <span class="line insert"><span class="insert">+</span> if (is_readable("$dir$plug/" . ($file = "pre_".$info['prefix'] . "_" . $charge . ".php"))) {</span>
- <span class="line insert"><span class="insert">+</span> $_file = $root_dir_type . ".'$plug/$file'";</span>
- <span class="line insert"><span class="insert">+</span> $contenu[$charge] .= "include_once_check($_file);\n";</span>
- <span class="line insert"><span class="insert">+</span> } </span>
- <span class="line insert"><span class="insert">+</span> }</span>
- <span class="line insert"><span class="insert">+</span> }</span>
- <span class="line insert"><span class="insert">+</span> }</span>
- <span class="line insert"><span class="insert">+</span> }</span>
- <span class="line insert"><span class="insert">+</span> </span>
- foreach ($ordre as $p => $info) {
- // $ordre peur contenir des plugins en attente et non valides pour ce hit
- if (isset($plugin_valides[$p])) {
- </span>
-
GStreamer x264enc not found
5 avril 2017, par Dominik SchreiberI installed GStreamer-0.10 and all modules (base, good, bad, ugly, ffmpeg) according to these instructions (browse through by clicking prev/next) :
http://www.linuxfromscratch.org/blfs/view/svn/multimedia/gst-plugins-ugly.htmlEverything seemed to have worked just fine but when I want to execute my pipeline I got this error :
glib.GError: no element "x264enc"
Apparently the module was not installed :
gst-inspect x264enc
No such element or plugin 'x264enc'After that I installed the codec by executing :
sudo apt-get install x264
This did not work either. So I installed the latest build manually :
http://www.videolan.org/developers/x264.htmlAfter a successful installation of x264 I ran ./configure on the gstreamer-0.10 ugly modules once again and found out about this :
configure: *** checking feature: x264 plug-in ***
configure: *** for plug-ins: x264 ***
checking for X264... no
configure: No package 'x264' found
configure: *** These plugins will not be built: x264
configure: creating ./config.statusA check if x264 is available seems to get fullfilled :
which x264
/usr/local/bin/x264I’m using ubuntu server 12.04 LTS. Any ideas what I have to do to compile this module properly ? Thanks !
-
GStreamer x264enc not found
5 avril 2017, par Dominik SchreiberI installed GStreamer-0.10 and all modules (base, good, bad, ugly, ffmpeg) according to these instructions (browse through by clicking prev/next) :
http://www.linuxfromscratch.org/blfs/view/svn/multimedia/gst-plugins-ugly.htmlEverything seemed to have worked just fine but when I want to execute my pipeline I got this error :
glib.GError: no element "x264enc"
Apparently the module was not installed :
gst-inspect x264enc
No such element or plugin 'x264enc'After that I installed the codec by executing :
sudo apt-get install x264
This did not work either. So I installed the latest build manually :
http://www.videolan.org/developers/x264.htmlAfter a successful installation of x264 I ran ./configure on the gstreamer-0.10 ugly modules once again and found out about this :
configure: *** checking feature: x264 plug-in ***
configure: *** for plug-ins: x264 ***
checking for X264... no
configure: No package 'x264' found
configure: *** These plugins will not be built: x264
configure: creating ./config.statusA check if x264 is available seems to get fullfilled :
which x264
/usr/local/bin/x264I’m using ubuntu server 12.04 LTS. Any ideas what I have to do to compile this module properly ? Thanks !