• Copy the Procure dlls to the umbraco bin directory
    • Procure.Web.dll
    • Procure.Data.dll
    • Procure.Library.dll
    • Procure.Payment.dll
  • Optionally copy the Authorize.NET payment gateway dll to the umbraco bin directory
    • Procure.Payment.Authorize.dll
  • Create a Procure directory in the umbraco folder
    • wwwroot\umbraco\procure
  • Copy the following files into the procure directory
    • EditAttribute.aspx
    • EditCheckoutScreen.aspx
    • EditProduct.aspx
    • EditProdutType.aspx
    • procureAjaxService.asmx
  • Copy the following files into wwwroot\umbraco\config
    • procure.xml
  • Copy the following files into wwwroot\umbraco\images\umbraco\
    • attribute.png
    • ProductType.png
    • Product.png
  • Copy the following files into wwwroot\umbraco\images\tray\
    • procure.png
  • Modify wwwroot\umbraco\config\create\ui.xml
    • Append to the bottom before </createUI>:
 	<nodeType alias="productType">
  		<header>Product Types</header>
  		<usercontrol>/create/simple.ascx</usercontrol>
  		<tasks>
  			<create assembly="Procure.web" type="productType.productTypeTasks"/>
  			<delete assembly="Procure.web" type="productType.productTypeTasks"/>
  		</tasks>
 	</nodeType>
 	<nodeType alias="attribute">
  		<header>Attributes</header>
  		<usercontrol>/create/simple.ascx</usercontrol>
  		<tasks>
  			<create assembly="Procure.web" type="attribute.attributeTasks"/>
  			<delete assembly="Procure.web" type="attribute.attributeTasks"/>
  		</tasks>
 	</nodeType>
 	<nodeType alias="product">
  		<header>Products</header>
  		<usercontrol>/create/simple.ascx</usercontrol>
  		<tasks>
  			<create assembly="Procure.web" type="product.productTasks"/>
  			<delete assembly="Procure.web" type="product.productTasks"/>
  		</tasks>
 	</nodeType>
 	<nodeType alias="checkout">
  		<header>Checkout</header>
  		<usercontrol>/create/simple.ascx</usercontrol>
  		<tasks>
  			<create assembly="Procure.Web" type="checkout.checkoutTasks"/>
  			<delete assembly="Procure.Web" type="checkout.checkoutTasks"/>
  		</tasks>
 	</nodeType>
  • Modify wwwroot\umbraco\config\lang\en.xml
    • Find <area alias="sections"> and add a child node <key alias="procure">Procure</key>
  • Edit Create.SQL to point to the SQL Server database you have set up for Procure (this could be your umbraco database if you use SQL Server, or you could put it in a different SQL Server database)
    • Execute Create.SQL
  • Execute the following insert statements in your Umbraco database:
    • insert into umbracoApp (sortOrder, appAlias, appIcon, appName) values (9, 'procure', 'procure.png', 'Procure');
    • insert into umbracoAppTree (treeSilent, treeInitialize, treeSortOrder, appAlias, treeAlias, treeTitle, treeIconClosed, treeIconOpen, treeHandlerAssembly, treeHandlerType) values (0, 1, 1, 'procure', 'attribute', 'Attributes', '.sprTreeFolder', '.sprTreeFolder_o', 'Procure.Web', 'attribute.loadAttribute');
    • insert into umbracoAppTree (treeSilent, treeInitialize, treeSortOrder, appAlias, treeAlias, treeTitle, treeIconClosed, treeIconOpen, treeHandlerAssembly, treeHandlerType) values (0, 1, 0, 'procure', 'checkout', 'Checkout', '.sprTreeFolder', '.sprTreeFolder_o', 'Procure.Web', 'checkout.loadCheckout');
    • insert into umbracoAppTree (treeSilent, treeInitialize, treeSortOrder, appAlias, treeAlias, treeTitle, treeIconClosed, treeIconOpen, treeHandlerAssembly, treeHandlerType) values (0, 1, 3, 'procure', 'product', 'Products', '.sprTreeFolder', '.sprTreeFolder_o', 'Procure.Web', 'product.loadProduct');
    • insert into umbracoAppTree (treeSilent, treeInitialize, treeSortOrder, appAlias, treeAlias, treeTitle, treeIconClosed, treeIconOpen, treeHandlerAssembly, treeHandlerType) values (0, 1, 2, 'procure', 'productType', 'Product Types', '.sprTreeFolder', '.sprTreeFolder_o', 'Procure.Web', 'productType.loadProductType');
  • In the umbraco admin, navigate to the Users section, then check the option for allowing access to the 'Procure' section to all users desired.

This should result in a working Procure environment that you can test with.

Last edited Jan 19, 2010 at 9:35 PM by cyberknet, version 2

Comments

No comments yet.