Thanks Carstens, but it didn't work, see below. Carsten Senger ha scritto:
If I understand correctly, this should drop everything that contains with "portal_javascripts", bu I'm confused: in the head of the deliverance converted page I seeHi Mirto,--On Freitag, September 25, 2009 10:52:48 +0200 Mirto Silvio Busico <[email protected]> wrote:how can I use TinyMCE with delierance? I have problems with the popup windows. Isee that, when you edit a page and ask to insrt a link (a picture, or everithing that needs a popup windows), in the page appear three divs: <div id="visual-portal-wrapper"> </div> <div id="kss-spinner" style="display: none;"> <img src="http://localhost:4190/intonso1/spinner.gif" alt=""/> </div> <div id="mce_68" class="plonepopup" style="overflow: auto; width: 830px; height: 504px; top: 315px; left: 230px; z-index: 300022;"> </div><div id="mceModalBlocker" class="plonepopup_modalBlocker" style="z-index:300020; display: block;"/> I try to apply these deliverance rules: <replace content='//*...@id="kss-spinner"]' theme='//*...@id="kss-spinner_in"]' /> <replace content='#mce_*' theme='//*...@id="mce_frame_in"]' /> <replace content='//*...@id="mceModalBlocker"]' theme='//*...@id="mceModalBlocker_in"]' /> The problem is that the mce id changes everytime a popup is opened(mce_68, mce_69, mce_70,...) and I don't know how to use wildcards in theid names. I tried with "#mce_*" but it didn't work. Any help will be greately appreciated.I use this rule pretty early in the rules file cause tinymce acquires the templates form the javascript. I don't know if this works with all popups from TinyMCE.<match path="regex:^/portal_javascripts/.*" abort="1" /> <!-- TinyMCE -->(<http://dev.plone.org/collective/browser/gnomeweb-plone/buildout/trunk/rules.xml>)
<script src="http://plone.msb.net:4170/intonso1/portal_javascripts/Plone%20Default/jquery-cachekey4676.js" type="text/javascript"> so it seems that the match did'n work.
I'm not able to determine the popup id (I didn't found "plone-popup" id, only a "plonepopup" class. In your rules.xml file I was not able to find any rule related to "plone-popup"The popup I've looked at also had an id like "plone-popup". Something likethat should be used for all popups to make styling/rules easy. ..Carsten
What I'm doing wrong? Mirto
<<attachment: mirtosilvio_busico.vcf>>
_______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
