I'm trying to implement the documentation on django-cms on How to use placeholders outside the CMS
It seems possible to define a field in a model app external to the CMS which will behave like the djangocms-text-ckeditor
But I can't get this 'templatetag' to work
{% extends 'base.html' %}
{% load cms_tags %}
{% block content %}
<h1>Title page info</h1>
{% render_placeholder object.short_text "640" %}
{% endblock content %}
Here my info.models.py
from django.db import models
from cms.models.fields import PlaceholderField
class MsgDet(models.Model):
title = models.CharField(max_length=255)
short_text = PlaceholderField('content')
I've create a small django-cms project following the django-cms tutorail using django CMS installer. The source code is on GitHub under OpenHBP/PlaceholderField. I've added a simple info app to the cms and I try to display "MsgDet.short_text" fields inside a "CKEditor like" plugin.
A double-click on the CMS home page opens a CKeditor window. I would like to achieve the same result on my info page!
I know this can be achieved by using RichTextField from ckeditor but I would like to use "PlaceHolderFiled" in order to have access to djangoCMS plugins: picture/image or file.
Note that I've also tried with django-ckeditor-filebrowser-filer but the project seems deprecated and pdf upload does not work.
I just want to be able to access filer files (images & documents) from a "CKEditor like" window...