|
|
Rank: Newbie
Joined: 10/30/2007 Posts: 11
|
Hello,
I'm facing a challenging issue regarding Umbraco CMS: Let's consider that we have a document that MUST have exactly 3 child documents (of a custom type). I'm thinking that is not a good idea to leave the web content manager to publish exactly those 3 child documents and I also think this is not professional. Is there any way of creating web content in Umbraco on the fly (dynamically)?
Let's say I have a website with Cars and for every car I have other pages with Interior pictures page, Exterior pictures page and Accessories Page. The thing is that 3 pages are mandatory and their names I want to be "/Interior", "/Exterior", "/Accessories". In Umbraco I publish a document (page) for a car model, add the proper content for Interior, Exterior and Accessories and than those pages are created dynamically on demand. If the car model would be Audi A4, than the Interior would be A4/Interior, A4/Exterior and A4/Accessories.
I don't know if I have made myself clear about this, but if you want more details please reply.
regards, Adrian
|
|
 Rank: Addict
Joined: 3/17/2008 Posts: 980 Location: Nyborg, Denmark
|
This is possible via ActionHandlers. We've helped a customer with exactly this issue via the " umbraco Pro" product which is the official supported version of umbraco for commercial usage.
Jeeeez, did I really start this :-)
|
|
Rank: Newbie
Joined: 7/5/2007 Posts: 3
|
Hello Adrian,
If you are using version 3 you can do this by adding an additional template for each of them. Since Umbraco allows you to dynamically change the template on a node by adding the template node to the url like:
/Audi/A4.aspx -> /Audi/A4/Interior.aspx /Audi/A4.aspx -> /Audi/A4/Exterior.aspx /Audi/A4.aspx -> /Audi/A4/Accessories.aspx
Inside the Interior, Exterior and Accessories templates you can reference the A4 node directly as $currentPage.
Hope this helps,
Ewart
|
|
Rank: Newbie
Joined: 10/30/2007 Posts: 11
|
Hello,
Thank you very much for the info.
Yes, my company would eventually purchase a commercial license of Umbraco, due to the fact that we're going implement some solutions using Umbraco, and it has good chances to become one of our major web content management environments.
I was asking this question on the forum, because I have to create a technical design and I'm not completely aware of Umbraco's strengths and flaws.
Regards, Adrian
|
|
Rank: Newbie
Joined: 10/30/2007 Posts: 11
|
Also...what is your opinion about document lists (photo gallery, video gallery, document list, etc).
What could be some implementation patterns?
How about the situation where just 1 photo-gallery is mandatory? How can be enclosed in Umbraco such a constraint?
regards, Adrian
|
|
 Rank: Addict
Joined: 3/17/2008 Posts: 980 Location: Nyborg, Denmark
|
Hi Adrian!
Cool - I was only answering because I had just had a similar topic on the pro and got excited.
Good luck on your progress and hope to see you as a happy customer some time :o)
/n
Jeeeez, did I really start this :-)
|
|
|
Guest |