Copied to clipboard

Flag this post as spam?

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


  • Jonathan Roberts 409 posts 1063 karma points
    Feb 26, 2015 @ 17:29
    Jonathan Roberts
    0

    Unable to edit using 7.2.2

    Hi,

    I have installed this plugin but when I login I cant see the Edit/create/unpublish etc buttons - the buttons are there in the source but have a class of ufe_hidden and do not do anything if I remove this class.

    I have navigated to one of my pages with /edit on the end of the url and the Login details seem to work as it logs me into the back end.

    Hope you can help,

    Jon

     

  • Kenn Jacobsen 133 posts 791 karma points MVP 4x c-trib
    Feb 26, 2015 @ 18:43
    Kenn Jacobsen
    0

    Weird.

    Somewhere between 7.2.1 and 7.2.2 there's been a change of behavior in the user login logic (my diplomatic way of saying there might be a teeny little bug in 7.2.2).

    I've reported an issue here: http://issues.umbraco.org/issue/U4-6332 - let's see what happens :)

    -Kenn

  • Jonathan Roberts 409 posts 1063 karma points
    Feb 27, 2015 @ 09:01
    Jonathan Roberts
    0

    Thanks for your reply. I t will be interesting to hear what they say :).

    Is there a way to do your front end login using Member credentials as opposed to a User? We want a Member to update front end pages well similar to a Wiki.

     

  • Kenn Jacobsen 133 posts 791 karma points MVP 4x c-trib
    Feb 27, 2015 @ 11:56
    Kenn Jacobsen
    0

    Hey.

    You won't be able to use frontend editing with members - frontend editing works with users only (you need back office credentials).

    -Kenn

  • Jonathan Roberts 409 posts 1063 karma points
    Feb 27, 2015 @ 13:18
    Jonathan Roberts
    0

    Hi Kenn,

    I did update the code to include this method which replaces the Security.CurrentUser to the following and this seems to work in 7.2.2:

    Please let me know if you think this is ok or comletely wrong :). Thanks

    Jon

       public static IUser GetCurrentUser()
        {
            var ticket = new HttpContextWrapper(HttpContext.Current).GetUmbracoAuthTicket();
            if(ticket != null)
            {
                var userName = new HttpContextWrapper(HttpContext.Current).GetUmbracoAuthTicket().Name;
                return ApplicationContext.Current.Services.UserService.GetByUsername(userName);
            }
            else
            {
                return null;
            }
    
        }
    
  • Kenn Jacobsen 133 posts 791 karma points MVP 4x c-trib
    Mar 03, 2015 @ 07:39
    Kenn Jacobsen
    0

    Hi again.

    If the code works for you, it works :) it looks OK to me. However, I'd advise you to keep tabs on these two issues for 7.2.2: http://issues.umbraco.org/issue/U4-6342 and http://issues.umbraco.org/issue/U4-6332. Looks to me like 7.2.2 have introduced a fair bit of challenges for several back office extensions. It might be worth waiting for 7.2.3?

  • Kenn Jacobsen 133 posts 791 karma points MVP 4x c-trib
    May 05, 2015 @ 08:53
    Kenn Jacobsen
    0

    I've updated the package to work in Umbraco 7.2.x - version 0.1.0.4 should do the trick!

    -Kenn

  • Simon 692 posts 1068 karma points
    Jul 02, 2015 @ 10:56
    Simon
    100

    Hi Kenn,

    It is not working on mine; using umbraco version 7.2.6.

    I am trying to update the package and when I am trying to load package in order to eventually install the latest package version, it is saying:

    Binary file errors detected Read more... This package contains .NET binary files that might not be compatible with this version of Umbraco. If you aren't sure what these errors mean or why they are listed please contact the package creator.
    
    Error report This package could not be verified for compatibility. An error occurred while loading a referenced assembly 'System.Web.Mvc' see error log for full details.
    

    When I load it locally, this error does not show up. It only show when I try to load this package and try to install it on staging server.

    Any Ideas pls? Appreciate any help.

    Thank you.

Please Sign in or register to post replies

Write your reply to:

Draft