Ik probeer bestaande pagina's zoals "over ons" enz aan de menubalk toe te voegen maar tevergeefs.
Nu staat er standaard "mijn account - afrekenen - inloggen" en hiernaast wil ik pagina's toevoegen.
Ook de bestaande "mijn account - afrekenen - inloggen" kan ik nergens in mijn admin terugvinden.
Ik werk met Magento versie 1.9.2.4
Re: Pagina's toevoegen aan menubalk
2Menu's zijn in Magento Static Blocks, die zal je moeten aanpassen en daarna niet vergeten om de Cache opnieuw op te laten bouwen!
Opzoek naar een webhoster die echt met je meedenkt?
Magento Webhosting, WooCommerce en nog veel meer systemen!
Magento Webhosting, WooCommerce en nog veel meer systemen!
Re: Pagina's toevoegen aan menubalk
3Normaal gesproken moet dat inderdaad op deze manier maar om 1 of andere reden werkt dat bij mij niet.puurhost schreef:Menu's zijn in Magento Static Blocks, die zal je moeten aanpassen en daarna niet vergeten om de Cache opnieuw op te laten bouwen!
In het lijstje "Static Blocks" staan de volgende blocken
Footer Links
Contact block
Map Content
Banner home
Banner colCookie restriction notice
Nergens zie ik navigation of menubalk of zoiets. Ook een Block aanmaken met de naam "test" en daarna Cache legen enz geeft geen resultaat
Re: Pagina's toevoegen aan menubalk
4Ga naar het volgende bestand: /app/design/frontend/{JOUNTHEMA}/default/template/page/html/topmenu.phtml
Dit bestand ziet er nu zo uit:
Je moet deze regel in het menu toevoegen:
<a href="[Link URL]">[Link Tekst]</a>
Je moet die onder deze regel plaatsen: <?php echo $_menu ?>
Dit zou het moeten worden:
Dit bestand ziet er nu zo uit:
Code: Selecteer alles
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magento.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category design
* @package base_default
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
?>
<?php
/**
* Top menu for store
*
* @see Mage_Page_Block_Html_Topmenu
*/
?>
<?php $_menu = $this->getHtml('level-top') ?>
<?php if($_menu): ?>
<div class="nav-container">
<ul id="nav">
<?php echo $_menu ?>
</ul>
</div>
<?php endif ?>
<a href="[Link URL]">[Link Tekst]</a>
Je moet die onder deze regel plaatsen: <?php echo $_menu ?>
Dit zou het moeten worden:
Code: Selecteer alles
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magento.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category design
* @package base_default
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
?>
<?php
/**
* Top menu for store
*
* @see Mage_Page_Block_Html_Topmenu
*/
?>
<?php $_menu = $this->getHtml('level-top') ?>
<?php if($_menu): ?>
<div class="nav-container">
<ul id="nav">
<?php echo $_menu ?>
<a href="[Link URL]">[Link Tekst]</a>
</ul>
</div>
<?php endif ?>
https://www.abcwinkel.nl - De winkel die heeft wat u zoekt
- Advertentie
Wil je zelf je eigen webwinkel maken? Met JouwWeb is dat heel eenvoudig! Dankzij een slimme keuzehulp ontwerp je zelf je eigen thema of huisstijl. De software is technisch volledig doorontwikkeld en naast het Nederlands ook in het Engels beschikbaar. Ruim 250.000 ondernemers gingen je voor!