Hi! I am planning to make index page like this:
when you click category like status, typology, client, date…
I want to make highlight sub-items. like border or font-weight… and if i can… I also want to be able to select multiple categories.
<?php if ($seallist = page('exterior','architerior')): ?>
<?php foreach ($seallist->children()->listed()->sortBy('engtitle', 'asc') as $item): ?>
<a href="<?= $item->url() ?>"><?= $item->engtitle() ?></a><br>
<?php endforeach ?><br>
<?php endif ?>
<?php if ($indexprogress = page('exterior','architerior')): ?>
<?php foreach ($indexprogress->children()->listed()->sortBy('progress', 'asc') as $item): ?>
<a href="<?= $item->url() ?>"><?= $item->progress() ?></a><br>
<?php endforeach ?><br>
<?php endif ?>
Displaying all items and displaying categories succeeded…
but I don’t know what is next step…
could you give me a solution…?
thank you very much…!