GithubHelp home page GithubHelp logo

julienmru / spip-logo-svg Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 4.0 103 KB

Autorise l’utilisation de logos SVG sur les objets éditoriaux dans SPIP

License: GNU General Public License v3.0

PHP 91.51% HTML 6.27% CSS 2.22%
spip spip-plugin svg

spip-logo-svg's Issues

Mettre un if function_exists pour aide

Hello,

Sur SPIP 3.2 on a
Fatal error: Uncaught Error: Call to undefined function aide() in /var/www/spip/plugins/logo-svg/formulaires/editer_logo.php:89

Il faudrait englober ceci d'un if (function_exists('aide'))

Logos svg et upload html5

Hello,

J'ai fais quelques tests du plugin, ça fonctionne bien, hormis quand j'utilise upload html5, ce qui est normal vu que upload html5 remplace le formulaire edier_logo ;-)

je me demandais si en utilisant les pipelines fomulaire_verifier, charger, traiter plutôt que la surcharge, il n'y aurait pas moyen de faire cohabiter les deux.

Mettre la bonne version de spip mini

Hello :-)
Le plugin necessite "media" en version 2.10.28, donc, il ne peut être pour spip 3.1.0 comme borne mini, mais 3.1.1 (version natif à spip 3.1.1)
https://zone.spip.org/trac/spip-zone/browser/_core_/tags/spip-3.1.1/plugins/medias/paquet.xml
Donc paquet.xml devrait plutôt être (avec un up de z+1):

<paquet
	prefix="logo_svg"
	categorie="edition"
	version="1.2.1"
	etat="stable"
	compatibilite="[3.1.1;3.1.*]"
	logo="images/logo_logo_svg_32.png"
	documentation="https://contrib.spip.net/4834"
>

	<nom>Logo SVG</nom>

	<auteur lien="https://www.spip.net">Collectif SPIP</auteur>
	<auteur lien="http://www.cahri.com">Julien Tessier, Agence Cahri</auteur>

	<licence>GNU/GPL</licence>

	<necessite nom="medias" compatibilite="[2.10.28;]" />

</paquet>

Franck

Support du filtre balise_img

Bonjour

Le filtre balise_img ne prend pas en charge par défaut le svg. Cela pourrait être bien de le surcharger :)

Merci

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.