modx

Can I manage my CSS as ModX Resources?

久未见 提交于 2019-12-01 01:51:37
I've been working with the ModX Revolution manager, and was wondering if I can turn my CSS into ModX Resources rather than files. I'd also like to utilize Templates and their variables. Is that possible? What are the drawbacks of doing so? Are there any advantages (aside from the ones I think below)? The reason I would prefer this is that I use several CSS pages with the @import statement to object orient my CSS a little bit better. If I could do this directly in ModX, it would save me uploads and syncing. In previous versions of ModX (Evo and Revo), you used to have to go through tricks. Now

Tiny MCE adding custom HTML tags

放肆的年华 提交于 2019-11-27 19:30:28
I am using Tiny 4.3.3 for MODx I need to add a <p class="classname"> <em class="openImg"></em> Some randome Input text by the user <em class="closeImg"></em> </p> I don't mind if is an extra menu Item or is in the Paragraph dropdown menu. I just want the less time consuming work around possible. I have tried this http://alexzag.blogspot.co.uk/2009/12/custom-tags-in-tinymce.html but somehow this doesn't work. Could anyone point me to a good tutorial or tell me how could i add a icon or name to the drop down menu that creates the p and em tags with the right classes automatically please? Thanks

Tiny MCE adding custom HTML tags

我是研究僧i 提交于 2019-11-26 19:53:14
问题 I am using Tiny 4.3.3 for MODx I need to add a <p class="classname"> <em class="openImg"></em> Some randome Input text by the user <em class="closeImg"></em> </p> I don't mind if is an extra menu Item or is in the Paragraph dropdown menu. I just want the less time consuming work around possible. I have tried this http://alexzag.blogspot.co.uk/2009/12/custom-tags-in-tinymce.html but somehow this doesn't work. Could anyone point me to a good tutorial or tell me how could i add a icon or name to