As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:

As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.

Forum rules
If you post a plugin here, please include information on which versions of which applications it is compatible with. Attach a tarball of the plugin (e.g. tar cvzf myPlugin-0.1.tar.gz plugins/generic/myPlugin). Thanks for contributing!

My php.ini file shows that magic quotes are turned off, but I do see that the code is changed when I paste it into the custom block plugin. As to why that is, I am still lost. If you have any other suggestions please let me know, I really appreciate all your help!

The latter. It is strange that it would provide a link to the widget if there are syntax errors, but the code is certainly changed by the OCS software, as it is different when I reopen the HTML window after pasting the code into it.

I don't think there's anything in OCS that should be adding escaping -- the most obvious suspect is still the TinyMCE rich text editor. I would suggest temporarily disabling it by editing plugins/generic/customBlockManager/CustomBlockEditForm.inc.php and removing the call to $this->addTinyMCE(); from the initData function. Then re-paste the code into the form and see if that helps.

I tried disabling the plugin from the System Plugin Manager section and then reentering the code for the twitter feed. The result was the same. I then commented out the call to the plug in in the CustomBlockEditForm.inc.php file as you suggested and the results was still the same.

Hmm, I'm afraid this looks like a platform issue on your server. There is no escaping done by OCS upon saving or displaying the form, so between the script being sent to your server and OCS receiving it on the PHP side, some escaping is getting done. This is usually "magic quotes" or similar but you report that this is disabled. A work-around that could get you un-stuck, at least: try editing the contents directly in your database (in the plugin_settings table). This is easiest done using something like phpMyAdmin. Before you try it on the OCS side, make sure you flush your OCS data cache.

Clearing the cache revealed that the code had been altered in our database. I replaced that altered code with the code in this post and it now works. I will have to find what setting is causing that escaping to occur, but for now your workaround was successful. Thanks so much for the help

If it's a .zip then it's not properly packaged for the web-based plugin installer. I'd suggest contacting the author of the plugin for installation instructions, if they haven't provided them in the post.