weblion / diazo_responsivetheme

Plone Responsive Theme using Diazo
2 stars 2 forks source link

TinyMCE #1

Open bullcreekstudio opened 10 years ago

bullcreekstudio commented 10 years ago

RHEL 6.5 Plain vanilla install of Plone 4.3 using unified installer. TinyMCE appears fine in default theme and bootstrap theme installed diazo_responsivetheme via buildout Activated theme goto homepage - responsive whip looks great click edit no TinyMCE editor toolbar set default to TinyMCE - no change. Changed back to default theme - works great. Appears XML is missing viewlet for TinyMCE toolbar. (??)

Also, appears that buildout is failing on compilation of python-gettext

[root@lonestar zeocluster]# sudo -u plone_buildout bin/buildout Updating zeoserver. Updating client1. Updating client2. Updating client3. Updating client4. Updating backup. Updating zopepy. Updating unifiedinstaller. Updating precompiler. Compiling Python files. Compiling locale files. Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-1.2-py2.7.egg/pythongettext/tests/test5.po Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-1.2-py2.7.egg/pythongettext/tests/test_escape.po Updating setpermissions. setpermissions: Running

Dummy references to force this to execute after referenced parts

echo /usr/local/Plone/zeocluster/var/backups yes > /dev/null chmod 600 .installed.cfg

Make sure anything we've created in var is r/w by our group

find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null chmod 754 /usr/local/Plone/zeocluster/bin/* *** PICKED VERSIONS **** [versions] kreagroup.jsi18n = 1.0.3 plonetheme.diazo-responsivetheme = 1.2

*** /PICKED VERSIONS ***

RobZoneNet commented 10 years ago

I tried it in a stock plone and I still get the edit bar.

I wonder what is going on.

On Jan 13, 2014, at 9:04 AM, Jeff Spencer notifications@github.com wrote:

RHEL 6.5 Plain vanilla install of Plone 4.3 using unified installer. TinyMCE appears fine in default theme and bootstrap theme installed diazo_responsivetheme via buildout Activated theme goto homepage - responsive whip looks great click edit no TinyMCE editor toolbar set default to TinyMCE - no change. Changed back to default theme - works great. Appears XML is missing viewlet for TinyMCE toolbar. (??)

Also, appears that buildout is failing on compilation of python-gettext

[root@lonestar zeocluster]# sudo -u plone_buildout bin/buildout Updating zeoserver. Updating client1. Updating client2. Updating client3. Updating client4. Updating backup. Updating zopepy. Updating unifiedinstaller. Updating precompiler. Compiling Python files. Compiling locale files. Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-1.2-py2.7.egg/pythongettext/tests/test5.po Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-1.2-py2.7.egg/pythongettext/tests/test_escape.po Updating setpermissions. setpermissions: Running

Dummy references to force this to execute after referenced parts

echo /usr/local/Plone/zeocluster/var/backups yes > /dev/null chmod 600 .installed.cfg

Make sure anything we've created in var is r/w by our group

find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null chmod 754 /usr/local/Plone/zeocluster/bin/* *** PICKED VERSIONS **** [versions] kreagroup.jsi18n = 1.0.3 plonetheme.diazo-responsivetheme = 1.2

*** /PICKED VERSIONS ***

— Reply to this email directly or view it on GitHub.

l34marr commented 10 years ago

My testing environment: Plone 4.3.2 with Chrome Browser I find tiny_mce_gzip.js is missing and theme/index.html is hard coded with http://localhost:8080/Plone. I guess this will cause stock Plone running on localhost working while other instances not working.

RobZoneNet commented 10 years ago

I will look into this. Right now I am swamped so it may take some time. I pretty much copied Alex Clarks sunburst code. https://github.com/aclark4life/plonetheme.diazo_sunburst/blob/master/plonetheme/diazo_sunburst/theme/index.html

I use my other responsive theme as the base for my diazo themes. http://plone.org/products/collective.responsivetheme

Here is an example theme I was using.. To attach collective.responsivetheme to your diazo theme you have to call it in setup.py and also metadata.xml

setup.py https://weblion-pm.vmhost.psu.edu/kiln/Code/SOS/Group/theme/File/setup.py?rev=tip

metadata.xml https://weblion-pm.vmhost.psu.edu/kiln/Code/SOS/Group/theme/File/diazotheme/sos/profiles/default/metadata.xml?rev=tip

On Feb 8, 2014, at 9:49 AM, TsungWei Hu notifications@github.com wrote:

My testing environment: Plone 4.3.2 with Chrome Browser I find tiny_mce_gzip.js is missing and theme/index.html is hard coded with http://localhost:8080/Plone. I guess this will cause stock Plone running on localhost working while other instances not working.

— Reply to this email directly or view it on GitHub.