Copied to clipboard

Flag this post as spam?

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


  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jan 24, 2013 @ 16:04
    Martin Griffiths
    0

    PreValueSourceTypes not reloading in Contour 3.0.7 WIP

    Hi Tim

    I've just noticed that if I delete my code generated PVSTs in the umbraco back end and reset the app pool. The types wont reload back in again. When I expand the node in Umbraco it's just empty!

    Any ideas why? bug?

    Martin

  • Comment author was deleted

    Jan 24, 2013 @ 16:30

    Not sure I understand, what is empty, the type dropdown when creating/editing a prevalue source or...?

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jan 25, 2013 @ 11:06
    Martin Griffiths
    0

    Hi Tim

    Sorry I thought I'd dumped this post...it was a coding error on my part.

    Ignore

    Martin

  • Comment author was deleted

    Jan 25, 2013 @ 11:19

    No worries glad it's sorted :)

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jan 25, 2013 @ 11:22
    Martin Griffiths
    0

    Tim

    On your CodeFirst GUID fix can I decorate the macro with an ID rather than the generated GUID? I cant remember what you said you'd done to solve this?

    Martin

  • Comment author was deleted

    Jan 25, 2013 @ 11:26

    Yeah you should be able to setup an id on the form (new attribute) that will make sure your form has that specified id

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jan 25, 2013 @ 11:52
    Martin Griffiths
    0

    Hi Tim

    "Id" says GUID (as string) but I get the following error on trying to use it on a form....

    Error24'Id' is not a valid named attribute argument because it is not a valid attribute parameter type

  • Comment author was deleted

    Jan 25, 2013 @ 12:09

    Ok made an update http://nightly.umbraco.org/Umbraco%20Contour/3.0.7%20WIP/ you'll just need to update the code first assembly

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jan 25, 2013 @ 16:38
    Martin Griffiths
    0

    Hi Tim

    I've been playing with the GUID Id's and i'm having the following problem...

    The first line is what I set the form to (GUID wise), the second line is what the macro gets inserted as using the insert macro button. Line one doesn't work, despite being set in the form.

    <umbraco:Macro FormGuid="d73be165-4fbb-45fe-9614-4e06b1576b0e" Alias="umbracoContour.RazorRenderForm" runat="server"></umbraco:Macro>

    <umbraco:Macro FormGuid="e4f1a87d-5251-465b-88ec-59f98b1cd7a2" Alias="umbracoContour.RazorRenderForm" runat="server"></umbraco:Macro>

    Kind regards

    Martin

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jan 25, 2013 @ 17:05
    Martin Griffiths
    0

    Hi Tim

    Ignore the last post I had to completely dump the forms in the back office and then reload the dll..all is good and the fix works!

    thanks

    Martin

Please Sign in or register to post replies

Write your reply to:

Draft