Copied to clipboard

Flag this post as spam?

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


  • Hayley 23 posts 71 karma points
    Dec 23, 2014 @ 21:27
    Hayley
    0

    Umbraco form rendering in backend not content front end

    Hi,

    I've followed the instructions in the umbraco.tv video on using umbraco forms. When I add the form onto a text page in the rich text editor the form renders in the backend. When I save and publish and view in the frontend, I just see Macro alias: umbracoforms.RenderForm, not the form. The page is a grid based page with the RTE control, should that make a difference?

     

    The master page contains the following just before the close body tag

    <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.0/jquery.validate.min.js"></script>

    <script src="http://ajax.aspnetcdn.com/ajax/mvc/5.1/jquery.validate.unobtrusive.min.js"></script>

      @Umbraco.RenderMacro("umbracoforms.RenderScripts")

    I've modified the InsertUmbracoForm partial script to contain Html.RenderAction("Render", "UmbracoForms", new {formId = g, mode = "form"});

     

    I'm using umbraco 7.2.1

     

  • Hayley 23 posts 71 karma points
    Dec 24, 2014 @ 05:45
    Hayley
    0

    I've also just noticed that when I go to create a new contour form (it asked me this morning if I wanted to upgrade to a new version 4.0WIP.4.0.0-Build.84) I can no longer create a new form or save an existing form. I get the message 'Form failed to save:' with no error message. Looking in the tracelogs I'm not seeing any exceptions.

  • Chris 92 posts 238 karma points
    Jan 09, 2015 @ 12:39
    Chris
    0

    Anyone found a solution for that problem?

    When I add the form via Content-Tab -> RichtTextEditor -> Macro -> insert form

    I get "Macro alias: umbracoforms.RenderForm"-error instead of the form.


    When add a macro directy in the template "@Umbraco.RenderMacro("umbracoforms.RenderForm", new {FormGuid="bd6f055e-6a80-4c33-97bd-89690c93d8c6"})" it is displayed correctly.

     

    Edit:

    It works when I add the form with the "macro" propertie but not with the RTE, is this a bug?


  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Jan 09, 2015 @ 13:41
    Dennis Aaen
    0

    Hi Chris,

    I think that this should been reported as a bug. I have just tried the latest nightly build UmbracoCms.7.2.1-build.235, and the form renders fine in the backoffice in the richtext editor but on the front end I also get the Macro alias: umbracoforms.RenderForm"-error instead of the form.

    So report it here http://issues.umbraco.org/issues under CON, so the HQ is aware that there might be a bug on the frontend if you are inserting a form i the richtext editor. Here are some documentation on how to write a bug report. http://our.umbraco.org/contribute/report-an-issue-or-request-a-feature

    /Dennis

  • Richard Barg 358 posts 532 karma points
    Jan 12, 2015 @ 20:08
    Richard Barg
    1

    The silence coming from Umbraco HQ to provide some guidance here is deafening. And this is an extension users pay for.

  • Chris 92 posts 238 karma points
    Jan 13, 2015 @ 08:05
    Chris
    0

    Here is the bug-report for that problem:
    http://issues.umbraco.org/issue/U4-6100

  • Chris Mahoney 235 posts 447 karma points
    May 12, 2015 @ 04:33
    Chris Mahoney
    0

    Did anyone find a fix or workaround for this? It's a showstopper for my site (my first with Umbraco 7) and will push me back to U6 if I can't find a fix for it.

    Edit: Forgot to mention that I'm using 7.2.4.

  • Comment author was deleted

    May 20, 2015 @ 14:24

    @Chris, is this also happening inside the grid? Or is it just a normal rte field you are using?

  • Chris Mahoney 235 posts 447 karma points
    May 20, 2015 @ 22:05
    Chris Mahoney
    0

    It happens in the default layout, which I believe is the grid (using the provided "Fanoe" starter kit).

  • Comment author was deleted

    May 21, 2015 @ 09:58

    Ok thanks for the details we'll take a look

  • Comment author was deleted

    May 21, 2015 @ 10:00

    Looks like it is a core issue http://issues.umbraco.org/issue/U4-6206 , will check with the team what the plans are

  • Chris Mahoney 235 posts 447 karma points
    May 21, 2015 @ 22:12
    Chris Mahoney
    1

    That linked issue says that "Not sure this even should be supported, the whole point of the grid is to get away from macros in the RTE". This led me to investigate more, and I now see that it's possible to add a "Macro" editor to the grid, although the process for this is pretty convoluted (Developer > Data types > Grid TextPage > click the image next to the Row Configuration that you're using > click the very pale grey pox that appears on the right > select Macro).

    I would suggest that perhaps the Macro editor should be available by default, as (in my opinion) it's very hard to find at the moment.

    However, my particular issue is now resolved, so thanks for pointing me in the right direction :)

  • Comment author was deleted

    May 27, 2015 @ 12:44

    Ok will be solved in Umbraco 7.3.0 http://issues.umbraco.org/issue/U4-6206 ;

  • BenH 59 posts 199 karma points
    Dec 01, 2015 @ 22:04
    BenH
    0

    I'm on a clean install of 7.3.1 and getting the same render error above, inserting form macro in the fanoe rte. What is the best workaround currently?

Please Sign in or register to post replies

Write your reply to:

Draft