Parsing nodes from Umbraco Multi-Node Tree Picker

I am a .Net developer and Umbraco fan-boy.  This post is related to Umbraco but can be utilized by anyone needing to use C# to parse XML that is stored inside CDATA tags.

I recently downloaded the Multi-Node Tree Picker from FarmCode.org.  This was the winner at CodeGarden ‘10.

The tree picker is a datatype that allows a user to select multiple content or media nodes in a single doctype property.  The code works great on the front end, but the problem is with how the data is stored.

The selected nodes are stored in the database as CDATA inside the page content XML.  I feel this will be fixed in a future release; in the meantime we need a way to read this data.

Thanks to Sascha Wolter of the umbraco community, I was able to successfully parse the selected nodes via XSLT.  Sascha gave me the C# code, and I implemented the following XSLT.

More...

10. July 2010 13:59 by Daniel Bardi | Comments (2) | Permalink

Installing Umbraco to SQL Azure

23 steps to success:  (be patient and follow exactly)

 1. Install umbraco 4.5 locally on sqlexpress
 2. Open SQL Management Studio 2008 RC2
 3. Add primary key to umbracoUserLogins table (contextID, userID)
 4. Right-click on umbraco database
 5. Select Tasks >> Extract Data-tier Application...
 6. Save and note location of .dacpac file
 7. Right-click on umbraco database
 8. Select Tasks >> Generate Scripts...
 9. Select only tables
10. Click Next then click Advanced
11. Find "Types of data to script" and select "Data Only"
12. Click Ok.. (Note .sql file save location)
13. Click Next.. Next
14. Connect to your SQL Azure database in Management Studio
15. Right-click server node
16. Select Tasks >> Deploy Data-tier Application..
17. Select previously saved .dacpac file
18. After deployment, select new database (CLICK IT)
19. Select from menu, File >> Open >> File...
20. Select previously saved .sql file
21. Make sure new database is selected in available database drop-down
22. Click 'Execute' to add data to new database
23. Edit your web.config to point to the SQL Azure database

Done!

Enjoy your new Umbraco on SQL Azure!!!

I had to do this for a client and it worked great.  Hope it helps other!

 

2. July 2010 16:32 by Daniel Bardi | Comments (1) | Permalink

File Manager Package for Umbraco 4.0.x

I have just complete the first release of my File Manager package for the Umbraco CMS framework.

Tested on version 4.0.x... Currently NOT working on 4.5! (updates coming soon)

Allows for full folder/file management from within Umbraco!

Current Features:

  1. Text editor with syntax highlighting from edit_area
  2. Media player using flowplayer
  3. Image viewer
  4. File uploading using Uploadify
  5. Folder creating and browsing
  6. Archive browsing
  7. Integrated Recycle bin (empty/restore)
  8. Folder/File delete to Recycle bin!
  9. Folder/File media import
  10. User/Group permissions (via config file)
  11. Section permission linking to folders, files, and extensions (via config file)
  12. Custom user root path (via config or Users section[mssql only])
  13. Umbraco trees integration (scripts, templates, media, python, xslt)
  14. Fully configurable via fileManager.config (permissions, editors, etc..)

More...

28. June 2010 03:00 by Daniel Bardi | Comments (1) | Permalink

PageLime Puts a Unique Spin on Content Management

PageLime Website

A Unique Approach

I love content management or I wouldn’t be testing so many and writing reviews of them.  I have tested several recently and a few stand out due to their unique approach to editing and managing content.  I recently tested a new web content management system called PageLime and was pretty impressed with what I saw.

 

What Is It?

The biggest different PageLime has, when compared to other popular WCM/CMS, is the fact that it manages your website remotely.  PageLime connects to your web server via FTP and allows you to edit your content through it’s interface.  More...

27. October 2009 03:11 by Daniel Bardi | Comments (3) | Permalink

CMS has Lowered the Expectation Cost for Freelance Web Development

WTF - What The Freelance?

Content ManagementI am a web developer (specializing in .NET) and am getting very frustrated with users perception on how much to pay  a developer to design and a develop there websites, whether it’s CMS base or fully custom website, users need a better understanding of what goes on behind the scenes.

