How to change the settings of the album inserted with editor button?

How to change the settings of the album inserted with editor button?

If you use the Content Editor Button plugin for inserting DJ-Mediatools albums from the front-end you will be limited to creating new custom items album and you cannot change its settings (which you can, when using the very same editor button from the back-end of your Joomla, check article:  Recipe - How to create gallery right from the regular Joomla article with DJ-MediaTools for more info).

Thanks to the "Presets" functionality you can set the default album preset for all the Albums inserted from the Joomla article (or any other extension where the system plugins can be evaluated) and keep consistency across all the Albums created or inserted that way.

Presets can be saved and exported into files. Users can import saved presets and use them on different Joomla installations with the DJ-MediaTools extension.  

How to set the default Album preset for Albums managed from the editor button

If you create or select an Album from the front-end using the editor button you are not able to set the options for the album, you can,  however, set the default Album preset that will be used for all the albums.

First you need to create a new Preset as explained in the documentation:  Presets - predefined album settings

Now you need to open the plugin: DJ-MediaTools Content Plugin and choose the preset that will be used for all the albums managed from the editor button .

dj-mediatools-joomla-gallery-preset-for-content

  1. Select the preset
  2. Save the plugin settings

How to add the Album to the article with a tag

You can also use the tag syntax to manually add the Album to the article.

When using this method you can also select the preset manually by entering the preset ID.

When creating the preset it gets the ID that is a name of the Preset.

You can see the presets IDs.

dj-mediatools-joomla-gallery-presets-list-IDs

The syntax for placing the Album with the Preset ID will look like this: 

{djmedia 1, Test-preset1}

With the mentioned code you will display the Album with ID 1 and preset name (ID) " Test-preset1 "

      • Related Articles

      • Editor button plugin

        DJ-MediaTools Editor Button Plugin makes placing an Album in an article even simpler. It displays below the Joomla editor next to other buttons like Article, Image etc. Click the button to open the list of existing Albums in a modal window. You can ...
      • Presets - predefined album settings

         Presets in DJ-MediaTools lets you save and re-use specific settings for different albums. How to create presets You can find the Presets settings in DJ-MediaTools component. Open Components -> DJ-MediaTools and click "Presets" in the left column. ...
      • How to apply album settings into other albums?

        If you're happy with the settings you did for one Album you may want to use the very same, or slightly changed setup for other Albums. Using presets can also help you to change the layout of the album to the preferred one without the need of setting ...
      • Creating new Album

         To display an Album on the frontpage first you need to create new one. Click on the New Album button from the Control Panel and you will be directed to the form: There are only a few parameters required. You'll see them at the first sight. These ...
      • Module - Album

        The DJ-MediaTools Album module allows displaying the album in a chosen module position. You need to choose an album to display by setting the first option in the module settings (Album). All other parameters are optional and you need to change them ...