Jump to content

Webrobo

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

2 Neutral

About Webrobo

  • Rank
    Newbie
  1. Hello, I would like to know how do I get all pages from a specific template and output all fields from the pages which uses this template my current attempt to do this: <?php foreach ($pages->find("template=spiel") as $spiele): ?> <tr> <td><?php echo $spiele->title?></td> <td><?php echo $spiele->datum?></td> <td><?php echo $spiele->halle?></td> <td><?php echo $spiele->liga?> | <?php echo $spiele->liga_gruppe?></td> <td><?php echo $spiele->team_a?></td> <td><?php echo $spiele->team_b?></td> <td><?php echo $spiele->ergebnis?></td> <td><?php echo $spiele->kampfgericht_liga?> | <?php echo $spiele->kampfgericht_team?></td> </tr> <?php endforeach; ?> Thanks in advance for help!
×
×
  • Create New...