Great! I can now work with it. There is only a thing that I wonder whether it is possible to solve with code only:
Right now I have three templates for the artist to chose between: simple, blog, projects. If you look at the setup in my fist post you can see, that an artist can chose one of these three templates to start with. Maybe he/she wants to write a blog but also to have a simple page for acknowledgements. Then the blog is the parent of the simple page. But maybe he wants to start with a simple page, describing his piece of work in general, but in addition a blog as a project diary. Then the simple page ist the parent of the blog: it’s just the other way around!
I will work with that now. I think I will just allow to use a simple page to be the starting page and the blog and projects as child pages. That is enough for my purpose.
IMHO, the most logical way to structure your content would be to have blog, simple page and projects as subpages on the same level, i.e. as subpages to the individual artist, and not simple page as subpage of blog or vice versa. Then a simple page would not allow child pages, whereas projects and blog would allow one level of subpages, i.e. sth. like article.php for a blog subpage, and project.php for a projects subpage.
The advantage of doing it that way is that your artists can choose what to use as their landing page still. You can in your artist template use the following:
// Selects the first sub-page of the artist page as the landing page
<?php go($page->children()->visible()->first()); ?>
Glad that we finally found a solution. It’s sometimes difficult to get at it if the structure is a bit less straighforward, and without an example or the exact structure. So the link to the site really helped a lot.
Good luck with your website now ! And you know where to find us if you need to!
I only bumped it but I meant to help you fix it too, @texnixe didn’t give me enough time (she is soooo fast )!
I’m sooooorrrryyyyyyyyyyyyyyyyyyy !!!
I’ve corrected it above (as if it were just a typo in a code line you know…)
I don’t believe I knew you were ! It doesn’t really make a difference now that I know except that I think I may have called you “he” half a dozen times. Oh well…