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

Allow for templates #841

Closed
TechGnome opened this issue Jul 31, 2021 · 5 comments · Fixed by #1680
Closed

Allow for templates #841

TechGnome opened this issue Jul 31, 2021 · 5 comments · Fixed by #1680
Assignees
Labels
enhancement Request: New feature or improvement next release Note: Features planned for next release

Comments

@TechGnome
Copy link

It would be nice to be able to set up templates - in addition to the 3 samples that come out of the box.
Use case: I just spent 20 minutes setting up my current project to use a layout format based on the Save the Cat beat ... which involved a lot of copying & pasting. It would be nice to 1) Save this off as a template so that if I wanted to use it as a base for additional projects, I could, and 2) it could be shared with others wanting to do the same.

@TechGnome TechGnome added the enhancement Request: New feature or improvement label Jul 31, 2021
@vkbo
Copy link
Owner

vkbo commented Jul 31, 2021

Thanks!

This can easily be implemented by extending the sample project logic to allow for unpacking template projects from a file dialog, or from a repository of submitted templates.

This requires the need for exporting a project as a template, which is simply to create a zip file of the nwProject.nwx file and the contents folder.

This is a branch-off from a discussion in #798.

@vkbo vkbo added this to the Future Release milestone Jul 31, 2021
@vkbo vkbo self-assigned this Jul 31, 2021
@vkbo
Copy link
Owner

vkbo commented Aug 17, 2021

Added to this issue for future reference:

There is a discussion about the Snowflake method in #853. This may also be accommodated by a template. Perhaps one that is shipped with novelWriter.

@vkbo vkbo added the todo label Aug 20, 2021
@vkbo vkbo modified the milestones: Release 1.6 RC 1, Future Release Feb 6, 2022
@vkbo vkbo added planned Note: Feature planned for a later release and removed todo labels Apr 14, 2023
@vkbo vkbo added next release Note: Features planned for next release and removed planned Note: Feature planned for a later release labels Jan 31, 2024
@vkbo vkbo linked a pull request Jan 31, 2024 that will close this issue
6 tasks
@vkbo
Copy link
Owner

vkbo commented Jan 31, 2024

The new Welcome screen that will be available in 2.3 has an option to copy another project when creating a new project. The logic behind that option was added just now in #1680, so I consider this issue resolved.

What is and isn't a template project is up to you. novelWriter will take any project as the source, so if you want a pure template project, you need to create a project for that purpose.

I plan to add the option to save a project as a single file, which will make this feature even easier to use, as moving around single files is easier than whole project folders. But for now, the template is a project folder like any other.

@vkbo
Copy link
Owner

vkbo commented Feb 3, 2024

The source project can now also be a zip file containing at least a nwProject.nwx file and any number of .nwd files in the content folder. This feature can also be used to create a new project from a backup of another project.

@hifron
Copy link

hifron commented May 4, 2024

You could also have a web market with templates or maybe some donations for templates... Maybe with some guides how to use language for various literature styles for those not so literature well educated to became better writer or find new style or literature option and maybe make possibility to earn or make a hobby...

But for me is maybe more crucial to create a new project from command line (to quickly test ideas) and if there is possibility to use it with custom template from command line even better... Maybe another feature...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Request: New feature or improvement next release Note: Features planned for next release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants