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!
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?
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)
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
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
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
Hi Fuji
Could you show us your XSLT code? This would make it a lot easier for us to help you out.
/Kim A
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
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
is working on a reply...