I have accounts on several of the top freelance sites (i.e. Elance.com, Freelancer.com, Rent-A-Coder.com) and time and again I see projects listed for web developer or design at a ridiculously low price.  Users want a complete website with forums, blogging and content management but aren’t willing to pay more than $250.  This is outrageous!

I understand that there are lots of developers that will do this for them at this price, but what is the quality of the design and what kind of support are they getting.  I have even excepted projects at less than I was willing to charge in order to secure the bid.  I am not saying that I agree with it, but what other choice do I have if I am being underbid all the time because I charge more.

More...

25. October 2009 15:55 by Daniel Bardi | Comments (2) | Permalink

How to Recognize a Spammer on Twitter a.k.a. TWAMMER

twitter_spamTwammers – Twitter Spammers!

My name for twitter spammer is a twammer.  I might have to copyright that word!  (noted!)

I have been tweeting for a while now and have come up with a few key red flags to watch for that place a spot light on a twammer and they should be block and possible reported.

If you twitter as much as I do, you will most likely be following topics related to your interest, well twammers have the same interest and here is how to find them (in my experience)

More...

23. October 2009 15:13 by Daniel Bardi | Comments (1) | Permalink

mojoPortal CMS Can Be Confusing For New Users

Pros

mojoPortal Website mojoPortal is an opensource content management web application developed using the .Net framework.  It does a fairly decent job of allowing non-technical users to create websites.  Pages are easily created and can include several content features.  It comes with 35 predefined skins and you are able to create your own if you familiar with CSS.  It can easily be extended by a .Net developer using standard users controls to add new features.  mojoPortal appears pretty solid as far as development but it does have it short-comings.

 

Cons

mojoPortal only allows for 3 panes of content (left, center and right), I am not sure if this can be changed, but from my research, it can not (someone let me know if this is wrong, a response from the developer would be nice)

More...

23. October 2009 10:47 by Daniel Bardi | Comments (17) | Permalink

5 Unrecognized Open Source Content Management Systems for Developers

Full Size of searchCMS Overload

Content management systems are flooding the internet today.  Everyone wants a piece of the pie.  There are so many, in fact, that I would take hundreds of articles to cover them all.  As many things in life, some are good and some are not so great.  Some are free and some you have to pay for.  Some are designed for the non-technical and others are designed for people with a load of technical and development experience.  There are as many varieties of content management systems as there are personalities in people.

More...

19. October 2009 15:01 by Daniel Bardi | Comments (2) | Permalink

Recursive Related Links in Umbraco CMS using XSLT Macro

I have used the related links package by Tim Geyssens from Nibble.beand found it VERY useful, you should check it out.

I recently had a client that needed to combined all those related links onto one page.

This post is how I did it!  You might do it differently, but my method worked out great for the client.

More...

17. October 2009 12:17 by Daniel Bardi | Comments (2) | Permalink

“Get Motivated” Seminar in Denver Doesn’t live up to Expectations

The Morning

Yesterday I made sure to get up at 4:30am in order to get ready for the “Get Motivated” seminar scheduled to go on in Denver at 8:00am.

I had gone to the seminar in Colorado Springs 2 years ago and somewhat enjoyed it; besides being given a sales pitch for what I would call a “get rich quick” product for a stock marketing program.

I was ready to go by 5:20am and waited for my ride to arrive to take me on the 1 hour trip to Denver.  If anyone knows me, they will understand that I do not like being a passenger on a road trip.  I became very nauseous and remained that way all the way to Denver.  Little did I know that this illness was a warning for the outcome of the day.

More...

14. October 2009 10:26 by Daniel Bardi | Comments (1) | Permalink

About Daniel

Daniel S. Bardi

Daniel S. Bardi is a long time .Net developer.  He is the owner of Dascoba Development, and a freelance web development specializing in content management utilizing opensource CMS solutions as well as custom asp.net web applications.  Read More...

Month List

CRUSH IT!


Recent Tweets