Specs Multi Blogs on one site for CB 2.1

Cleanup:

  • remove blog entry point from settings
    Changes/Add:

  • Define a new content type for blog entry point

  • pre filter blog by categor/y/ies

  • Allow to hide pre filter category in output- Change widgets and layouts to support multi blog

Question:

  • Does it make sense to define a new content type for this, or should we reuse page?

Anything else?

I’ve wanted to be able to create custom content types for a very long time. Mura has supported this via a web interface for a long time. I’ve implemented it before in a ColdBox-based CMS but it was done via programmatic means. (extending a base type with additional fields, etc.)

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Could we reuse some of the code? More ideas how to implement it? Maybe we can start with a basic version and extend it later?

guys, been thinking about this a bit. Here is a little synopsis of how to implement multiple instances of blogs.

Have a new entity called Blog, which will model a blog instance, which can have the following properties:

  • name
  • permalink → URL entry point
  • isActive
  • entries → o2m of related entries for this blog

Under content we would replace “entries” with “blogs” and present the new blog manager where you can see a global view of all the registered blog instances. You can then drill down into a specific blog and see all the normal entries manager.

Basically adding a blog instance manager. Each blog would have their entry point URLs, that would switch the context of what view you are reading. The UI module would pretty much the same except be able to know what blog you are on in order to tell the entry service from where to pull the entries from.

Thoughts?

In the future, once we implement multi-site would that allow for this?

– ContentBox instance
– site 1
– blog a
– blog b
– site 2

– blog c
– blog d

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Why not, I think it should.
site 1 has folders for DE and EN, each has its own blog. Or blogs for different interest groups.

Yes, totally.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

Blog meaning some combination of pages/blog entries? Will modules and plugins be inherited from the contentbox instance?

Is there a way to add a URL as an entry instead of page so you can have a menu item without having to touch the code?

Blog meaning some combination of pages/blog entries?

No, a blog would just be entries

Will modules and plugins be inherited from the contentbox instance?

No. This is not possible as modules are instances for the entire ColdBox application.

Is there a way to add a URL as an entry instead of page so you can have a menu item without having to touch the code?

I don’t understand the question

The URL question was off topic. In contentbox I want to include a url to let’s say another blog and have that in the menu. Only way I know to do it in contentbox is to add it via the layout or to add a page and put the link in the page.

Actually, can’t you do that with the new menu builder now? I haven’t actually used it since it got integrated into core but I know Joel’s original SuperMenu allowed ad-hoc menu items that could point to anywhere,

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

That’s correct Brad. The menu build is exactly for that Jonathan.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

Thanks. How do I call this great new tool from my layout?

You have a widget

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

Just one thing we forgot. What’s about the RSS feeds? Each blog will have it’s own feed. Should we have a shared feed option?

I am thinking each blog will have its own feed:

/:blogentrypoint/rss

/:blogentrypoint/rss/comments

/:blogentrypoint/rss/category

You can still get global content feeds via the
/__rss route, which gives you about ALL site content

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

Sounds good.

Who will implement it :slight_smile: We could probably do it next or in two weeks.