Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Michael McAiney 14 posts 33 karma points
    Jan 19, 2011 @ 23:08
    Michael McAiney
    0

    Reusing Content

    Hi All

    I am new to Umbraco.  Can anyone tell me if the following is possible.

    Some how I need to allow the user to enter some course information.

    So for example:

    Course Name

    Course Description

    Course Cost

    etc

    So they will enter details of 10 course for example.

    And then I need to be able display this to the site visitors.  Using other CMS systems you can do this natively with the system.  Can I do it with Umbraco or would I need to develop my own Control.

     

    Cheers

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 19, 2011 @ 23:39
    Jan Skovgaard
    0

    Hi Michael and welcome on our and to the magical world of Umbraco :-)

    Since Umbraco is very empty once it's installed (unless you have used a starter kit) there is nothing predefined. If you use a starter kit you have a basic foundation, which you can built upon. This is the beauty of Umbraco since you are free to use and structure Umbraco as it makes sense to you on your needs. It's flexible and extendable. The downside is that it requires a bit more work but on the plus side is that you're not limited in any way. (Ok, if you want to use PHP within Umbraco then there is a limitation! :D).

    So the scenario you're describing above is not something that is native to Umbraco. But once you get the hold of the different concepts I think it should be farily easy for you to achieve your goal. Especially if you have C# skills.

    But in short, yes you will need to build it on your own. I think there are more ways you can achieve this but it might be easier to point you in the right direction if you can tell us a bit about your skillset.

    At a first sight this seems like a task you can achieve using Contour, which is a form builder for Umbraco. I think the license is 99€. This is just an option. You can definently build this yourself in some other way as well.

    Hope this helps.

    /Jan

  • kristian schneider 190 posts 351 karma points
    Jan 19, 2011 @ 23:40
    kristian schneider
    1

    It might be that the Contour product is capable of doing what your want.

    You can read about it here: Contour 

    /Kristian

  • Michael McAiney 14 posts 33 karma points
    Jan 20, 2011 @ 00:38
    Michael McAiney
    0

    I am a professional ASP.NET developer.

    What I want is a way of allowing the user to create Course data in the Admin console and then this to appear on a page.  So they will enter the course Name, Location, Cost etc etc in the admin console.  They should be able to enter as many courses as they want.

    Then the page/control on the website will allow the user to view the courses, agree to the terms and conditions and then go through to pay pal to pay for it.

    What would be the best approach ?  

    Should I create my own ASP.NET control and Database tables ?  How do "extend" the admin console to allow the user to input the course data their.  If you could point in the direction of any useful videos etc that would be cool

  • Michael McAiney 14 posts 33 karma points
    Jan 20, 2011 @ 00:55
    Michael McAiney
    0

    Using the technique used in the videos which show you how to create a News Area.  I am presuming I would be best using that approach to allow the user to create the Content...  and then create a custom .Net control to display that content to them and allow them to complete booking ?

  • Daniel Bardi 927 posts 2562 karma points
    Jan 20, 2011 @ 00:56
    Daniel Bardi
    0

    I would use a course doctype with the required properties.

    Create a course template for course pages

    Create a template with a macro to display the courses with links to the course pages.

    On the course template, you will have the link to PayPal and pass in the course field content to the link.

  • Michael McAiney 14 posts 33 karma points
    Jan 20, 2011 @ 01:10
    Michael McAiney
    0

    Ok I am making progress with this...

    The approach suggested by Daniel seems to be working.  Its a lot simpler than I first thought :)

    Thanks :D

  • Daniel Bardi 927 posts 2562 karma points
    Jan 20, 2011 @ 01:17
    Daniel Bardi
    0

    I try to use the native features of umbraco before jumping into developing a custom control.

    Using native umbraco content nodes for the coures gives you more flexablity in the long term if you decided to extend it.

    You could create a users control or xslt macro to iterate the course nodes on the front end and a custom datatype to role up the course nodes into a grid in the backoffice for easier UI for admin users.

Please Sign in or register to post replies

Write your reply to:

Draft