Results 1 to 7 of 7

Thread: Insert tag page not working?

  1. #1
    User
    Join Date
    08-04-09.
    Posts
    230

    Default Insert tag page not working?

    I have created a vertical subnavigation.
    I would like the parent page title to display in the navigation.
    Since it does not show because of the navigation starting at level 1.

    I have tried using insert tags, but no luck.
    {{page:arentPageTitle}}
    {{page:arentTitle}}

    both not working.

    I also tried {{link::back}}
    this one works, so insert tags are working.

    But what am I doing wrong with the page tags? None of them seem to be working.

  2. #2
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    Which version? How can we reproduce this in the online demo? Where are you placing your insert tag? As there is no module "vertical subnavigation" but only
    • Custom navigation
    • Breadcrumb navigation
    • Quick navigation
    • Quick link
    • Book navigation
    • Article navigation
    • Sitemap
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  3. #3
    User
    Join Date
    08-04-09.
    Posts
    230

    Default

    This is an older version, 2.9.4

    I am using custom navigation as a subnav.
    But I also tried the insert tags in a normal article element without luck.

    only the go back insert tag seems to be working.

  4. #4
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    Quote Originally Posted by lostrisq View Post
    {{page::parentPageTitle}}
    {{page::parentTitle}}
    So where did you find a manual that tells to use this insert tags in 2.9.4. You have to use other insert tags.
    https://github.com/contao/core/blob/...ller.php#L1665

    Please update your Contao version.
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  5. #5
    User
    Join Date
    08-04-09.
    Posts
    230

    Default

    I tought it was something like that.

    Cannot really update it, using catalog, site not working properly anymore after updates.

    Can I find the insert tags to be used in this version?

  6. #6
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    Therefor I gave you the link
    • {{env::page_id}}
    • {{env::page_alias}}
    • ...
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  7. #7
    User
    Join Date
    08-04-09.
    Posts
    230

    Default

    Thank you very much for your help!
    It works!

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
  •