Hi Etienne
I'll answer the questions not answered by Simon already.
On Thu, May 3, 2012 at 6:03 AM, etienned <
etienne....@gmail.com> wrote:
> Hi,
>
> I'm currently evaluating Django-CMS and FeinCMS for my site. Currently
> FeinCMS look more tempting to me but I have a few problems and
> questions to be fix/answer before choosing it definitely.
>
> I need a CMS basically for 2 things: adding some basic content pages
> (about, etc.) and managing the different menus (main menu, footer
> menu, etc.) that will be mostly on every page of my site. Most of the
> site content is produce by other custom apps. But most of these apps
> don't have any pages/templates for the moment.
>
> I'm with Django 1.3.1 and FeinCMS 1.5.1.
>
> 1. I did some basic tests inspired by the docs and the example
> project. The admin part works fine. The problem is when I try to
> render a frontend page I got this error: "ContentNotRenderedError The
> response content must be rendered before it can be accessed.". I dig
> into the code and the problem come from the `add_never_cache_headers`
> function in the handler. This function try to access the content of
> the response but the content look like is not render yet? If I remove
> the `add_never_cache_headers` function the page renders correctly.
That's a bit unfortunate. The add_never_cache_headers function is
needed so that content delivered when frontend editing is active is
never cached.
As long as you don't use frontend editing you should be fine by just
removing this line, though. Can you open a ticket on the github issue
tracker with the full traceback so that we can solve this problem in
FeinCMS itself?
> 2. When running syncdb the first time, I hit a problem (I'm using
> MySQL). It's the issue
https://github.com/feincms/feincms/issues/261.
> The problem is still there because in CS c3dc229 the max_length was
> lower to 300 but the maximum allowed on a VARCHAR in MySQL (prior to
> ver. 5.0.3) is 255. But I think their's also a problem with key limit
> (767 bytes) because I still have this bug with MySQL 5.1.31. If I set
> the max_length to 255 I don't have the problem.
Yes, this is a known problem. I did not get any responses on my
comment on this issue yet. We use MySQL on a few sites as well and
everything seems to work alright.
> 3. My site is multilingual and I would like to have URLs prefixed by
> the language (fr, en) like this site
http://zff.com/. How can I
> achieve that with FeinCMS?
>
> 4. How to add a menu entry that point to one of the URL of my custom
> app?
>
> 5. Is it possible to use reversion on the Pages? How?
Yes. We even have step-by-step instructions for that:
http://www.feinheit.ch/media/labs/feincms/versioning.html
There's a problem with reversion 1.6 you have to be aware of, though.
It's fixed in 'next', the fix removes compatibility with earlier
versions of reversion and will not be available in the 1.5 series of
FeinCMS because of that.
https://github.com/feincms/feincms/issues/266
> 6. What's the best strategies for my use case? I think I should create
> a base template that include my different menus, each one in its own
> block and then create a main block that will be fill by Page for the
> basic pages and overriden in other templates specific to my custom
> apps. Is it the way to go?
Sounds good. Maybe have a look at this page as well:
http://www.feinheit.ch/media/labs/feincms/integration.html
Most of the time we aren't using different base templates for
different parts of a site. Maybe a base template for standard content
and a template for the home page. I rarely use more than two templates
but there aren't any hard and fast rules for that, it's mostly a
question of style.
HTH
Matthias