W oryginalnym szablonie dla V-Card jest taki kod:
Kod PHP:
//For advanced templating You can coment it in if You need to access other sobi2 object proporties
// $mySobi = new sobi2( $id );
// $waySearchLink = HTML_SOBI::createWaySearchUrl( $id );
Odkomentuj tą ostatnią linię.
Powinno to wyglądać mniej więcej w tym stylu:
Kod PHP:
function sobi2VCview($id, $style, $ico, $img, $title, $fieldsObjects, $fieldsFormatted, $plugins, $editButton = null, $deleteButton = null)
{
// For advanced templating You can coment it in if You need to access other sobi2 object proporties
// $mySobi = new sobi2( $id );
$waySearchLink = HTML_SOBI::createWaySearchUrl( $id );
?>
.........
<?php echo HTML_SOBI::waySearchUrl($waySearchLink); ?>
Pozdrawiam,
Radek