I'm trying code
<?php $models = $this->getModel(); ?> ("getModel() is model slideshowdata")
<?php if($models -> count() > 0 ): ?>
<?php foreach($models as $model): ?>
<?php $objSlideshow = $this->_objectManager->get("Xanka\Slider\Model\Slideshow")->load($model->getId());?>
...
but not true. Any suggestion ? I wana getModel slideshow with condition slideshow_id(slidehoswdata) aqua slidesshow_id(slideshow). so how make it ? I use
<?php $objSlideshow = $this->_objectManager->get("Xanka\Slider\Model\Slideshow")->load($model->getId());?>
but wrong. thanks