Anzeigenamen in Boxen

Hallo,

danke für die schnelle Hilfe. Hier der code aus “oepaypalpartnerbox.tpl” . Was mus ich ändern, mir fehlt der Hinweis auf TRusted Shop.
[{$smarty.block.parent}]

[{if $oViewConf->isExpressCheckoutEnabled() || $oViewConf->isStandardCheckoutEnabled()}]

[{oxstyle include=$oViewConf->getModuleUrl('oepaypal','out/src/paypal.css')}]

<div id="paypalPartnerLogo">
    <a href="#">
        <img src="[{$oViewConf->getModuleUrl('oepaypal','out/img/')}][{oxmultilang ident="OEPAYPAL_LOGO_IMG"}]" border="0" alt="[{oxmultilang ident="OEPAYPAL_PAYMENT_HELP_LINK_TEXT"}]">
    </a>

    [{assign var="paypalHelpLink" value="OEPAYPAL_PAYMENT_HELP_LINK"|oxmultilangassign}]
    [{oxscript add="$('#paypalPartnerLogo').click(function (){window.open('`$paypalHelpLink`','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=500, height=450');return false;});"}]
</div>

[{/if}]

Danke und bis bald

Rainer

hier ist eine kleine Info zu den “Blocks”: http://wiki.oxidforge.org/Tutorials/Customize_OXID_eShop_With_oxBlocks

was hier passiert, ist folgendes:
in der Datei partners.tpl
gibts u.a. folgenden Code:


...
[{block name="partner_logos"}]
[{include file="widget/trustedshops/info.tpl" }]
[{/block}]
...

Mit dem Eintrag in der Tabelle oxtplblocks wird der Block mit dem Namen “partner_logos” überschrieben und zwar mit dem Inhalt der Datei oepaypalpartnerbox.tpl

Und in der oepaypalpartnerbox.tpl gibts am Anfang diese Zeile: [{$smarty.block.parent}]
D.h. dass der vorherige Inhalt hier übernommen wird und alles was danach kommt praktisch angehängt wird.

Wenn du jetzt wieder in der partners.tpl schaust, der bestehende Inhalt ist [{include file=“widget/trustedshops/info.tpl” }]
also das was in der Datei widget/trustedshops/info.tpl drin steht.

Und je nach dem was du ändern möchtest, steht es entweder in der widget/trustedshops/info.tpl oder in der oepaypalpartnerbox.tpl

Und nach der Änderung musst du noch tmp/ leeren

Geschafft - vielen Dank für die Hilfe auch am Sonntag. Ich habe die Zeile [{$smarty.block.parent}] nur auskommentiert und nun klappt es.
Nochmal Danke und

bis bald

Rainer