Can somebody point me in the right direction on creating a booking system (specifically for flights + hotels). How can we create this so we can manage client's bookings from Back End (like cancel booking, booking options etc) from a custom module in sidebar, or similar, with custom UI?
As Garðar says nothing out of the box but you can certainly build a custom section in Umbraco and then wire up buttons in Angular pages to an API... obviously this is a bespoke development but perfectly do-able.
Follow Tim Geyssens excellent post about creating custom sections (his is using a tree for "people content") yours would / might be bookings. http://www.nibble.be/?p=440
FInally - have a look at my sample controller below to see how to wire up different menu items (how you might wish to perform the actions like cancel, book etc). I suspect you'd be better off with a dummy parent node and not listing each booking as a child node and instead rendering each booking out as a table row with links / buttons for these actions in the right hand pane though?!
/// <summary> /// Summary description for CustomSectionTreeController /// </summary>
[Tree("CustomSection","CustomSectionTree","My Custom Section")] [PluginController("CustomSection")] publicclassCustomSectionTreeController:TreeController { protectedoverrideTreeNodeCollectionGetTreeNodes(string id,FormDataCollection queryStrings) { // check if we're rendering the root node's children if(id ==Constants.System.Root.ToInvariantString()) { // add nodes to tree var tree =newTreeNodeCollection { // routepath HAS to be /appsection/treealias/htmlview/ID CreateTreeNode("1","-1", queryStrings,"View Quotes","icon-dollar-bag","/CustomSection/CustomSectionTree/quotes/-1"), CreateTreeNode("2","-1", queryStrings,"View Sales Leads","icon-handshake","/CustomSection/CustomSectionTree/salesleads/-1"), CreateTreeNode("3","-1", queryStrings,"View Applications","icon-mailbox","/CustomSection/CustomSectionTree/applications/-1"), CreateTreeNode("4","-1", queryStrings,"View Complaints","icon-iphone","/CustomSection/CustomSectionTree/complaints/-1") };
return tree; } // this tree doesn't support rendering more than 1 level thrownewNotSupportedException(); }
protectedoverrideMenuItemCollectionGetMenuForNode(string id,FormDataCollection queryStrings) { // create Custom Section menu items e.g. "Delete Quotes" var menu =newMenuItemCollection();
Creating a Booking System
Hi,
Can somebody point me in the right direction on creating a booking system (specifically for flights + hotels). How can we create this so we can manage client's bookings from Back End (like cancel booking, booking options etc) from a custom module in sidebar, or similar, with custom UI?
Are there any tutorials or pulgins available?
Can we get some examples?
Thanks!
Hi Dan,
I'm sorry but I dont think there are any easy solutions on what you are asking.
You are talking about specific applications that needs allot of work, there are does not exist any packages that solves this.
Every booking system is custom build, you could use Umbraco as a framework around it but that is not something I would recommand.
Best regards.
Garðar
As Garðar says nothing out of the box but you can certainly build a custom section in Umbraco and then wire up buttons in Angular pages to an API... obviously this is a bespoke development but perfectly do-able.
Follow Tim Geyssens excellent post about creating custom sections (his is using a tree for "people content") yours would / might be bookings. http://www.nibble.be/?p=440
The official documentation http://our.umbraco.org/documentation/Extending-Umbraco/ is not quite complete in this area but is a good resource.
FInally - have a look at my sample controller below to see how to wire up different menu items (how you might wish to perform the actions like cancel, book etc). I suspect you'd be better off with a dummy parent node and not listing each booking as a child node and instead rendering each booking out as a table row with links / buttons for these actions in the right hand pane though?!
is working on a reply...