|
|
Rank: Devotee
Joined: 1/4/2007 Posts: 30
|
Hi All, Just wondering if you could help me on an issue I'm having. I am using 3.0.2 When I add the macro, I am adding the properties, however, as you'll see, it isn't showing these properties when adding them to the page. THANKS! code:  macro setup:  inserting macro:  
|
|
 Rank: Addict
Joined: 2/19/2007 Posts: 564 Location: Belgium
|
Look at the parameters tab of your macro in the developer section. Cheers, Tim
Umbraco tips and tricks: http://www.nibble.be - umbraco mvp 08/09 - certified level 1 & 2 professional
|
|
Rank: Devotee
Joined: 1/4/2007 Posts: 30
|
Hi Tim, thanks for the reponse. Here's my parameter tab view:
|
|
Rank: Devotee
Joined: 1/4/2007 Posts: 30
|
anyone having a similar problem? Thanks!
|
|
Rank: Devotee
Joined: 1/4/2007 Posts: 30
|
anyone think that an updated dll may solve the issue? I'm using version 1.0.2728.35801 of the businesslogic dll, 1.0.2728.35206 of macrorenderings, 1.0.2728.35803 of umbraco.dll and 1.0.2847.17683 of umbraco.editorControls.dll
Thanks, Chad
|
|
 Rank: Addict
Joined: 2/19/2007 Posts: 564 Location: Belgium
|
Do you have other macro's ? try making a xslt macro with some params ...
Umbraco tips and tricks: http://www.nibble.be - umbraco mvp 08/09 - certified level 1 & 2 professional
|
|
Rank: Devotee
Joined: 1/4/2007 Posts: 30
|
Hi Tim,
I have a bunch of macros and none of the properties are working like I'd expect. I'll try making an xsl w/params and see if this works, however, I don't know if that would solve my issues w/the .net usercontrol macro issue...
Thanks, Chad
|
|
 Rank: Addict
Joined: 2/19/2007 Posts: 564 Location: Belgium
|
Sure this will not solve the issue, just trying to filter what the problem could be
Umbraco tips and tricks: http://www.nibble.be - umbraco mvp 08/09 - certified level 1 & 2 professional
|
|
Rank: Devotee
Joined: 1/4/2007 Posts: 30
|
Hi Tim, Thanks for helping me figure this out! I added an XSL w/two params and setup the macro w/params and get the same thing. Here are screen shots: pic1:  pic2:  pic3:  pic4:  pic5:
|
|
Rank: Devotee
Joined: 1/4/2007 Posts: 30
|
Anymore thoughts on this? Otherwise, I'll have to pass parameters in the URL which is really not the best solution for me.
Thanks, Chad
|
|
 Rank: Addict
Joined: 2/19/2007 Posts: 564 Location: Belgium
|
maybe an upgrade could do the trick ...
Umbraco tips and tricks: http://www.nibble.be - umbraco mvp 08/09 - certified level 1 & 2 professional
|
|
Rank: Fanatic
Joined: 3/15/2007 Posts: 350 Location: Cary, NC USA
|
not sure if this is the ultimate problem, but shouldn't your xslt param declarations look like this (so it knows they are coming from macro vs local use): Code:
<xsl:param name="test1" select="/macro/test1" /> <xsl:param name="test2" select="/macro/test2" />
instead of: Code:
<xsl:param name="test1" select="test1" /> <xsl:param name="test2" select="test2" />
|
|
Rank: Newbie
Joined: 9/5/2007 Posts: 6
|
Have you converted your web site to a "web application" in Visual Studio?
I did, and now I'm seeing the same result as you - no properties displayed when inserting a macro. I'm going to try to reference my macros as server controls as opposed to user controls to see if that resolves the problem...
|
|
|
Guest |