Viel danke für deine bemüht um du mir zu helfe!
Wie deine Code jetzt ich habe,
[{php}]
$hallo = array('205001', '205001-1', '205001-2', '205001-3');
$this->assign(“hallo”, $hallo);
[{/php}]
[{if (in_array($oDetailsProduct->oxarticles__oxartnum->value, $hallo))}]
[{block name="lokta_schreibe"}]
[{oxhasrights ident="SHOWLONGDESCRIPTION"}]
[{oxifcontent ident="9d19a20335d164d004f26292759245b9" object="oCont"}]
[{assign var="hope" value=$oCont->oxcontents__oxcontent->value}]
[{if $oCont->oxcontents__oxtitle->value}]
[{capture append="tabs"}]<a class="nav-link[{if $blFirstTab}] active[{/if}]" href="#joseba" data-toggle="tab">[{$oCont->oxcontents__oxtitle->value}]</a>[{/capture}]
[{capture append="tabsContent"}]
<div id="joseba" class="tab-pane[{if $blFirstTab}] active[{/if}]" itemprop="joseba">
[{oxeval var=$hope }]
[{if $oDetailsProduct->oxarticles__oxexturl->value}]
<a id="productExturl" class="js-external" href="[{$oDetailsProduct->oxarticles__oxexturl->value}]">
[{if $oDetailsProduct->oxarticles__oxurldesc->value}]
[{$oDetailsProduct->oxarticles__oxurldesc->value}]
[{else}]
[{$oDetailsProduct->oxarticles__oxexturl->value}]
[{/if}]
</a>
[{/if}]
</div>
[{/capture}]
[{assign var="blFirstTab" value=false}]
[{/if}]
[{/oxifcontent}]
[{/oxhasrights}]
[{/block}]
[{/if}]
aber bekommt dieser warnung,
Warning : in_array() expects parameter 2 to be array, null given in /var/www/html/oxid/source/tmp/smarty/147c42bfd77af53c89df35f918f06a4d^%%F5^F50^F500F10E%%tabs.tpl.php on line 42
Auf der Zeile 42 habe [{oxeval var=$hope }]