Copied to clipboard

Flag this post as spam?

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


  • Andrew Waegel 126 posts 126 karma points
    Nov 01, 2010 @ 19:02
    Andrew Waegel
    0

    Links in Canvas

    Hello,

    I find that my links are unclickable in Canvas mode. There's just a 'DOCUMENT CLICKED' message on the firebug console. Is this by design, or should we be able to follow links? There are a few similar forum posts, but not resolution that I can see. Using Umb 4.5.2.

    Thanks!
    - Andrew

  • Andrew Waegel 126 posts 126 karma points
    Nov 02, 2010 @ 22:05
    Andrew Waegel
    0

    Following up on this, in line 271 of umbraco\LiveEditing\Modules\ItemEditing\ItemEditing.js there's a function 'disableHyperlinks' that does just that, intercepts all the clicks on anchor tags. I disabled this and ItemEditing now works better for me, but I'm sure there's some good reason this was put here, so YMMV.

  • Christian Palm 278 posts 273 karma points
    Jan 07, 2011 @ 15:01
    Christian Palm
    0

    Any news on this?

  • Raxit 26 posts 46 karma points
    Jan 27, 2011 @ 08:03
    Raxit
    0

    Any good reason for doing this?

    @Andrew:  did you face any difficulties after making that change? 

    Experts around, can you please get back on this???

     

    Awaiting Reply..!!

     

     

  • Christian Palm 278 posts 273 karma points
    Mar 15, 2011 @ 14:49
    Christian Palm
    0

    According to Umbraco HQ it is by design

  • Christian Palm 278 posts 273 karma points
    Mar 15, 2011 @ 15:05
    Christian Palm
    0

    Ticket created... please vote

    http://umbraco.codeplex.com/workitem/30169

  • Raxit 26 posts 46 karma points
    Mar 16, 2011 @ 09:47
    Raxit
    0

    Voted

  • Rob Watkins 369 posts 701 karma points
    May 04, 2011 @ 17:45
    Rob Watkins
    0

    I have made the change to the live editing script, and although I can now click around the site and it displays the editable region borders, no editing works; possibly due to the fact it is using the friendly URLs not the IDs? 

    Whatever the reason, the change doesn't appear to be useful, at least on my setup.

  • Karl Alesbury 8 posts 73 karma points
    Aug 03, 2011 @ 14:43
    Karl Alesbury
    0

    Disabling that function means that you can indeed navigate around the site, and the editable panels seem to be editable for me, but as soon as I try and save and publish a page, that's when "an unspecified error" occurs.

    How are you supposed to get back to the umbraco panel if you don't have any buttons to do it? Are you expected to right-click, enable canvas editing, and then manually change your address bar when you want to leave the page?!

  • Maksims Mihejevs 1 post 21 karma points
    Feb 27, 2012 @ 17:17
    Maksims Mihejevs
    0

    What we did for our development, is modified a bit script /webRoot/umbraco/LiveEditing/Modules/ItemEditing/ItemEditing.js

    There is function "disableHyperlinks", which in my case has this body:

    jQuery("a").click(function) {
       return false;
    }

    So change the selector body from "a" to:

    "a[rel!='nav']"

    After that, it will ignore all links that has 'rel' attributes. So link like that:

    <a href='...' rel='nav'>link</a>

    Will work in canvas editor.

Please Sign in or register to post replies

Write your reply to:

Draft