Since there is no checkbox list available among the available macro datatypes I need to create a custom. I've read on the link below how to get started doing this and I thought modding the code from exercise 1 would be enough. Still, I can't get this to work. Probably not even close.
Any suggestion? Are there easier ways to do this? I just want to be able to click and get the value of a few pre-defined checkboxes.
Unfortunately there is no easier way to do it than to make a plugin for it yourself. Don't know if it's possible to easily copy the plugin the checkbox though.
But it would indeed be nice if it was possible to just pick a datatype to be used as a macro parameter. But I think that calls for a feature request on the issue tracker if such does not already exist.
Well, I don't have more than what's already in the book you referenced. Have not had a peek in the source for a long time so can't remember where to look for the existing plugins. But perhaps this guide from Andy Butland can provide some inspiration? http://24days.in/umbraco/2014/traveller-guide/
I'll let you know if it come to think about other options.
Checkbox list as macro property
Since there is no checkbox list available among the available macro datatypes I need to create a custom. I've read on the link below how to get started doing this and I thought modding the code from exercise 1 would be enough. Still, I can't get this to work. Probably not even close.
Any suggestion? Are there easier ways to do this? I just want to be able to click and get the value of a few pre-defined checkboxes.
https://github.com/umbraco/AngularWorkbook/blob/master/Exercises/Exercise1.md
Hi Peter
Unfortunately there is no easier way to do it than to make a plugin for it yourself. Don't know if it's possible to easily copy the plugin the checkbox though.
But it would indeed be nice if it was possible to just pick a datatype to be used as a macro parameter. But I think that calls for a feature request on the issue tracker if such does not already exist.
/Jan
I was afraid so. Any more pointers on how to go about?
Hi Peter
Well, I don't have more than what's already in the book you referenced. Have not had a peek in the source for a long time so can't remember where to look for the existing plugins. But perhaps this guide from Andy Butland can provide some inspiration? http://24days.in/umbraco/2014/traveller-guide/
I'll let you know if it come to think about other options.
/Jan
Thanks, I'll have a look!
*double post*
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.