Copied to clipboard

Flag this post as spam?

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


  • Mikael Mørup 297 posts 326 karma points
    Jan 15, 2010 @ 12:52
    Mikael Mørup
    0

    Macros suddently dissapered

    I had a strange incident with Umbraco  (4.02 on Windwos Vista) this morning.

    When i open the Developers section the Macros folder is empty.

    All the XSLT files for tha macros are still there, and the macros are there somewhere, because i can select them when i use the "inset macro" button in a template.

    They just don't show up in the macros folder. I tried "reload nodes" andi tried to shut everything down an log out, but that did not help.

    Has anybody else experienced this problem ?

    Is there a fix ?

     

    Thanx

    Mikael

  • Mikael Mørup 297 posts 326 karma points
    Jan 18, 2010 @ 10:51
    Mikael Mørup
    0

    Now i double checked everything. The macros are in the DB table. If i add a new macro it shows up in the table. But i still can't see anything in the Marcos folder in the Developer section.

    This is quite scary as i'm prevented from editing my macros.

    Anybod have an idea on how i can make the folder show my macros again ?

    Thanks

    Mikael

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Jan 18, 2010 @ 11:10
    Sebastiaan Janssen
    0

    Sound like a similar issue to the disappearing media topic a few days ago. Maybe that post will help.

    If you create a fresh install of Umbraco and compare the macro tables, you might see something crucial missing..?

  • Mikael Mørup 297 posts 326 karma points
    Jan 20, 2010 @ 20:54
    Mikael Mørup
    0

    Hmm it seems to be related to an experiment i made with adding a rightclick menu to the content tree.

    I'm trying to achieve more or less the same as the mail engine from Tim G. does. You right click a node and can send the nodes content as an HTML e-mail.

    So there must be something wrong with my event/menu action code, because as soon as i removed the dll from the bin folder my macros was back.

  • Mikael Mørup 297 posts 326 karma points
    Jan 20, 2010 @ 22:01
    Mikael Mørup
    0

    Fixed it!

    I was attaching the menu event to all nodes, but it is only relevant for a smal subset of the nodes, now it is only on the relevant nodes.

    I also had a wrong alias for another menu item that i was finding, to insert my menuitem beneth.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies