Two blogs on site

Is this possible? Following structure:
mysite.de -> Blog in German
mysite.de -> Blog in English

I tried to add a blog as a subpage, but didn’t find the option.

Both blogs should have different content.

Technically you could but it would be using a page structure since you only have one blog stream at this point.

You could just do it with normal pages and a blog layout for them. The only difference between a page and a blog entity is an excerpt and hierarchy.

I’m wondering if it could be done by changing routes?

We could work with one blog internally, we would assign a category for each language/blog. Then if the blog
would be displayed entries would have to be filtered in advance by category. Would that be possible?

mysite.de -> Filter all blog posts with category de
www.mysite.de/en/blog -> Filter all blog posts with category en

I played a bit with the routes in ModuleConfig, but I’m not sure how to do it correctly.

Ahh yes, that would work as well.

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Hi Luis,

i’'ve tried to implement gunnar’s idea with the categories ‘en’ and ‘de’.
But I’ve problems to build correct links within the blog, e.g. to other categories (cb.quickCategories()). To bulid the links the method siteroot() in CBHelper.cfc will be called and that method reads the variable cbEntryPoint in the prc scope. This variable is a value binded in the application scope and I think, this variable will be initialized at startup und should not be change.
In our case with a blog which is reachable in two ways (mysite.de, mysite.de), the entryPoint is not fix, the entryPoint is dependent of the request. Is there an opportunity to edit the entryPoint during the runtime?

Best
Matze

Yes Matze.

The entry point is stored in the prc. So you can override it with an interceptor

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano