Het forum voor de webwinkel eigenaar en bezoeker van webwinkels.

 
Funnyric
Berichten: 41
Lid geworden op: 20 november 2015

Pagina's toevoegen aan menubalk

14 april 2016

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
 
puurhost
Berichten: 187
Lid geworden op: 05 april 2016
Contacteer:

Re: Pagina's toevoegen aan menubalk

14 april 2016

Menu'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!
 
Funnyric
Berichten: 41
Lid geworden op: 20 november 2015

Re: Pagina's toevoegen aan menubalk

14 april 2016

Menu's zijn in Magento Static Blocks, die zal je moeten aanpassen en daarna niet vergeten om de Cache opnieuw op te laten bouwen!
Normaal gesproken moet dat inderdaad op deze manier maar om 1 of andere reden werkt dat bij mij niet.
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
 
Gebruikersavatar
AbcWinkel
Berichten: 44
Lid geworden op: 01 februari 2016
Locatie: Landgraaf
Contacteer:

Re: Pagina's toevoegen aan menubalk

16 april 2016

Ga naar het volgende bestand: /app/design/frontend/{JOUNTHEMA}/default/template/page/html/topmenu.phtml

Dit bestand ziet er nu zo uit:
<?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 ?>
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:
<?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

Met Shopify maak je zelf je eigen webwinkel dankzij meer dan honderd thema’s en de complete appstore. Shopify sluit ook goed aan op dropshippers. De software is technisch volledig SEO-geoptimaliseerd en biedt alle sociale media-integraties. Meer info op Shopify.com.