feel free to keep it strictly simple...

media_preset

Modul media_preset
Author Wolfgang Studer
Type page
Version 1.06
State Stable
License GPL
GUID 4ee2a5e2-468d-4244-8400-5cd027c6fc6f
Platform LEPTON 2.x
Last info 2016-12-17
Forum http://forum.lepton-cms.org/viewtopic.php?f=66&t=3051
See also lib_setuphelper, preset_path_manager
Requires LEPTON 2.3, lib_setuphelper, preset_path_manager
Download media_preset-V1.07.000.zip
Description At the beginning there was a requirement to display images on a page in a popup (colorbox, etc), but depending on the page parent in a different style.

With this page module and the respective presets, it was simple.

Instruction to the user: when creating a new page, add first the media_preset module, then the WYSIWYG module. In Media preset module, select the respective parent preset and save. Then go in WYSIWYG module and enter your text and images.

As you can see in screenshots, the fields available for admin users and normal users differs. You can easily change the fields visible, see README files inside the module.
Info This module requires
- LEPTON 2.3 or better
- https://lepton-cms.com/lepador/libraries/lib_setuphelper.php
- https://lepton-cms.com/lepador/admintools/preset_path_manager.php
as well as some presets.

For details about presets see
- http://forum.lepton-cms.org/viewtopic.php?f=66&t=3052
- http://forum.lepton-cms.org/viewtopic.php?f=66&t=3062
Image
Media Preset for adminMedia Preset for usersMedia Preset colorbox_options