Giter VIP home page Giter VIP logo

aveyron-nature-web's Introduction

La plateforme web de l'Aveyron-Nature (Drupal 8.3.0)

Aveyron Nature

  • Le répertoire "themes" contient le(s) themes versionné (actuellement bootstrap-8.x-3.2.zip)
  • Le répertoire "doc" contient toutes les instructions (configuration, instllation, gestion de la base...)
  • Le répertoire "modules" contient les modules personalisé.
  • Le répertoire "ressources" contient les exports de configuration

Liste des modules utilisé (www/modules)

admin_toolbar 8.x-1.19
backup_migrate 8.x-4.0-alpha2
captcha 8.x-1.0-beta1
devel 8.x-1.0-rc1
geolocation 8.x-1.10
honeypot 8.x-1.24
xmlsitemap 8.x-1.0-alpha2
Geofield 8.x-1.0-alpha2
Leaflet 8.x-1.0-beta1
Pathauto 8.x-1.0-rc1
Ctools 8.x-3.0-beta1
token 8.x-1.0-rc1
Contact Storage 8.x-1.0-beta8

Installation de la dépendance geoPhp pour le module geofield

Le tag --ignore-platform-reqs permet d'ignorer la version de php.

composer require "phayes/geophp" --ignore-platform-reqs Executer cette commande à la racine du projet lors d'une nouvelle installation ou une mise à jour du coeur

Démo

http://151.80.132.63/aveyron-demo/

Documentation

Documentation officiel D8
Convention de nommage
Drupal Bootstrap Documentation

Fond de carte IGN

Pré-requis :

  • Installer le module contrib Geofield et Leaflet
  • Installer le module custom layer_leaflet

Créer un affichage de type map :

  • Ajouter un champ de type geofield
  • Dans "Gérer l'affichage" du champ, choisissez le format "Leaflet Map" puis sélectionner dans les paramètres le type de "Carte Leaflet" IGN GRIDSYSTEM.

Some tips

- Voir les log apache : tail -f /var/log/apache2/error.log
- Afficher le contenu d'une variable dans twig : <pre>{{  dump(infoFold5) }}</pre>
- Charger une image avec un style prédéfinit depuis un uri : $myPicture = entity_load('image_style', '[nom_machine_du_style]')->buildUrl([uri_image]);
- Requette simple : $query = db_query("[ma_requette_sql]]"); $titleFold4 = $query->fetchAll();

aveyron-nature-web's People

Contributors

gitkyo avatar matheo13 avatar cdcvidal avatar 20cents avatar

Watchers

 avatar

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.