Copied to clipboard

Flag this post as spam?

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


  • Fuji Kusaka 2203 posts 4220 karma points
    Jun 27, 2011 @ 07:16
    Fuji Kusaka
    0

    Disabling Node URL

    Hi all,


    This there a way of disabling a Node URL?

    Instead of having this output <li><a href="#">List</a></li> i would like this  <li>List</li>

     

    fuji

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jun 27, 2011 @ 07:21
    Dirk De Grave
    0

    Hi Fuji,

    Me thinks you really need to give some more info, as it isn't clear what you're trying to do from your post? And what do you mean by disabling the node url? Give us some background info and we might be able to give an answer to your question!

     

    Cheers,

    /Dirk

  • Fuji Kusaka 2203 posts 4220 karma points
    Jun 27, 2011 @ 08:13
    Fuji Kusaka
    0

    Hi Dirk,

    Well what i would like to achieve is being able to disable a link to a node. I know it id possible by just removing the {umbraco.library:NiceUrl(@id)} in my XSLT but somehow at some point the user will need to be able to it.

    Here is an example of how my structure will look like

    Content

    - Default

    -- Document

    --- Document 1

    --- Document 2

    --- Document 3

    ---- Doc 3.1

    ---- Doc 3.2

    According to the example lets say i would like to disable the link to Document 3 which will be subTitle instead but all its child will still be cliackable. Is there a way of doing this in the documentType istelf?

     

    //fuji

  • Kim Andersen 1447 posts 2196 karma points MVP
    Jun 27, 2011 @ 08:22
    Kim Andersen
    0

    Hi Fuji

    Could you show us your XSLT code? This would make it a lot easier for us to help you out.

    /Kim A

  • Fuji Kusaka 2203 posts 4220 karma points
    Jun 27, 2011 @ 08:42
    Fuji Kusaka
    0

    Hi Kim,

    I havent started yet, but i would like to know if this is possible before getting to there. Let me show you a screnshot of how this will appear

    And according to this content strucuture...

    Content

    - Default

    -- Document

    --- Document 1

    --- Document 2

    --- Document 3

    ---- Doc 3.1

    ---- Doc 3.2

    As you can see Document 3 is no more clickable. Is that clear enough?

    Fuji

     

     

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jun 27, 2011 @ 08:44
    Dirk De Grave
    0

    Add a property (true/false) and let user decide whether the url will be clickable and check in your xslt for that property (similar to how you use umbracoNaviHide)

     

    Cheers,

    /Dirk

Please Sign in or register to post replies

Write your reply to:

Draft