Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nick Portelli 76 posts 102 karma points
    Sep 26, 2010 @ 07:34
    Nick Portelli
    0

    Installation does not create a macro for me

    It installs the dll and xslt file, but doesn't create the macro.  I'm kinda new to Umbraco but if someone can give me some reasonable steps to make it, I'm sure I can add it.  Like how to add parameters...

  • Kim Andersen 1447 posts 2196 karma points MVP
    Sep 26, 2010 @ 10:25
    Kim Andersen
    0

    Hi Nick

    If you want to create a macro, you can do this in the Developer-section. Right-click the macro-folder and create a macro with a name that you provide. When the macro is created, you can "attach" a XSLT-file to it from the dropdown-list.

    If you want to create parameters for the macro, you can do this in the "Parameters"-tab and choose from several different datatypes.

    Hope this helps.

    /Kim A

  • Nick Portelli 76 posts 102 karma points
    Sep 26, 2010 @ 16:36
    Nick Portelli
    0

    Ya I figured that.  I was just wondering what specific parameters I need for this.  I'll dig into the xslt....been years since I've looked at that.

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Sep 26, 2010 @ 21:17
    Warren Buckley
    0

    Hello Nick,
    It is strange that it did not install the macro for you into your Umbraco installation.

    Did you interrupt the install process, or anything odd happen during the install?

    Also can you tell me about your setup, IIS, OS, version of package and version of Umbraco and any other
    details you can provide me so I can try and replicate the problem please.

    In regards to the macro settings and properties to set on the macro, you can find this from the package ZIP file
    which contains the XML file that is used to install the package.

     <macro>
          <name>[XSLT] CWS - Twitter</name>
          <alias>CWS_twitter</alias>
          <scriptType>
          </scriptType>
          <scriptAssembly>
          </scriptAssembly>
          <xslt>CWS_twitterStatus.xslt</xslt>
          <useInEditor>False</useInEditor>
          <refreshRate>0</refreshRate>
          <scriptingFile>
          </scriptingFile>
          <properties>
            <property name="Twitter Username" alias="twitterUsername" show="True" propertyType="text" />
            <property name="Number of Statuses" alias="noStatus" show="True" propertyType="number" />
            <property name="Display @ Replies?" alias="displayReplies" show="True" propertyType="bool" />
            <property name="Display Native RTs?" alias="displayNativeRTs" show="True" propertyType="bool" />
            <property name="Display Google Maps?" alias="displayMaps" show="True" propertyType="bool" />
            <property name="Google Maps - Zoom Level (0-21)" alias="zoom" show="True" propertyType="number" />
            <property name="Google Maps - Map Size (400x400)" alias="size" show="True" propertyType="text" />
            <property name="Google Maps - Map Type (roadmap, satellite, terrain, hybrid)" alias="mapType" show="True" propertyType="text" />
          </properties>
        </macro>

    Warren :)

  • Nick Portelli 76 posts 102 karma points
    Sep 27, 2010 @ 03:28
    Nick Portelli
    0

    I did get an error at the end of the install.  Not sure what it was since all I get is the error that the asp.net vulnerability message says.  

    IIS 7.5, Win server 2008 r2 I think...it is hosted.  Lastest version of Umbraco 4.5.2.

    I'll turn off custom errors and reinstall and see what happens

     

Please Sign in or register to post replies

Write your reply to:

Draft