Copied to clipboard

Flag this post as spam?

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


  • Dennis Spijkerboer 53 posts 95 karma points
    Jan 13, 2011 @ 10:49
    Dennis Spijkerboer
    0

    How to enable skinning on non-starterpack templates

    Hi,

    How can I enable skinning on my own templates that haven't come from a starterpack? I've tried to change the AllowedRootTemplate to my template's alias, but that doesn't seem to do the trick. I am missing the 'modify templateskin' button in umbraco. It is available at the startkit templates. There it is available on any template. 

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jan 13, 2011 @ 12:11
    Matt Brailsford
    0

    Hey Dennis

    Have you had a look through the documentation / videos on creating skins?

    http://umbraco.org/follow-us/blog-archive/2010/11/4/learn-how-to-create-a-skin

    Matt

  • Dennis Spijkerboer 53 posts 95 karma points
    Jan 13, 2011 @ 12:22
    Dennis Spijkerboer
    0

    Yes I did. I am able to create skins for the starterpack templates. But how can I do this for templates that are not part of a starter pack?

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jan 13, 2011 @ 12:30
    Matt Brailsford
    0

    Hey Dennis,

    I can't say I've done this myself yet, but looking through the documentation, I would guess that you'd need to create a manifest file to tell umbraco what makes up your skin, and to what templates it applies.

    I'm not sure how a manifest is actually installed, but if it's anything like a standard package, it probably updates a config file (App_Data/Packages/Installed/installedPackages.config) so I'd look for something similar and trying adding to it manually (be carefull though, you could mess up your install)

    Failing that, you could try installing a dummy template, and repointing everything to your current files?

    Matt

  • Dennis Spijkerboer 53 posts 95 karma points
    Jan 13, 2011 @ 13:03
    Dennis Spijkerboer
    0

    Hi Matt,

    Thanks for your response.

    I have made a skin including a skin manifest file. This skins works on the starter kit templates. I can configure this skin as well.

    However, I want to be able to choose a skin on my own templates. So without using starter packs at all.

    Lets say we have a template with an alias of "myTemplate".

    In the skin manifest the rule:

    <AllowedRootTemplate>umbBusinessHomepage</AllowedRootTemplate>

    Has been changed to:

    <AllowedRootTemplate>myTemplate</AllowedRootTemplate>

    This way it should make sense that this skin is now available for the "myTemplate" template.
    However, in umbraco I am not able to choose any skin for the 'myTemplate' template.
    If I try to apply a skin on the starterkit template I am able to choose the skin. So that is just weird because the allowed root template has been changes to "myTemplate".

    So is it possible to use skins without the use of the starterkit templates?

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jan 13, 2011 @ 13:08
    Matt Brailsford
    0

    Hey Dennis,

    I haven't really played with this myself, so not too sure I'm the best person to help. 2 things I would suggest.

    1) Restart your app pool as it may be caching the previous file

    2) Check the value isn't also stored somewhere in the database

    Other than that, I'm not too sure I can help much more.

    Matt

  • Dennis Spijkerboer 53 posts 95 karma points
    Jan 13, 2011 @ 13:50
    Dennis Spijkerboer
    0

    No luck, but thanks for the try!

  • Neil Killen 17 posts 37 karma points
    Mar 25, 2011 @ 15:33
    Neil Killen
    0

    Hi Dennis,

    Have you had any joy wiring up a skin to your own templates?

    Neil

  • Thijs 97 posts 117 karma points
    Oct 05, 2011 @ 13:57
    Thijs
    0

    I'm having the same problems.. How did you solved this issue?

    Thijs

  • Dennis Spijkerboer 53 posts 95 karma points
    Oct 05, 2011 @ 15:34
    Dennis Spijkerboer
    0

    Hi!

    I diddn't realy dug into the problem. We were just trying the functionalitly to see how we can advise our customers on this topic. So I can't say I fixed the problem.Good luck!

    Dennis

  • Robert 11 posts 31 karma points
    Jul 30, 2012 @ 12:51
    Robert
    0

    Hi all,

     this post may be useful: http://our.umbraco.org/forum/using/ui-questions/24642-Skin-button-not-showing-in-UI if you didn't solve the problem in the meanwhile.

     Robert

Please Sign in or register to post replies

Write your reply to:

Draft