Copied to clipboard

Flag this post as spam?

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


  • Pat Friedl 9 posts 29 karma points
    Dec 14, 2010 @ 18:43
    Pat Friedl
    0

    Tips on integrating custom code?

    Hey all. Ok, forgive the "newb-ness", but I'm having a bit if a hard time wrapping my head around how we might integrate custom code into our site. We provide a service where users can look up information and reports on transportation clients.

    This involves a ton of extra tables in our database, and we'll have a different user model than most sites.

    Are there any docs, tutorials or wiki info on doing this? I've looked, but hey, I'm not that bright ;)

     

    Any info would be greatly appreciated - thanks!

  • Rich Green 2246 posts 4008 karma points
    Dec 14, 2010 @ 18:54
    Rich Green
    0

    Hey Pat,

    There's a tonne of info out there, it's just finding it.

    There are two sides to this, one is integrating the tables into the Umbraco back end so they can be edited / controlled there, this is most commonly known as   a 'umbraco custom section' there is a whole serious of videos on Umbraco TV http://umbraco.org/help-and-support/video-tutorials/developing-with-umbraco/custom-sections,trees-and-pages/introduction also a useful post here http://www.geckonewmedia.com/blog/2009/8/3/how-to-create-a-custom-section-in-umbraco-4

    As these database tables are outside of Umbraco (ie the content is not held in Umbraco) you can use any data access tech you like.

    The other stage is how you use this data within Umbraco this is done by creating .NET usercontrols in the normal way and then using them within Umbraco templates via Macros, there is a free set of videos which cover this here http://umbraco.org/help-and-support/video-tutorials/introduction-to-umbraco especially 'Using .NET controls'

    Hope that helps

    Rich  

Please Sign in or register to post replies

Write your reply to:

Draft