Giter VIP home page Giter VIP logo

matjack1 / geobeni Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 5.0 134.43 MB

Il geoblog dei beni confiscati alla mafia in Piemonte

Home Page: http://geobeni.liberapiemonte.it/

Shell 0.02% PHP 64.32% CSS 10.05% JavaScript 25.46% CoffeeScript 0.02% HTML 0.09% Makefile 0.01% Batchfile 0.01% Python 0.02% Hack 0.01% Ruby 0.01%
community volunteering participation php wordpress wordpress-theme wordpress-plugin

geobeni's Introduction

geobeni

Join the chat at https://gitter.im/geobeni/community

Documentation used:

Install in 2019

Copy the content of vvv-custom.yml in your VVV configuration.

Reload your VVV instance and provision the new site by doing

vagrant reload --provision

Inside VVV (run vagrant ssh from the VVV folder to get inside)

Install Ruby 2.0.0 (with rbenv)

rbenv install 2.0.0

Install compass and link to default folder, for Sass compilation

gem install compass -v 0.12.4
sudo mkdir -p /opt/wordmove
sudo chown $USER:$GROUP /opt/wordmove
ln -s $USER/.rbenv/shims/compass /opt/wordmove/compass

For Coffeescript compilation

ln -s $USER/.rbenv/shims/ruby /opt/wordless/ruby
gem install thor coffee-script therubyracer yui-compressor
gem install sprockets -v 3.2.0

geobeni's People

Contributors

alessandro-fazzi avatar faustopoda avatar gitter-badger avatar matjack1 avatar sfabio avatar

Watchers

 avatar  avatar  avatar  avatar

geobeni's Issues

Logo troppo grosso

Il logo non va bene, è troppo grosso e si vede pochissimo. Non si può occupare tutto quello spazio rendendolo non cliccabile. O lo rimpiccioliamo o lo mettiamo nel footer.

@incasteve fai come preferisci, ma così non va bene

fix simple fields

Simple fields non è più aggiornato e compatibile con la versione attuale di WP.

Tutto funziona con i luoghi già inseriti ma non se ne possono inserire di nuovi.

Senza cambiare tutto sarebbe buono fare un micro fix a simple fields per farlo funzionare così com'è.

Ho esplorato un po' il problema e qua ci sono alcuni indizi:

https://make.wordpress.org/core/2017/05/20/editor-api-changes-in-4-8/

bonny/WordPress-Simple-Fields#114

Sono disponibile per fare pair programming su questa issue e aiutare col setup del progetto!

pagina oggi

modificare che : inizialmente area progetto è vuota, poi a click del titolo progetto esce descrizione del progetto

posizione tendina

te lo chiedo qua per ricordartelo: dovremmo riuscire a posizionare il geobene selezionato ad una certa posizione centrale affinchè il frame iniziale non vada a finire sotto il titolo.

Lightbox da marker

@pioneerskies se hai tempo dai un'occhiata a come ho fatto il ligthbox:
https://github.com/matjack1/geobeni/blob/master/wp-content/plugins/geo-mashup-custom/custom.js#L25

Dopo vari giri ho capito il problema. L'infowindow viene generata soltanto quando viene cliccato il marker, prima non esiste niente. Quindi è impossibile selezionarla con un selettore. C'è un hook in geo-mashup che ti dice quando è caricato il marker e che ti passa il contenuto html per eventuali modifiche. L'unico modo che ho trovato per attaccarmi esternamente è stato quello di appiccicargli una funzione onclick, in modo che potesse funzionare autonomamente da dentro l'infowindow.
La cosa fa un po' schifo, ma così non ho modificato geo-mashup e tutto viene fatto esternamente in JS. Non ci vedo grandi problemi in questo approccio, guarda un po'!

@incasteve, prova anche tu per vedere se va bene. Ora bisogna lavorare sul contenuto del lightbox per fargli caricare solo i CSS e JS che servono veramente, se no si spacca tutto :)

province

aprire e chiudere province del geo menu

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.