2018-02-13, 22:41:19
(2018-02-13, 17:10:09)Bigin Wrote: Hello Fabmue,
hmm, hard to say, I don't really know what your idea is, it depends on what you want to do with your item data, whether you want to display it or process it further, and so on. If you just want to display them, better do it with "SimpleItem" objects, it's easy:
PHP Code:$imanager = imanager();
$mapper = $imanager->getItemMapper();
// change 5 to your category id
$mapper->alloc(5);
foreach($mapper->simpleItems as $item) {
echo '<img src="'.$item->profilbild[0].'">';
echo "<h3>$item->name</h3>";
echo "<p>$item->instrument</p>";
}
It works perfectly!! Thank you so much
