Results 1 to 3 of 3

Thread: Custom submenu - Link to parent

  1. #1
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Custom submenu - Link to parent

    I can see that a link is created by:

    Code:
    <?php echo $item['href']; ?>
    But how could I link to the parent page?

    Any help much appreciated.

    Thanks,

    Gary.

  2. #2
    New user
    Join Date
    07-24-09.
    Posts
    29

    Default Re: Custom submenu - Link to parent

    Hi gary

    You'd probably use insert tags
    Internet Marketing is both measurable and accountable.
    On Twitter Marketing Guy
    On LinkedIn Nigel Copley
    On Facebook Caroco Marketing

  3. #3
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Re: Custom submenu - Link to parent

    Hi,

    Thanks for taking the time to have a look.

    You have answered the question perfectly. I have amended my mod_navigation.tpl file like this:

    Code:
    <?php if ($this->headline): ?>
    <<?php echo $this->hl; ?>>request; ?>"><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
    <?php endif; ?>
    It works well, but I should have thought more about it before answering the question.

    This works fine if the user is on a sub menu page for example:

    http://cms-1.doublespark.eu/video.html

    Clicking the title in the sub menu will take you to the right page.

    But if I'm on a sub sub page, for example:

    http://cms-1.doublespark.eu/photoalbums.html

    Then of course it breaks.

    Hopefully you can see what I am attempting to achieve, can you help further?

    Thanks in advance.

    Gary.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •