pombreda / django-page-cms

Automatically exported from code.google.com/p/django-page-cms
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

placeholders for media and placeholder lists #74

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This looks like a very promising CMS solution for Django but there are a couple 
of things that I 
feel are missing that would make it competitive with the big enterprisey 
solutions:

1. Media Placeholder, but just images would be enough. Say an article template 
always has an 
image at the top, there should be a way of specifying a placeholder for this 
image in the 
template (along with any dimension/size restrictions). Or if a specific block 
of content should 
always have an image, the image placeholder could be used here.

2. Placeholder lists. It should be possible to define a single "row" which 
would contain a number 
of placeholders (say a paragraph and an image) and define a "list" placeholder 
that contains this 
definition. Then the UI for editing would show +/- buttons for adding and 
removing rows from 
the list.

I feel these two features would add a great deal of power to the CMS.

Original issue reported on code.google.com by AndrewOf...@gmail.com on 8 Mar 2009 at 8:58

GoogleCodeExporter commented 9 years ago
I do agree that these features could be interesting. But I don't plan to 
personally
implement that myself.

1. A media holder could be very easily implemented using an external app and a
special widget that will allow the admin's user to choose an image. The image 
url
will then be saved in the placeholder content.

If you need a title, add a TextInput placeholder...

2. This is a little more tricky, but again a kind of "super widget" could 
eventually
do the trick... Or a new tag called a PlaceHolderList

{% placeholderlist %}
  {% placeholder image on current_page with filemanager.widgets.ChooseImage parsed  %}
  {% placeholder image-title on current_page with TextInput parsed  %}
{% endplaceholderlist %}

Original comment by batiste....@gmail.com on 7 Jun 2009 at 3:37

GoogleCodeExporter commented 9 years ago

Original comment by batiste....@gmail.com on 15 Jun 2009 at 2:27