Macros not showing properties when inserting in page Options
climberchad
Posted: Sunday, January 13, 2008 6:31:16 PM
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:




tim
Posted: Sunday, January 13, 2008 6:35:47 PM

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
climberchad
Posted: Sunday, January 13, 2008 6:51:52 PM
Rank: Devotee

Joined: 1/4/2007
Posts: 30
Hi Tim, thanks for the reponse. Here's my parameter tab view:

climberchad
Posted: Monday, January 14, 2008 12:20:19 AM
Rank: Devotee

Joined: 1/4/2007
Posts: 30
anyone having a similar problem? Thanks!
climberchad
Posted: Tuesday, January 15, 2008 1:33:33 AM
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
tim
Posted: Tuesday, January 15, 2008 10:24:54 AM

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
climberchad
Posted: Wednesday, January 16, 2008 3:42:45 PM
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
tim
Posted: Wednesday, January 16, 2008 3:44:51 PM

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
climberchad
Posted: Wednesday, January 16, 2008 4:57:53 PM
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:

climberchad
Posted: Friday, January 18, 2008 5:41:55 PM
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
tim
Posted: Friday, January 18, 2008 5:53:49 PM

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
jHodgkinson
Posted: Friday, January 18, 2008 10:12:24 PM
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" />



tednyberg
Posted: Sunday, January 27, 2008 8:16:46 PM
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...
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.