I just finished coding a module that makes image galleries and i call it like this:
{cms_module module="mygal" gallery="test"}
For convenience of other users, I put the code to paste for each gallery in the module's admin area, but if i copy {cms_module module="mygal" gallery="test"} and paste it into the page content via tinyMCE it comes out as {cms_module}
I figured out that the quote chars cause the problem, and I can leave them out if the parameters have no spaces, but if i had a scenario where the gallery has a space in it, I'm in trouble. Is there anything I can do (without resorting to the HTML view in tinyMCE)?
(solved) pasting module reference into TinyMCE
-
- Forum Members
- Posts: 40
- Joined: Thu Jul 31, 2008 12:16 pm
(solved) pasting module reference into TinyMCE
Last edited by turniphead on Fri Oct 31, 2008 11:32 am, edited 1 time in total.
-
- Forum Members
- Posts: 40
- Joined: Thu Jul 31, 2008 12:16 pm
Re: pasting module reference into TinyMCE
I still haven't found a solution to this. Does anyone have an idea?
Thanks.
Latest version of cmsmadesimple on a LAMP config by the way.
Thanks.
Latest version of cmsmadesimple on a LAMP config by the way.
-
- Forum Members
- Posts: 40
- Joined: Thu Jul 31, 2008 12:16 pm
Re: (solved) pasting module reference into TinyMCE
I thought that was one of the first things I tried, but obviously not. I tried it now and it works. Sorry for the silly question.