WYMEDitor working in admin but not from frontend

12 views
Skip to first unread message

Ivan Uemlianin

unread,
Dec 1, 2010, 6:51:53 AM12/1/10
to django-page-cms
Dear All

I have just installed django-page-cms as a simple cms for a larger
site (to add "About us"-type pages, etc). The basic set up seems to
be working.

I am using WYMEditor as a content editor. This works when I add or
edit a page in the admin (/admin/pages/etc) but not when I access the
page through the front-end (/pages/etc). For the frontend page
template I am using s very slightly edited version of:

django-page-cms/pages/templates/pages/examples/index.html

Instead of WYMEditor I get the "quick and dirty edit in place example"
from the template above.

The template has a placeholder tag:

<div id="body" class="placeholder">{% placeholder body with
WYMEditor %}</div>

I had assumed the palceholder tag would magic in everything I needed
for WYMEditor.

Have I missed something from the template?
How can I get WYMEditor working from the frontend?

With thanks and best wishes

Ivan
Reply all
Reply to author
Forward
0 new messages