You could try this:
* Create each bio page separately as you suggested


I agree. This is a good way to go.

* Create a special page part called 'anchor' in the bio page

You could then write a special tag that creates a link to that anchor using r:children:each and a special tag similar to r:content called r:content_anchor that spits out the anchor in the HTML before doing the r:content for the child page?

No need for an extra page part, you can just use the slug. For a page to pass as HTML valid, one of the requirements is that no two elements share the same id. Likewise, Radiant enforces that no two sibling pages have the same slug.

Output the content like this:

<r:children:each>
  <div id="<r:slug/>">
    <r:content/>
  </div>
</r:children:each>

And the index like this:

<r:children:each>
<a href="#<r:slug/>"><r:title/></a>
</r:children:each>

Cheers,
Drew
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to