I'm trying to create a content type where users can select a template to start from. Currently this is only possible when a user selects 'import sheetnode from a template'. Would this be possible?

Thanks

Comments

infojunkie’s picture

Title: Sheetnode default title » Sheetnode from template

How different would that be from the current template selection mechanism? You can always show the template selection page from a different menu item if that's what's needed.

pepsimxm’s picture

thanks for getting back to me.

It would be exactly the same as the current template selection mechanism in 'import sheetnode form a template', but available as a field type for use in other content types.

...Essentially I am trying to create a content type exactly like 'import sheetnode from a template', but with a few extra fields. As the 'import sheetnode from a template' option isn't a content type in its own right I can't figure out how to do this...

cheers :)

infojunkie’s picture

I think I understand what you need: a way to templatize sheet fields in arbitrary content types, not just in a sheetnode. Is that correct?

In this case, it might make sense to augment the sheet field with the ability to show templates, from which the user would select one to populate the corresponding sheet. But the UX is not complete: what happens to the template list, once the user starts manually inputting data on the sheet? It should probably be hidden, because otherwise re-applying a template would cause data loss.

infojunkie’s picture

Note that sheet fields already support setting a template, but on the field admin page - that's site-building time, not user runtime.

pepsimxm’s picture

Yes, #3 is correct - a way to templatize sheet fields in arbitrary content types... and yes - I agree that hiding the template field would be the best UX once the user has selected a template.

With #4, I've seen that functionality and it's perfect - the only issue is that it cant be exposed to users. One feature of the admin-side fields template-picker that would still be useful is the ability to set the sheet title. As inter-sheet references on content types with more than one sheet depend on these sheet names, it would be useful to retain the ability to set the title of the sheet no matter what template the user picks...

what do you think?

infojunkie’s picture

Makes sense. Keeping this as a feature request. I haven't had time to work on Sheetnode recently, and I welcome co-maintainers or one-off patches.

pepsimxm’s picture

Ok thank you for looking into it. Fingers crossed someone lends a hand!

robertgarrigos’s picture

I'm also looking forward to this feature. Have you managed to do something about it?

willhallonline’s picture

Not yet. I am looking at it as a long term option at the moment, however, there are more immediate things that I am working on. However, I would like to see this kind of thing hopefully using entities to enable users to manage the templates.