Comments (5)
Hi,
but as far as I see, there is no possibility to configure theme-specific options in the plugin GUI
The option exists under "Display" -> "Variation". You can write "light" or "smallarow" or both "light smallarow".
from galerie.
Thanks for the quick reply. But I think you misunderstood me...
How can I configure the "Theme-specific options" which are mentioned on http://galleria.io/docs/themes/azur/ in the contao plugin?
from galerie.
I found an answer on the Galleria forum :
http://support.galleria.io/discussions/questions/1046-theme-specific-options-in-drupal#comment_17961946
I do not have a premium theme so I have adapted the example of Samuel for the classic theme but it seems not to work...
Galleria.run('#galleria',{
extend:function(){
this.setOptions({
'_toggleInfo': 'false'
});
}
});
Try asking the question on the Galleria forum. The "extend" option would be a good solution to change specific options from Contao.
from galerie.
For the record:
I was able to set the theme's custom options in the "extend" section of the plugins settings page in Contao with a string like this:
_locale: {
show_captions: 'Bildbeschreibung anzeigen',
hide_captions: 'Bildbeschreibung ausblenden',
play: 'Diashow starten',
pause: 'Diashow pausieren',
enter_fullscreen: 'Vollbildmodus aktivieren',
exit_fullscreen: 'Vollbildmodus beenden',
next: 'Nächstes Bild',
prev: 'Voriges Bild',
showing_image: 'Bild %s von %s'
},
_toggleCaption: false
I.e. it is not necessary to add "extend:function()..." like you have quoted it above. This didn't work for me.
Alex
from galerie.
Good to know. Thank you for the feedback !
from galerie.
Related Issues (16)
- New 'files' folder in Contao 3 HOT 3
- Prepare Galleria for Contao 3.2 HOT 1
- Update to galleria 1.3.2 HOT 2
- Use different thumbnails for videos and images HOT 1
- Problem after Update to 2.0x: «Bisher sind keine Bilder verfügbar.» HOT 1
- Safari (mac) -> images won´t load HOT 5
- Galeria Bugg HOT 4
- Sometimes Galleria is not loaded with [tabcontrol] HOT 7
- Galeria does not load in Chrome HOT 8
- Multiple gallerias in one article HOT 10
- Non Admin: Adding a new pic: Error HOT 1
- Contao 3.4.0 HOT 2
- Contao 3.5 HOT 1
- PHP7 issue HOT 2
- actual Version 2.4.1 doesn't work with the primary themes from galleria.io HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galerie.