Newbie question for Umbraco Options
Phil
Posted: Friday, July 04, 2008 9:43:36 PM
Rank: Newbie

Joined: 7/4/2008
Posts: 14
Location: Denmark
Hi,
I have for some years been using Joomla, but I have decided I wanted to switch to Umbraco since I need to do some development on the CMS (make a small custom control) and didn't want to code in php.
I am completely new to Umbraco, so I am sorry if I have missed something. I have a few questions:
1. Is there any hello world tutorial on how to create a custom component.
2. In other cms I am used to a control box, where people could register, is there such a thing in Umbraco?
3. Are there any good open source forums used for Umbraco, which can be easily hacked (I have an idea on how to alter a regular forum to suit my needs).
4. Umbraco seems lacking a lot of components when installed, is it the purpose you have to install all components later? And are these (http://www.codeplex.com/umbraco/Wiki/View.aspx?title=Umbraco%20Extensions%20and%20Add-ons&referringTitle=Home) the only components there are?
Sorry for all these questions :)
Have a nice weekend
- Phil
drobar
Posted: Friday, July 04, 2008 10:02:39 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,758
Location: KY, USA
Hi Phil, and welcome to umbraco!

Great questions. Let me answer each quickly. But please ask more questions as you go along. There are always people on the forum who can help.

1. Creating custom behaviors in umbraco is incredibly easy. You can often do what you need within an XSLT macro, with no need for .NET at all. But if you do need/want to use .NET... that's really easy as well. And you don't even need the umbraco source code to do it! Check out these links to get you started:
http://forum.umbraco.org/yaf_postsm22702_Why-Umbraco-Rocks--Adding-custom-net-usercontrols.aspx
http://skiltzonnet.blogspot.com/2008/01/creating-you-first-umbraco-user-control.html
http://skiltzonnet.blogspot.com/2008/04/creating-your-first-umbraco-user.html

2. An easy way to allow people to register on your site is to use the umbraco member controls. This is described in various places. Check out these links:
http://forum.umbraco.org/yaf_postsm24651_Question-about-password-and-membership-to-see-file.aspx
Once you've got members logging in, you'll probably want to do something with those logins...
http://en.wikibooks.org/wiki/Umbraco/Samples_and_Articles/Protecting_Documents
http://forum.umbraco.org/yaf_postst3439_Question-about-password-and-membership-to-see-file.aspx
http://en.wikibooks.org/wiki/Umbraco/Samples_and_Articles/Creating_Newsletters

3. Check out Yet Another Forum and the instructions on how to integrate it with umbraco.
http://forum.umbraco.org/yaf_postst2257_Integrated-Forum.aspx
http://skiltzonnet.blogspot.com/2008/02/integrating-yetanotherforumnet-into.html

4. Lack of components? No way. But you may not be aware of all that are out there so always ask to see if someone has already done what you're looking for. Also, unlike other CMS's... macros are so easy to make and customize that many times you don't need a pre-built 'component'. 90% of the time you can just create a new xslt file, select a pre-defined xslt template to start with, tweak it a little bit, and you're done. This is a big difference between umbraco and other CMS's and you'll love it.

You can also find official packages in the Package Repository at http://packages.umbraco.org/packages... which is also available directly from the umbraco UI. Just right-click the 'Macros' treeview item in the Developer section and choose the menu to import a package. Then, follow the prompts to browse the repository (or select a package you've downloaded from elsewhere) and you're on your way!

cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
Phil
Posted: Friday, July 04, 2008 10:09:30 PM
Rank: Newbie

Joined: 7/4/2008
Posts: 14
Location: Denmark
Thanks drobar for all the responses. I guess I just have to dive in, I guess I will have enought reading materials with your links for a few weeks :)
If I later have some problems can I just reply to this thread or should I make a new?
drobar
Posted: Saturday, July 05, 2008 2:30:34 AM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,758
Location: KY, USA
Hi, Phil,

It probably won't take you very long to get through the materials. It may seems like a lot at first but as with most things in umbraco, it takes longer to explain the steps than to do them.

Feel free to keep this thread going if you've got general questions that build upon what you've already asked. If you've got a specific question about something you're struggling to understand or accomplish please start a new post for that. By keeping the posts focused on a single topic it is easier for people on the forum with expertise in that area to answer quickly.

cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
Phil
Posted: Saturday, July 05, 2008 8:30:56 PM
Rank: Newbie

Joined: 7/4/2008
Posts: 14
Location: Denmark
Thanks for the quick answers. I have been looking into the Umbraco API, but I can't find any place where the Datalayer or DataTier is described?
I need to add some database connections and business logic for my user control. Would it be best to expand Umbracos BL and DL (whereever the DL is) or should I just create my own?
drobar
Posted: Saturday, July 05, 2008 10:03:54 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,758
Location: KY, USA
Definitely just do your own work in your user/custom control. No need to modify the core. BTW, the data layer is in the forth-coming v4.

cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
Phil
Posted: Saturday, July 05, 2008 10:37:33 PM
Rank: Newbie

Joined: 7/4/2008
Posts: 14
Location: Denmark
Okay thanks a lot.
I am trying to import Umbraco to VS 2008 so I can try to compile my control there, but how do I import umbraco to vs? I can't find any .Sln file?
drobar
Posted: Sunday, July 06, 2008 2:26:36 AM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,758
Location: KY, USA
You don't even need to open up umbraco in VS! Umbraco is much simpler to use and extend than most other systems.

Here are some links that will show you how to get started making your first control.

http://www.nibble.be/?p=12
http://forum.umbraco.org/yaf_postsm22702_Why-Umbraco-Rocks--Adding-custom-net-usercontrols.aspx
http://skiltzonnet.blogspot.com/2008/01/creating-you-first-umbraco-user-control.html
http://skiltzonnet.blogspot.com/2008/04/creating-your-first-umbraco-user.html


cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
Phil
Posted: Wednesday, July 09, 2008 11:44:11 AM
Rank: Newbie

Joined: 7/4/2008
Posts: 14
Location: Denmark
Thank you very much for all the links :)
I asked a question here: http://forum.umbraco.org/yaf_postst2257p2_Integrated-Forum.aspx which didn't get replied to, maybe you can help?

The question:
I have tried to integrate YAF to Umbraco, but with no success. I have added:
<connstr>user id=XXX;pwd=XX;data source=(local);initial catalog=XX;timeout=90</connstr>
<uploaddir>~/upload/</uploaddir>
<boardid>1</boardid>
<!-- Enable URL Rewriting -->
<enableurlrewriting>false</enableurlrewriting>
<!--logtomail>emailSpeak to the handserverSpeak to the handuserSpeak to the handpassSpeak to the hand</logtomail-->
<!--categoryid>1</categoryid-->
<!-- Enable these to use a custom user class "provider" -->
<!--CustomUserAssembly>TinyGecko.YAFIntegration.dll</CustomUserAssembly>
<CustomUserClass>TinyGecko.YAFIntegration.yafUserClass</CustomUserClass-->
</yafnet>

In the end, just before </configuration>.
I get an error on the config, does anyone know what I have done wrong?
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.