Quote from: smashingred at Oct 14, 2009, 09:26 AM
A workaround might be to use documents. Hide all the fields but the title and content field using ManagerManager and then use getField to display the content document variable.
In other situations this would work well, but I don’t think it is a fit for this one.
Let me tell you the exact problem.
The user does a lot of copy/paste from work which in turn embeds many styles and messes up displaying the pages.
I created a plug in that will purify the html code (using htmlpurifier)
The problem with this is, the user uses paypal (embeds many options in a page) and html purify doesn’t allow all of the form code to go though (even modifying the rules it still blocks elements) and I have been fooling around with filters for htmlpurifier but still have not had any success.
So I have been creating chunks so that he just has to embed the chunk name {{}} in the content and the paypal button will display.
I will fool around with roles and also continue to focus on creating a custom filter for htmlpurifier.
Thanks
Brian