Great bit of code, works perfectly in my details template.
But.........
Don't know how to get it to show a module on the v-card template. The v-card template is just a <td> so inserting <?php echo Sobi2InsertMod('rightsobi2','sobi'); ?> gives you a module position inside the table with as many instances as you have listings on that page.
The <table class="sobi2Listing"> on the v-card template is made in the "sobi2.listing.php file and has two instances I think the second instance is the one (shown here):
/*
* show items in this category
*/
if( !$config->cacheL2Enabled
|| !( $output = $config->sobiCache->getContent( $requestParams, "entrieslist") )
|| !( $cPageNav = $config->sobiCache->getContent( $requestParams, "pagenav") )
) {
$output = "\n\t\t<table class=\"sobi2Listing\">";
$output .= $sobi2Frontend->getListing( $sobi2Cat );
$output .= "\n\t\t\t</tr>\n\t\t</table>\n";
if( $config->cacheL2Enabled ) {
$config->sobiCache->addContent( $output, $requestParams, "entrieslist" );
}
}
echo $output;
}Would it be possible to add the <?php echo Sobi2InsertMod('rightsobi2','sobi'); ?> code to this file so that it is before the table and in a div like this:
<div class="sobi2mods">
<?php echo Sobi2InsertMod('rightsobi2','sobi'); ?>
</div>
So I can make it float right as I did on the details view template.
I have been guessing at the code but everything I do just breaks the whole site.
I hope someone can help.
