Jump to content

selecting a page based on 'multiple pages' field.


Recommended Posts

Posted
Hi,

I'm going to make this structure:

300 pages with bikerider-templates

2000 pages with rides-templates

the 'rides' template where you can select multiple other pages (riders)

How can i select rides where 'one rider' has ridden?

select rides where "rider in listofriders"

Peter

Posted

Hi!  Hopefully I understood what you're trying to archieve.

<?php	

	// On rider template
	$rides = $pages->find("template=ride,rider={$page->id}");

?>
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...