rasmusjp / umbraco-multi-url-picker

Multi Url Picker for Umbraco 7
MIT License
31 stars 29 forks source link

Feature request: Usage in macro parameter #22

Closed RNRGFX closed 9 years ago

RNRGFX commented 9 years ago

Nice package! Would it be possible to add this to as a macro parameter? (I'm using macro's as widgets on a site) I've tried to add "isParameterEditor: true" to package.manifest, and so far so good, it does work. But when using in a macro container, and a link is selected, the umbraco panel is closed before I'm able to save the macro parameters:

Step 1: skaermbillede 2015-01-09 kl 10 42 35

Step 2: skaermbillede 2015-01-09 kl 10 43 54

Step 3: skaermbillede 2015-01-09 kl 10 44 13

Thanks!

Myster commented 9 years ago

Pull request contains 2 small tweaks to make this work as a macro parameter. 1) set the isParameterEditor: true 2) fix the auto closing issue.

rasmusjp commented 9 years ago

This is fixed in v1.3.0

dreadpiratebrown commented 9 years ago

How do I access the link data if I use this control in a macro? I created a Data Type, I added a macro parameter called "link1" that uses the new data type, and I tried declaring a variable in my macro partial view that uses that parameter, but I keep getting compilation errors.