I have an inherited project which uses umbraco. The .Net project is not runnable and does not have a .prj file or a .sln. (I know, right).
I need to add Archetype to my project to allow me to have some repeatable content on a page.
I cant use Nuget to install Archetype as it fails with :
Install-Package : Project 'Default' is not found.
At line:1 char:16
+ Install-Package <<<< Archetype
+ CategoryInfo : ObjectNotFound: (Default:String) [Install-Package], ItemNotFoundException
+ FullyQualifiedErrorId : NuGetProjectNotFound,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
I have downloaded the zip file and extracted the files.
My question is, where do I install the Archetype Dll and where do the other files (.css, .html etc) go in my project? And then how do I add it in to Umbraco so I can use the new tool?
However, if you are using a recent version of Umbraco then it will come with Nested Content (as a datatype) which basically does the same thing as Archetype.
If you are using an older version it can be downloaded as a stand-alone package, too:
Add Archetype to my project
Hi guys,
I have an inherited project which uses umbraco. The .Net project is not runnable and does not have a .prj file or a .sln. (I know, right).
I need to add Archetype to my project to allow me to have some repeatable content on a page.
I cant use Nuget to install Archetype as it fails with :
Install-Package : Project 'Default' is not found. At line:1 char:16 + Install-Package <<<< Archetype + CategoryInfo : ObjectNotFound: (Default:String) [Install-Package], ItemNotFoundException + FullyQualifiedErrorId : NuGetProjectNotFound,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
I have downloaded the zip file and extracted the files.
My question is, where do I install the Archetype Dll and where do the other files (.css, .html etc) go in my project? And then how do I add it in to Umbraco so I can use the new tool?
Any help gratefully received. thanks
You can also add Archetype as an Umbraco Package (which you can install from the Developer area of the Umbraco backend). You can get it from:
https://our.umbraco.org/projects/backoffice-extensions/archetype/
However, if you are using a recent version of Umbraco then it will come with Nested Content (as a datatype) which basically does the same thing as Archetype.
If you are using an older version it can be downloaded as a stand-alone package, too:
https://our.umbraco.org/projects/backoffice-extensions/nested-content/
Documentation: https://github.com/umco/umbraco-nested-content/blob/develop/docs/developers-guide.md
Thanks Dan, I'm using Umbraco 7.2.8, I don't know how new that is :-) I will look for nested content first.
thanks for your help (again), you are a great help.
Mike.
Hi Dan,
thanks that worked a treat. Its definitely one step forward two steps back though!
Appreciate your help
Mike
is working on a reply...