
Recherche avancée
Autres articles (60)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (6714)
-
Anomalie #3325 : (array) n’est pas suffisant pour convertir l’objet récupéré par l’itérateur YQL
29 octobre 2014, par Sylvain LesageL’URL est mal écrite, c’est : http://core.spip.org/projects/spip/repository/entry/spip/ecrire/iterateur/data.php#L563.
J’ai pas le dépôt SVN sous la main, mais le patch en gros pourrait être remplacer à la ligne 547
/** * yql -> tableau * @throws Exception * @param string $u * @return array|bool */ function inc_yql_to_array_dist($u) define(’_YQL_ENDPOINT’, ’http://query.yahooapis.com/v1/public/yql?&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&q=’) ; $v = recuperer_url($url = _YQL_ENDPOINT.urlencode($u).’&format=json’) ; if (!$v[’page’] OR !$w = json_decode($v[’page’],true)) throw new Exception(’YQL : ré ;ponse vide ou mal formé ;e’) ; if (isset($w[’error’])) throw new Exception($w[’error’][’description’]) ; return (array) $w ;
par
/** * * Convert an object to an array * * @param object $object The object to convert * @return array * */ function inc_object_to_array( $object ) if( !is_object( $object ) && !is_array( $object ) ) return $object ; if( is_object( $object ) ) $object = get_object_vars( $object ) ; return array_map( ’inc_object_to_array’, $object ) ;
/**
* yql -> tableau
* @throws Exception
* @param string $u
* @return array|bool
*/
function inc_yql_to_array($u)
define(’_YQL_ENDPOINT’, ’http://query.yahooapis.com/v1/public/yql?&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&q=’) ;
$v = recuperer_page($url = _YQL_ENDPOINT.urlencode($u).’&format=json’) ;
$w = json_decode($v) ;
if (!$w)
throw new Exception(’YQL : ré ;ponse vide ou mal formé ;e’) ;
return false ;
return inc_object_to_array($w) ;
-
Revision 9dfaf2500984725b5af625ae7f73571c5256f37a : report de r16459 : dans une pagination, lorsque la page demandee etait ...
10 décembre 2010, par Cerdic — Logreport de r16459 : dans une pagination, lorsque la page demandee etait superieure au nombre de resultats, cela provoquait une boucle vide et des messages saugrenus du genre "Il n’y a aucun ...". On borne donc, et dans tous les cas, la boucle affiche ce qui correspond a la derniere page de la (...)
-
Revision 51355 : Erreur de declaration pour la creation de pipeline : il faut un action ...
13 septembre 2011, par cedric@… — LogErreur de declaration pour la creation de pipeline : il faut un action vide