----------
Basically, we we merge our exising "entry" and "page" content types
into a "text" content type
And then each content type would have an option of into which Content
Place to put it:
-in the blog chronology
-as a separate page
-into another content area (sidebar, etc, similar to like WP widgets,
themes can have more than 1)
Want to write?
Choose a content Type
Add content
Choose a content Place
Publish
What do you all think?
--
Randy Walker
emai: randy....@mac.com
phone: 989.906.3626
AIM: randy....@mac.com
Gtalk/Jabber: randy....@gmail.com
Yahoo! (Windows Live/MSN) randywalker83 (@yahoo.com)
Why have content types at all? Why not just have a single "content"
container into which we store all the content?
To answer my own question: I think we want to have discrete content
types because logically they each represent something different, and
in theory one can do different things with them.
For example, you can currently get an Atom feed of entries. It ought
to be possible to get an Atom feed of pages. In your proposed
construct, how would someone obtain an Atom feed of entries? Or an
Atom feed of "aside" type elements?
Someone might want a specific post to be displayed in the blog
chronology while simultaneously adding it to the menu navigation.
With a single checkbox like you propose, that might be difficult.
This sounds like a technical thing and I don't do technical. :) Seriously, though, I don't know how people get a feed of my entries. I would imagine it couldn't be too dissimilar to do pages instead?
>Someone might want a specific post to be displayed in the blog
>chronology while simultaneously adding it to the menu navigation.
>With a single checkbox like you propose, that might be difficult.
If we use checkboxes, I don't see why a person couldn't check more than one :) (Again, there might be a technical reason against this. I dunno.)
Placement would still be dependent on the theme. The theme author would designate 0 or more areas in the theme as Places for content.
>Really, the only difference in this suggestion is that we provide an
>additional criteria for each post that indicates where in the theme it
>is to be published. This presents some difficulties.
>
>First, not every theme will be geared to display output at every
>potential place that is indicated in the post entry. If you write
>posts that are destined for a "sidebar" area, and then you activate a
>theme that has no "sidebar" area to display them in, what happens?
>How free-form is the positioning field? If we let people enter
>whatever they want, it'll be confusing when typos cause things not to
>display.
There would obviously have to be some sort of fallback, perhaps hide all Content that is assigned to a Place that doesn't exist; or, each Content that would display in a Place that doesn't exist would be shown as a Page instead. (Two possibilities: hide stuff or show it all)
Second, I don't imagine options to be free-form; the active theme would have to be parsed for Places and then each Place in addition to the defaults would have a checkbox.
>Second, it is an additional control that would need to be primary on
>the publish page, otherwise the content wouldn't display anywhere.
>The process is really streamlined now, and I have negative feelings
>about adding an additional control to that page.
There's plenty of room for a second column of controls on the "Settings" tab. In fact, I think it looks a little lop-sided right now.
>Third, how does this affect feeds? Currently only Entries are output
>in the feeds (or should be, anyway). Would we have to add another
>field to determine if the post should be included in the feed? What
>do we do with content types that don't present the required fields
>(title, description, link, pubdate, etc) for a feed?
I would say still that only entries would show up in the feed or perhaps "feed" could be another Place.
>It sounds like I am against this idea, but I think that it merits
>discussion. Output disposition could make using Habari as a CMS much
>easier.
>
>Being able to pre-define where content should appear or how to
>categorize it for output seems like something that would make theming
>better. Personally, I would attack this feature using tags, or to be
>more grand about the change, converting the tag system to a taxonomy
>(something I'm thinking we should really do soon anyway) and letting
>themes select posts based on the location defined in the "location"
>vocabulary of the taxonomy.
This should probably be a separate thread but here's my two cents on this issue: I think our current tagging interface would have to change for this. A big open field where you just type everything seems very, very unfriendly and our "Tags" tab would have to be pre-populated with all the control-type tags so people who don't want to type everything or who don't know what they are could just click them, but I imagine that this list could get very long and we'd want to separate them out somehow, anyway. Having the list merely exist in Documentation would be unacceptable, in my opinion.
>Owen
~Randy
That's not correct. Templates degrade, so you can have entry.single
and single, entry.multiple and multiple. As things stand, you can
support a plethora of unseen content types just as effectively by
providing single and multiple templates.
I believe a push model is actually placing extra cognitive load on a
user. Where do I want this? Much better to just be able to hit publish
and have the theme put it where it should go.
> What's more, I am thinking we might want the ability to combine
> multiple content types into a single template.
As above, that ability is already there with multiple. Connections
search shows both pages and entries (iirc).
> That is, content types of both "poll" and "entry" could appear in
> the index. I envision this working through content templates being
> separated out from view templates; every content type would have its
> own bare-bones template (either defined in theme or plugin) which is
> used for the content type. Then, when an index is loaded the
> appropriate posts are fetched, with each one being displayed using
> the matching template.
I fail to see how this is different to now. Maybe I just haven't had
enough caffeine.
--
Michael C. Harris, School of CS&IT, RMIT University
http://twofishcreative.com/michael/blog
Plugins can control how a content type is displayed. The plugin can
filter the post content. There's no need to modify the multiple
template.