• Calling Chunk in content area [Solved]#

  • kennybrijs Reply #1, 3 months, 2 weeks ago

    Reply
    Hey all,

    I have created a chunk (which in turn contains a wayfinder call) for the navigation part of my portfolio.
    There is a call for this chunk in my portfolio template (of course ) and that works, but I also want to call this chunck in the content area of my homepage (instead of creating a separate template for my homepage, which is not necessary). But it does not display there.

    Should this work? Am I missing something?
    Thx in advance, grtz


  • kennybrijs Reply #2, 3 months, 1 week ago

    Reply
    Ok, it's solved, of course you can call chunks and snippets in content area .

    The problem was, I'm using a TV for the content of my links, I used this in my wayfinder call:
    &rowTpl=`@CODE:<a href="[[+wf.link]]">[[*thumbnail]]</a>`


    while it had to be
    [[+thumbnail]]

    (mind the * and the +)

    It worked on the portfolio page because it was using the *thumbnail of THAT specific page (but I didn't see it because all my test pages have the same thumbnail image, so I thought it worked fine but it didn't.