[opencms-dev] Default galleries in the wysiwyg

Mario Jäger m.jaeger at alkacon.com
Mon Jul 4 10:48:19 CEST 2011


Hi,

To your questions.

To question 1: You can set the start gallery for the download gallery 
(also in the WYSIWYG editor) as global setting and per user. The global 
setting is to configure in the WEB-INF/config/opencms-workplace.xml in 
the node <default-preferences>:

<default-preferences>
   ...
   <galleries-preferences>
     <startgalleries>
       <startgallery type="downloadgallery" 
path="/path/to/the/gallery/in/the/site/" />
     </startgalleries>
   </galleries-preferences>
</default-preferences>

In the user preferences in the tab "Galleries" the user has to select 
"Use global settings" for the "Download Gallery" to use that global setting.

The user also can select another gallery as start gallery there. That 
overwrites the global setting.

Please note, that after that the last selected gallery is opened as 
start gallery.

To question 2: It is not possible to prevent to be able to select other 
galleries.

Kind Regards,
Mario.



Am 18.06.2011 17:21, schrieb Alejandro García Gil:
> Hi
>
> I have a structured type in which one of his fields of a wysiwyg.
>
> In this wysiwyg, i have a button for open the images galleries and
> another button for open the download galleries.
>
> I would like you to open the galleries, a gallery was opened by default:
>
> Is this possible in the wysiwyg?
>
> I know this is possible in galleries that are outside of the wysiwyg...
>
> Another question...
>
> In fields of the structured type that I have to be configured galleries,
> I managed to open a gallery default.
>
> However, when you open this gallery, you can navigate to other
> galleries. Is it possible to prevent this can be done?
>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev


-- 
-------------------
Mario Jäger

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org



More information about the opencms-dev mailing list