<![CDATA[ Galleries in MODX - My Forums]]> https://forums.modx.com/thread/?thread=99481 <![CDATA[Galleries in MODX]]> https://forums.modx.com/thread/99481/galleries-in-modx?page=2#dis-post-537974 Last few months I was in search for good CMS (front-end developer friendly) so I can move from Wordpress because of various reasons.
I really like the way MODX works. Template engine, chunks, snippets, it all make sense to me.

What I was wondering if there is any way of inserting image gallery inside rich text editor?

When I'm making design, my usual routine is to make a "basic page template" design with predefined/predesigned elements which are usually available inside rte. Headings, lists, images, galleries, tables and quotes. And the end users can build page with them.

I saw tutorial how Gallery extra works and building template just for gallery seams not very flexible. I want for my clients to have ability to insert gallery where they want inside page.
Building gallery with MIGX also requires predefined place in template as I understand.
Is there a way to do that in MODX?

Thanks.]]>
darkvawesurfer Feb 06, 2016, 01:22 PM https://forums.modx.com/thread/99481/galleries-in-modx?page=2#dis-post-537974
<![CDATA[Re: Galleries in MODX]]> https://forums.modx.com/thread/99481/galleries-in-modx?page=2#dis-post-539029 darkvawesurfer Feb 29, 2016, 04:32 PM https://forums.modx.com/thread/99481/galleries-in-modx?page=2#dis-post-539029 <![CDATA[Re: Galleries in MODX]]> https://forums.modx.com/thread/99481/galleries-in-modx?page=2#dis-post-538920 RE: darkvawesurfer

Check out the new TinyJSONGallery

+ ACCESS your MODX Manager backend Image Galleries in the frontend with a single line of code popGal('myAnyTextarea')
<a href="#" onclick="popGal('myAnyTextarea','', 885,500,1)">Open My Gallery</a>


]]>
donshakespeare Feb 28, 2016, 02:57 AM https://forums.modx.com/thread/99481/galleries-in-modx?page=2#dis-post-538920
<![CDATA[Re: Galleries in MODX]]> https://forums.modx.com/thread/99481/galleries-in-modx?page=2#dis-post-538737 https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=20#dis-post-538736]]> donshakespeare Feb 24, 2016, 01:31 AM https://forums.modx.com/thread/99481/galleries-in-modx?page=2#dis-post-538737 <![CDATA[Re: Galleries in MODX]]> https://forums.modx.com/thread/99481/galleries-in-modx#dis-post-538644 Yes. I agree with everything you sad. But it is hard to keep clients happy and at the same time maintain only good practices while building web smiley

@Bruno17
This sounds great. I'm still very new with MODX, I used MIGX only for simple content so far so I'll have to explore a little.]]>
darkvawesurfer Feb 22, 2016, 05:08 PM https://forums.modx.com/thread/99481/galleries-in-modx#dis-post-538644
<![CDATA[Re: Galleries in MODX]]> https://forums.modx.com/thread/99481/galleries-in-modx#dis-post-538606 You could also render the result into the content-field with a plugin for OnDocFormSave


]]>
Bruno17 Feb 22, 2016, 01:14 AM https://forums.modx.com/thread/99481/galleries-in-modx#dis-post-538606
<![CDATA[Re: Galleries in MODX]]> https://forums.modx.com/thread/99481/galleries-in-modx#dis-post-538602 RE: darkvawesurfer
The plugin in that demo is a perfect rip off!
First, it does not work...
Second, If it did work, I can foresee at least a huge number of hells down the road.

Galleries in between paragraphs? This is very bad practice using raw HTML.
It is better to design it in such a way that you place MODX tags instead of raw HTML galleries. Don't let your client touch output gallery HTML!
This said, it will not be point-n-click, drag-n-drop - you'll need a certain level of coordination.

I use a private plugin that deals with one gallery per article (not per paragraph!) Using one TV at a time. Of course it can be extended to use multiple TVs - but I have not implemented it.
It can also use chunks, as I mentioned in an earlier post. With these, you can put as many galleries in between as many paragraphs as you want (using MODX tags), but you can only edit it form the Manager - you have to edit the chunks directly.

Btw. Is there a tutorial for installing TinyMCE plugins like the one above with MODX?
If the plugin is designed properly, it is a matter of adding one line to the tinymce.init configuation
tinymce.ini({
  external_plugins: "/assets/imageGalleryplugin.js"
})
]]>
donshakespeare Feb 21, 2016, 10:28 PM https://forums.modx.com/thread/99481/galleries-in-modx#dis-post-538602
<![CDATA[Re: Galleries in MODX]]> https://forums.modx.com/thread/99481/galleries-in-modx#dis-post-538589
I found this plugin, not expensive, but reordering of images inside rte doesn't work nice. Besides, I'm not sure if I would now how to install it to work with MODX.
http://doksoft.com/soft/tinymce-image-gallery/index.html

Btw. Is there a tutorial for installing TinyMCE plugins like the one above with MODX?]]>
darkvawesurfer Feb 21, 2016, 04:09 AM https://forums.modx.com/thread/99481/galleries-in-modx#dis-post-538589
<![CDATA[Re: Galleries in MODX]]> https://forums.modx.com/thread/99481/galleries-in-modx#dis-post-538588
It will be good if there is some other solution which is smoother for the users. There are some addons for TinyMce and CKEditor but they are commercial ones and not so cheap.]]>
deyand Feb 21, 2016, 03:10 AM https://forums.modx.com/thread/99481/galleries-in-modx#dis-post-538588
<![CDATA[Re: Galleries in MODX]]> https://forums.modx.com/thread/99481/galleries-in-modx#dis-post-538010 Thanks for the answer. It is nice idea.
But the problem is that end users have to deal with writing placeholders. It's not anything hard but the less technical ones would find that challenging.

]]>
darkvawesurfer Feb 07, 2016, 02:43 AM https://forums.modx.com/thread/99481/galleries-in-modx#dis-post-538010