Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

Dataobjects instead of pages in a category


Reply


2 Posts   1160 Views

Avatar
jovoo

Community Member, 12 Posts

8 July 2009 at 8:44pm

Edited: 08/07/2009 9:11pm

Hi, I'm not sure if I'm right here. So sorry if I'm not. Now to my problem. In my project I want to build a website like blog using SS. But I don't want to create a page for each new entry, cause the sitetree is getting larger and larger. So I was wondering if I can manage it with dataobjects. For example I have a category-page called "Blues CDs" to list 10 blues cds in the frontend. In this category I want to create new entrys in the cms by using dataobjects. (I like the listing of dataobjects in the cms more then the pagetree). Perfect, but now I want to see the detailpage of a single cd. All the details are saved in a dataobject of the category-page.

Is there any posibility to use a blank page (under the category-page) and fill it with the information of the dataobject? But I also want to change the title of the page. So in the cms it would be called "EntryPage" for example, but how can I change the title into "Blues CD 1" for example if I want to see the detailpage of it in the frontend?

It's a bit difficult for me to explain what I want, cause I'm not a programmer. I hope you understood my confusingly explanation.

Cheers,
jovoo

Avatar
jovoo

Community Member, 12 Posts

8 July 2009 at 9:21pm

OK, i guess i found a solution here: http://www.silverstripe.org/data-model-questions/show/254345#post254345
Sorry for the double-post!