Re: [mezzanine-users] User cannot paste google charts into cms pages even when set to 'no filtering'

2015-09-10 Thread Paul Whipp
ython. > > On Thu, Sep 10, 2015 at 2:45 PM, Ryne Everett > wrote: > >> Ah, that's probably it: >> http://www.tinymce.com/wiki.php/Configuration:extended_valid_elements >> >> On Thu, Sep 10, 2015 at 2:34 PM, Paul Whipp wrote: >> >>> Googling d

Re: [mezzanine-users] User cannot paste google charts into cms pages even when set to 'no filtering'

2015-09-10 Thread Paul Whipp
Googling deeper got me to this - http://www.phoca.cz/documents/16-joomla/769-joomla-3-tinymce-stop-removing-empty-tags - from which I infer that it is possible to suppress the behaviour in tinymce and I guess there is something I could do by shadowing the tinymce_setup.js with one that hacks the di

Re: [mezzanine-users] User cannot paste google charts into cms pages even when set to 'no filtering'

2015-09-10 Thread Paul Whipp
sorry about the double negative there (ignore the 'is not'). On Fri, 11 Sep 2015 at 04:50 Paul Whipp wrote: > No progress. I don't believe hat debug point is not relevant; this issue > is deep in the editor itself because you can reproduce it by typing an > empty div in

Re: [mezzanine-users] User cannot paste google charts into cms pages even when set to 'no filtering'

2015-09-10 Thread Paul Whipp
ecific > insight. > > The first thing I'd probably do is drop a debugger in RichtextField.clean > (in mezzanine/core/fields.py) and make sure `settings.RICHTEXT_FILTER_LEVEL > == RICHTEXT_FILTER_LEVEL_NONE` is true and that the `value` is still > correct at that poin

[mezzanine-users] User cannot paste google charts into cms pages even when set to 'no filtering'

2015-09-07 Thread Paul Whipp
the javascript which is strange but does not seem to be causing a problem). 'no filtering' is set. Is there any way that I can get the 'source' edit to simply allow a source edit with no interference from probably well meaning but (in this case) bugged interference? Cheers,

Re: [mezzanine-users] Possible toinstall Django Reversion for Mezzanine? And 2 questiosn about built-in threaded comments.

2014-11-27 Thread Paul Whipp
Old thread but I've just implemented this and successfully deployed it to a commercial site. In short, I redefined the PageAdmin class as DefaultPageAdmin and then assigned either that or a specialised VersionedPageAdmin to PageAdmin depending upon whether or not django-reversion is loaded. I a

[mezzanine-users] Tracking page revisions

2014-10-23 Thread Paul Whipp
I have a growing client mezzanine site at crossculturalconsult.com. The site is multi-lingual and uses markdown for editing page content. There are a number of content editors. I've been asked to provide change revision tracking for pages much like the tracking that exists on media-wiki so that

Re: [mezzanine-users] Re: modeltranslations - round 2

2014-07-23 Thread Paul Whipp
Hi Eduardo, Yes, it took me a while to find the source of the problem but it is sorted in the pull request. You click on your own repo 'pull requests' to generate the pull request. I'm still fairly new to it myself but it is a very nice feature of github. Before generating the pull request you ne

[mezzanine-users] Re: modeltranslations - round 2

2014-07-03 Thread Paul Whipp
Hi there, I am giving Mathias's fork a go to see if we can use it to deploy a multilingual site solution. I forked it here and set up a branch of our mezzanine site to use it and define the modeltranslation stuff. I am starting to raise issues against ou

Re: [mezzanine-users] Using local_settings.py is awkward - here is a better way.

2014-06-01 Thread Paul Whipp
ed by the > *local_settings* approachfor quite some time now, and would be more than > happy if it could be improved or even go away completely. > > > > [1]: This is not actually accurate since Django settings are loaded > lazily, not on application startup. But for the purpose o

Re: [mezzanine-users] Using local_settings.py is awkward - here is a better way.

2014-05-29 Thread Paul Whipp
;) > > Apologies if I jumped the gun with my comments. > > > On Wed, May 28, 2014 at 4:24 PM, Paul Whipp wrote: > >> Thanks for the feedback Josh, I enjoy Django and am enjoying my >> increasing familiarity with Mezzanine. After rebuilding my own >> website<h

Re: [mezzanine-users] Using local_settings.py is awkward - here is a better way.

2014-05-28 Thread Paul Whipp
hat are > particular to your dev environment in local_settings.py and settings > specific to your production environment in > deploy/local_settings.py.template. > > > On Wed, May 28, 2014 at 12:23 AM, Paul Whipp wrote: > >> Having the local_settings always outside of vers

[mezzanine-users] Using local_settings.py is awkward - here is a better way.

2014-05-27 Thread Paul Whipp
Having the local_settings always outside of version control is a pain on large projects and not being able to arbitrarily alter settings (rather than simply overwrite them) is agony. In 'normal' Django, the 'two scoops' method can easily be used to replace the local_settings.py import but in Me

Re: [mezzanine-users] How to handle unicode posts and titles

2014-05-04 Thread Paul Whipp
Thanks Alex, I think this is a rarely encountered bug in Mezzanine and coercing the description to unicode is probably fine as a fix because of the way Python is headed with strings: I did not have the problem when I imported into paulwhippconsulting.com which uses Python 3 rather than Python 2.

Re: [mezzanine-users] How to handle unicode posts and titles

2014-04-30 Thread Paul Whipp
.py#L346-L350, > remedies this problem every time. > > hth, > ken > > > On Wed, Apr 30, 2014 at 5:38 AM, Paul Whipp wrote: > >> I may be joining the translation discussion shortly; I have a site that >> is using Russian, French, English and Indonesian. >> >

[mezzanine-users] How to handle unicode posts and titles

2014-04-30 Thread Paul Whipp
I may be joining the translation discussion shortly; I have a site that is using Russian, French, English and Indonesian. I'm importing pages from Wordpress (not blog entries - pages) and I get the dreaded "UnicodeDecodeError: 'ascii' codec can't decode byte..." error in Mezzanine code that joi

Re: [mezzanine-users] How do I stop the sitemap showing local host on the live site?

2014-04-22 Thread Paul Whipp
ut it'd work equally well with > apache or some other web server. > > > On Wed, Apr 23, 2014 at 10:31 AM, Paul Whipp > > wrote: > >> Absolutely correct. >> >> I went to delete it and it wanted to delete all my content. However, >> editing the existi

Re: [mezzanine-users] How do I stop the sitemap showing local host on the live site?

2014-04-22 Thread Paul Whipp
0, Stephen McDonald wrote: > > There's a "sites" section in the admin for configuring each site record > (which most content has a relation to). > > Guessing you've got one record in there, and its domain is localhost. > > > On Wed, Apr 23, 2014 at 10:16 A

[mezzanine-users] How do I stop the sitemap showing local host on the live site?

2014-04-22 Thread Paul Whipp
I'm having fun with Mezzanine: Using Django 1.6.2, mezzanine 3.0.6 and Python 3; I've just migrated www.paulwhippconsulting.com from an old Joomla 1.5 version. The site is like the 'plumber's dripping tap' and Mezzanine certainly saved me a lot of time now I've finally got around to updating i