We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43810
    • 62 Posts
    Now tabs are something like:

    Document - Settings - Template Variables - Resource Groups

    To add a tab of "Gallery" there, to all resources (web pages) - so that there is no need each time to travel Extras --> Gallery --> an Album. Often there are heaps of pages and it is both easier and more obvious to have corresponding images at hand in the corresponding page tab.

    From rtfm.modx.com on EvoGallery: ( http://rtfm.modx.com/extras/evo/evogallery )

    Since EvoGallery 1.1 in the distribution is an optional widget for the ManagerManager plugin that allows you to create a tab within document editing page

    mm_widget_evogallery($moduleid, $title, $roles, $templates);


    • $moduleid is a custom variable specific to this function. It tells the function what module ID to use. To find out the ID of a module, simply copy the link to the module in the main menu. The ID will be part of the URL itself. E.g.: /manager/index.php?a=112&id=2. In this case, the $moduleid is 2.

    • $title is display name of tab.

    • $roles should be replaced with the IDs of the roles that should be affected or left empty to apply the rule to all roles.

    • $templates contains the IDs of templates to apply the rule to, or can be left empty to apply to all templates.

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      The closest Revo has to this is Form Customization, but I'm not sure how it could be used for specific extras.

      I suspect that you could use a MigxDB TV to work with the Gallery database tables, and put that TV in a custom tab.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        I see that Gallery comes with a custom TV, which you can always move to a custom tab using Form Customization. http://rtfm.modx.com/extras/revo/gallery/gallery.setting-up-the-galleryitem-tv
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 43810
          • 62 Posts
          Quote from: sottwell at Jan 15, 2015, 09:29 AM
          I see that Gallery comes with a custom TV, which you can always move to a custom tab using Form Customization. http://rtfm.modx.com/extras/revo/gallery/gallery.setting-up-the-galleryitem-tv

          - That may be almost the thing. I am going to try it tomorrow or the day after tomorrow.
            • 43810
            • 62 Posts
            Quote from: sottwell at Jan 15, 2015, 09:29 AM
            I see that Gallery comes with a custom TV, which you can always move to a custom tab using Form Customization. http://rtfm.modx.com/extras/revo/gallery/gallery.setting-up-the-galleryitem-tv

            No, that is not the thing. It is about adding one single image.

            There is also the galleryalbumlist Input Type for TV. It is closer. But still is not the thing. It lets to choose what Album is to be the source of images for a page ( Gallery call is with with &album=`[[*ChooseYourAlbum]]` ). But adding images to the Album, creating Albums still means going Extra --> Gallery.

            The closest to EvoGallery seems to be one Assets Manager ( http://modx.com/extras/package/assetmanager ). But there are less (?) features.