Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deeper folder structure in “add item” dialog #90

Open
JonasDam-Dynamicweb opened this issue Mar 23, 2016 · 1 comment
Open

Deeper folder structure in “add item” dialog #90

JonasDam-Dynamicweb opened this issue Mar 23, 2016 · 1 comment

Comments

@JonasDam-Dynamicweb
Copy link

I'm working on creating a template pack with item templates, using TemplateBuilder and SideWaffle.

So far, I've managed to get some templates created, and installed alright.

My challenge is that I can only create a folder structure that is one folder deep - that is, all my templates are placed in the same folder. I was hoping to be able to have a deeper heirachy:

  • MyCompanyName
    • CategoryOneTemplates
      • templateOne
      • TemplateTwo
    • CategoryTwoTemplates
      • TemplateThree
      • TemplateFour

It seems that any folderstructure I create in the "ItemTemplates" folder is simply ignored, apart from first child level Folders.

setting "ls-TemplateSubFolder" in template-builder.props lets me define a folder name that is identical for the lowest levels in the folder hierarchy, but that's not really what I'm looking for.

Is there a simple way to achieve a deeper structure?

@sayedihashimi
Copy link
Member

You can add a _preprocess.xml file with the full path, for example:
https://github.com/ligershark/side-waffle/blob/master/TemplatePack/ItemTemplates/Extensibility/SideWaffle/SW-ProjectVSTemplateFile/_preprocess-template.xml.

FYI it's better to raise issues like this in the SideWaffle repo because we have more eyes on that repo. If there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants