Page 1 of 1
Footer links veranderen
Posted: Mon Nov 26, 2012 7:55 am
by tomatito
Hallo allemaal,
Ik wil graag de links in mijn footer veranderen. En dan niet de 1e column... dat kan via admin
Maar wel graag de 2e, 3e en 4e column. De naam van de link veranderen lukt nog wel. Ik weet alleen niet waar ik de tekst kan
vinden/veranderen waar deze naar toe verwijst.
Voorbeeld:
Returns (2e column) zou ik bijvoorbeeld willen veranderen in ´niet leverbare artikelen´ (=willekeurig voorbeeld).
Graag zou ik dan ook willen weten waar ik de tekst verander/plaats waar deze link naar verwijst.
Groeten Tomatito.
Re: Footer links veranderen
Posted: Mon Dec 10, 2012 6:33 am
by tverheijen
dit doe je gedeetelijk in je language file
en in je /catalog/view/theme/default/template/common/footer.tpl
om een 4e column toe te voegen, kun je dit doen;
ga naar je ........./catalog/view/theme/default/template/common/footer.tpl
zoek:
Code: Select all
<div id="footer">
<?php if ($informations) { ?>
<div class="column">
<h3><?php echo $text_information; ?></h3>
<ul>
<?php foreach ($informations as $information) { ?>
<li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li>
<?php } ?>
</ul>
</div>
<?php } ?>
<div class="column">
<h3><?php echo $text_service; ?></h3>
<ul>
<li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
<li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
<li><a href="<?php echo $sitemap; ?>"><?php echo $text_sitemap; ?></a></li>
</ul>
</div>
<div class="column">
<h3><?php echo $text_extra; ?></h3>
<ul>
<li><a href="<?php echo $manufacturer; ?>"><?php echo $text_manufacturer; ?></a></li>
<li><a href="<?php echo $voucher; ?>"><?php echo $text_voucher; ?></a></li>
//<li><a href="<?php echo $affiliate; ?>"><?php echo $text_affiliate; ?></a></li>
<li><a href="<?php echo $special; ?>"><?php echo $text_special; ?></a></li>
</ul>
</div>
<div class="column">
<h3><?php echo $text_account; ?></h3>
<ul>
<li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>
<li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
<li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li>
<li><a href="<?php echo $newsletter; ?>"><?php echo $text_newsletter; ?></a></li>
</ul>
</div>
</div>
<!--
OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation.
Please donate via PayPal to donate@opencart.com
//-->
<div id="powered"><?php echo $powered; ?></div>
<!--
OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation.
Please donate via PayPal to donate@opencart.com
//-->
</div>
</body></html>
vervang:
Code: Select all
<div id="footer">
<?php if ($informations) { ?>
<div class="column">
<h3><?php echo $text_information; ?></h3>
<ul>
<?php foreach ($informations as $information) { ?>
<li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li>
<?php } ?>
</ul>
</div>
<?php } ?>
<div class="column">
<h3><?php echo $text_service; ?></h3>
<ul>
<li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
<li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
<li><a href="<?php echo $sitemap; ?>"><?php echo $text_sitemap; ?></a></li>
</ul>
</div>
<div class="column">
<h3><?php echo $text_extra; ?></h3>
<ul>
<li><a href="<?php echo $manufacturer; ?>"><?php echo $text_manufacturer; ?></a></li>
<li><a href="<?php echo $voucher; ?>"><?php echo $text_voucher; ?></a></li>
//<li><a href="<?php echo $affiliate; ?>"><?php echo $text_affiliate; ?></a></li>
<li><a href="<?php echo $special; ?>"><?php echo $text_special; ?></a></li>
</ul>
</div>
<div class="column">
<h3><?php echo $text_account; ?></h3>
<ul>
<li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>
<li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
<li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li>
<li><a href="<?php echo $newsletter; ?>"><?php echo $text_newsletter; ?></a></li>
</ul>
</div>
<div class="column">
<h3><?php echo 'jou column text'; ?></h3>
<ul>
<li><a href="jelinknaarjepagina1"><?php echo 'hierjetext'; ?></a></li>
<li><a href="jelinknaarjepagina2"><?php echo 'hierjetext'; ?></a></li>
<li><a href="jelinknaarjepagina3"><?php echo 'hierjetext'; ?></a></li>
<li><a href="jelinknaarjepagina4"><?php echo 'hierjetext'; ?></a></li>
</ul>
</div>
</div>
<!--
OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation.
Please donate via PayPal to donate@opencart.com
//-->
<div id="powered"><?php echo $powered; ?></div>
<!--
OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation.
Please donate via PayPal to donate@opencart.com
//-->
</div>
</body></html>
Om je footer links aan te passen, gebruik;
Code: Select all
<li><a href="jelinknaarjepagina"><?php echo 'hierjetext'; ?></a></li>
succes
./thomas
Re: Footer links veranderen
Posted: Wed Dec 12, 2012 1:57 pm
by tomatito
Gelukt! Hartelijk dank voor je uitleg
