Copied to clipboard

Flag this post as spam?

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


  • tika-hinck 5 posts 20 karma points
    Apr 16, 2009 @ 10:36
    tika-hinck
    0

    Parent item repeat on menu when a property is set

    Hi Everyone,

    If someone could please help me with this it would great.

    Basically I'm creating a menu that has that when the parent is clicked it expands the pages in that section. In some cases the parent node needs to repeat as the page has content on it, however; some cases I want to hide the repeated menu item as it is essentially only a section title and there isn't any content on it.

    This is the section of code that I've written to repeat the parent item so that it's linked to a page.

    I've set a property on the document type 'linkRepeatParent' so I can toggle it on and off at the page level. (I've also tried umbracoNaviHide is the same way)

    [code]









  • [/code]

    This the full code: (Sorry for posting the complete code but it the easiest way to explain)

    [code]



    ]>
    <>
    version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxml="urn:schemas-microsoft-com:xslt"
    xmlns:umbraco.library="urn:umbraco.library"
    exclude-result-prefixes="msxml umbraco.library">














    [/code]

    You help is much appreciated
    Thanks in advance

    tika

Copy Link
  • tika-hinck 5 posts 20 karma points
    Apr 17, 2009 @ 03:02
    tika-hinck
    0

    Problem solved!

    [code]









  • [/code]

    Copy Link
    Please Sign in or register to post replies

    Write your reply to:

    Draft