Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mike Cave 24 posts 162 karma points
    Feb 08, 2018 @ 11:09
    Mike Cave
    0

    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

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    Feb 08, 2018 @ 11:55
    Dan Diplo
    101

    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

  • Mike Cave 24 posts 162 karma points
    Feb 08, 2018 @ 12:00
    Mike Cave
    0

    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.

  • Mike Cave 24 posts 162 karma points
    Feb 09, 2018 @ 12:04
    Mike Cave
    0

    Hi Dan,

    thanks that worked a treat. Its definitely one step forward two steps back though!

    Appreciate your help

    Mike

Please Sign in or register to post replies

Write your reply to:

Draft