|
|
 Rank: Addict
Joined: 7/29/2006 Posts: 507 Location: Melbourne, Australia
|
Hey all,
I've got Tortoise SVN installed, and able to download source code from the svn... but not sure how to compile them to a package to import into Umbraco.. or should i be doing it manually?
So if i have for example the umbracoUtilities folder, which has a ton of ascx, files and a bin folder... what do i need to do to get them across into my umbraco environment?
Also, if anyone can suggest how I can view this code, perhaps start adjusting/ tweaking it etc, and run / test it through Visual Studio 2005??
thanks all. Greg
Wishes he could work with Umbraco all the time.
|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,074 Location: Charleston, West Virginia, United States
|
Hi Greg, I don't think there area any simple solutions to the packaging routines yet. Those of us who have created packages have done them by hand. In some cases, it is just easier to install the stuff by hand unless you are putting it out for others to use. Hope this helps. Case
• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
|
|
 Rank: Addict
Joined: 7/29/2006 Posts: 507 Location: Melbourne, Australia
|
Thanks Casey...
next question: how to import them by hand?
Wishes he could work with Umbraco all the time.
|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,074 Location: Charleston, West Virginia, United States
|
Place the dll in the bin folder. Place the ascx files in the user controls folder. Create Macros for the AutoForm, ContentType, Search, and Subscribe/Unsubscribe. You should be able to import the properties, and adjust the property field types. That should get you started. Case
• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
|
|
 Rank: Addict
Joined: 7/29/2006 Posts: 507 Location: Melbourne, Australia
|
right... guess i'll need to just have a play and see if i can figure it out. pity there's so little documentation on such procedures :(
Wishes he could work with Umbraco all the time.
|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,074 Location: Charleston, West Virginia, United States
|
I take it that I lost you at the macro part... OK. <ol> <li>Go to the Developers Section. <li>Right click on Macros and select create. <li>Name the Macro, ie AutoForm. <li>You will get a new page on the right, if not, refresh the macro node and select the new macro. <li>Type in the path to the user control in the user control field, ie usercontrols/autoform.ascx. <li>Save the Macro. <li>Now we have a button that says Browse Properties. Click. <li>You will get a popup with all the exposed properties. Click Save Properties at the bottom. <li>Click Save again. <li>Click the parameters tab. <li>Verify the Type in the dropdown. Name them as you see fit, keeping the alias as it was listed. <li>Click save. <li>Use in template. If you want to use in the Rich Text Editor, you will have to check that property on the Macro Properties tab. </ol> Using the macro is fairly simple, select the macro button from the toolbar and pick the macro, fill out the form, and you are done. Hope this helps. Case
• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
|
|
 Rank: Addict
Joined: 7/29/2006 Posts: 507 Location: Melbourne, Australia
|
awesome, thanks Casey. I'll give it a go
with the 'use in editor' tickbox... by ticking this, i enable the use of the macro from within the wysiwyg editor... but does it have any other effects? Is there a compelling reason to leave it unticked?
Wishes he could work with Umbraco all the time.
|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,074 Location: Charleston, West Virginia, United States
|
Some Macro's don't play well. For instance Javascript based macros fail. I am not sure if there is any performance issues with them being in the RET, but I have used several that way. Keeps me from having to create a seperate template. The autoform is better used in the template, as you can then call it from other pages. I will let the core team differentiate the pros and cons if you are interested. Case
• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,074 Location: Charleston, West Virginia, United States
|
Err... Javascript based macros don't fail, they just don't render in the RTE, but do render fine at runtime..
• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,074 Location: Charleston, West Virginia, United States
|
To give an example of different uses, I created the Yahoo Maps package. I enabled it for use in the RTE, as it would be useful to include it into a page with directions. However, I could have created a template with it, and had a document type that had the necessary fields included in it that way, and had it render from its own content type. Since I only needed it in a couple places, the doc type approach to me was overkill.
• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
|
|
 Rank: Addict
Joined: 7/29/2006 Posts: 507 Location: Melbourne, Australia
|
okay thats making a bit of sense... so for autoform for example, if its only say 2 or 3 forms on a site, i'm better off using it in the RTE than creating a separate template/ document type for each time i want to use it?
I am interested to know if there are performance considerations in how a macro is used...
Wishes he could work with Umbraco all the time.
|
|
|
Guest |