Copied to clipboard

Flag this post as spam?

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


  • Amourie 12 posts 41 karma points
    May 09, 2014 @ 06:48
    Amourie
    0

    Macro parameters or properties not showing up in macro window

    I have created a new macro in the Developer section. My macro however when used in the content editor doesn't show my parameter / property but is blank as per the screenshot.

    Would appreciate any help in problem solving this. Thanks in advance!

    Can anyone please point me in the right direction on how to

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 09, 2014 @ 08:59
    Jan Skovgaard
    0

    Hi Amourie

    What version of Umbraco are you using and have you double checked that your parameters has been saved on your macro in the developer section?

    /Jan

  • Amourie 12 posts 41 karma points
    May 11, 2014 @ 08:02
    Amourie
    0

    Hi Jan. Thanks for your reply. Yes the parameters are saved. We are using Umbraco version 6.1.

    I can’t see anything when I have my console open in my browser so not sure how to even start problem solving this. Looking forward to your reply.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 11, 2014 @ 11:51
    Jan Skovgaard
    0

    Hi Amourie

    Ok, do you see any "error" entries in the /app_data/logs file?

    I'm thinking it may be a permission issue. But try having a peek at the trace log first and report it back here.

    /Jan

  • Amourie 12 posts 41 karma points
    May 13, 2014 @ 02:25
    Amourie
    0

    Hi Jan

    Thanks for your quick reply. A few screenshots attached and also the log file attached. Thanks for that - first time ever I've consulted that. Also to be exact we're using Umbraco v6.1.6.

    Macro points to View file.

    Parameter is saved.

     

    Parameter not showing up instead I get the blank macro box.

    And then finally please see the log file output below which shows the following as below. Would appreciate your help with this. (NOTE: I'm editing my reply  as the  previous code log doesn't apply anymore.

    2014-05-13 12:58:10,845 [13] INFO  Umbraco.Core.PluginManager - [Thread 23] Starting resolution types of umbraco.interfaces.IDataType
    2014-05-13 12:58:10,991 [13] INFO  Umbraco.Core.PluginManager - [Thread 23] Completed resolution of types of umbraco.interfaces.IDataType, found 82 (took 145ms)

    I've also cleaned my InsertImage.cshtml file to do nothing so as to prevent any of the code in that file from problem solving this: The code in this file hence looks like this:

    @inherits Umbraco.Web.Macros.PartialViewMacroPage

    @*
        Model = The current page the macro is executed on
                @Model.bodyText

        Parameter = collection of parameter values passed from the macro
                @Paramter.myParam

        Library = utillity library with common methods
                @Library.NodeById(1233)
    *@



     

     

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 13, 2014 @ 08:42
    Jan Skovgaard
    0

    Hi Amourie

    That is indeed really odd - do you see any log entries containing an "ERROR" tag? The "INFO" is nothing to really worry about.

    And the code in your files has nothing to do with the issue either.

    Is this happening on your local environment or is it happening on your server? Has all permissions been setup properly?

    /Jan

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    May 13, 2014 @ 09:01
    Dirk De Grave
    1

    to complement Jan's post and to see what ERROR's are logged, you probably need to change settings in /Config/log4net.config to

    <priorityvalue="Debug"/>

    instead of

    <priorityvalue="Info"/>

    which is the default settings upon install.

     

    --Dirk

     

Please Sign in or register to post replies

Write your reply to:

Draft