Copied to clipboard

Flag this post as spam?

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


  • Dan 1288 posts 3921 karma points c-trib
    Nov 06, 2009 @ 11:43
    Dan
    0

    Populate child node with parent node content

    Hi,

    I have a site which is three levels deep.  I originally set the site up such that each document type contained an area for 'feature box content' - three simple text input boxes.  In the master template there's some code which picks out the three bits of content and displays them on every page.

    However, it's now become apparent that the end nodes need to inherit the feature box content from their parent modes, rather than having to input distinct content (or copy/paste content from their parent node) for every single node .  All of the end nodes have a distinct document type and template, so I'm hoping this should be possible.

    Can anyone suggest how to do this?

    Thanks!

  • Petr Snobelt 923 posts 1535 karma points
    Nov 06, 2009 @ 12:12
    Petr Snobelt
    1

    There is "use recursion" checkbox, when you adding item into template. It should work for you.

  • Dan 1288 posts 3921 karma points c-trib
    Nov 06, 2009 @ 16:35
    Dan
    0

    Perfect, absolutely spot on, and so simple - thanks Petr!

Please Sign in or register to post replies

Write your reply to:

Draft