Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • synncom Friend
    #189857

    Hi,

    I cant seem to change the Main Navigation Menu Items or text.

    these are the changes I tried so far :
    <?xml version=”1.0″ encoding=”utf-8″?>
    <layout name=”desktop” body-class=”bd-default”>
    <!–Extra css load for this layout–>
    <stylesheets>
    </stylesheets>
    <blocks name=”top” style=”xhtml”>
    <block name=”header” type=”header” main-inner=”4″></block>
    <block name=”onepage” type=”onepage” pageid=”” no-wrap=”1″ no-main=”2″>
    <page name=”Johan and Wanja” type=”modules” title=”Johan and Wanja” class=”color1 first-item”>page1</page>
    <page name=”our-story” type=”modules” title=”Stories” class=”color3″>page3</page>
    <page name=”events” type=”modules” title=”Event” class=”color4″>page2</page>
    <page name=”our-blog” type=”modules” title=”Blog” class=”color5″>page5</page>
    <page name=”youll-say” type=”modules” title=”Guestbook” class=”color6 last-item”>page6</page>
    </block>
    <block name=”subnav” type=”subnav” main-inner=”4″></block>
    <block name=”cpanel” type=”usertools/cpanel”></block>
    </blocks>
    <blocks name=”middle” colwidth=”27″ main-inner=”6″ fixheight=”1″>
    <block name=”content-mass-top” main-inner=”4″>content-mass-top</block>
    <block name=”right1″>left,right</block>
    <block name=”content-mass-bottom” main-inner=”4″>content-mass-bottom</block>
    </blocks>
    <blocks name=”bottom” style=”xhtml”>
    <block name=”botsl1″ type=”spotlight” main-inner=”3″ special=”right” specialwidth=”27″>user1,user2,user3,user4</block>
    <block name=”navhelper” type=”navhelper” main-inner=”3″></block>
    <block name=”footer” type=”footer” main-inner=”3″></block>
    </blocks>
    </layout>

    Its not working.

    Is there a way to not use this menu and simply use the Standard Joomla Menu ?

    synncom Friend
    #502807

    Hi Developers,

    any help out here on my issue please ?

    Ninja Lead Moderator
    #502873

    JA Mer Template is special template, this way will help you to change Main Navigation Menu Items

    Open templates/ja_mers/etc/layouts/home.xml file

    From

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop" body-class="bd-homepage">
    <!--Extra css load for this layout-->
    <stylesheets>
    </stylesheets>
    <blocks name="top" style="xhtml">

    <block name="header" type="header" main-inner="4"></block>
    <block name="subnav" type="subnav" main-inner="4"></block>
    <block name="onepage" type="onepage" pageid="" no-wrap="1" no-main="2">
    <page name="home" type="modules" title="About me" class="color1 first-item">page1</page>
    <page name="photos" type="modules" title="Photos" class="color2">page2</page>
    <page name="our-story" type="modules" title="Stories" class="color3">page3</page>
    <page name="events" type="modules" title="Event" class="color4">page4</page>
    <page name="our-blog" type="modules" title="Blog" class="color5">page5</page>
    <page name="youll-say" type="modules" title="Guestbook" class="color6 last-item">page6</page>
    </block>
    <block name="cpanel" type="usertools/cpanel"></block>
    </blocks>
    <blocks name="middle" colwidth="20" main-inner="6">
    <block name="content-mass-top" main-inner="4">thank-you</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="navhelper" type="navhelper"></block>
    <block name="botsl1" type="spotlight" main-inner="3">user1,user2,user3</block>
    <block name="footer" type="footer" main-inner="3"></block>
    </blocks>
    </layout>

    Change to


    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop" body-class="bd-default">
    <!--Extra css load for this layout-->
    <stylesheets>
    </stylesheets>
    <blocks name="top" style="xhtml">
    <block name="header" type="header" main-inner="4"></block>
    <block name="onepage" type="onepage" pageid="" no-wrap="1" no-main="2">
    <page name="Johan and Wanja" type="modules" title="Johan and Wanja" class="color1 first-item">page1</page>
    <page name="our-story" type="modules" title="Stories" class="color3">page3</page>
    <page name="events" type="modules" title="Event" class="color4">page2</page>
    <page name="our-blog" type="modules" title="Blog" class="color5">page5</page>
    <page name="youll-say" type="modules" title="Guestbook" class="color6 last-item">page6</page>
    </block>
    <block name="subnav" type="subnav" main-inner="4"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    </blocks>
    <blocks name="middle" colwidth="27" main-inner="6" fixheight="1">
    <block name="content-mass-top" main-inner="4">content-mass-top</block>
    <block name="right1">left,right</block>
    <block name="content-mass-bottom" main-inner="4">content-mass-bottom</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl1" type="spotlight" main-inner="3" special="right" specialwidth="27">user1,user2,user3,user4</block>
    <block name="navhelper" type="navhelper" main-inner="3"></block>
    <block name="footer" type="footer" main-inner="3"></block>
    </blocks>
    </layout>

    + Remember to back-up old before changing

    Always remember to clear cache from the Admin area after apply any changes

    synncom Friend
    #503018

    Thanx Ninja Lead,

    is there a way to change this Template to NOT make use of this menu type and simply use the Standard Joomla menu?

    Ninja Lead Moderator
    #503136

    Yes, you don’t want to use special onepage option on JA Mers Template, you can back it to standard joomla menu this way

    + Open templates/ja_mers/etc/layouts/default.xml file

    from

    <blocks name="top" style="xhtml">
    <block name="header" type="header" main-inner="4"></block>
    <block name="onepage" type="onepage" pageid="" no-wrap="1" no-main="2">
    <page name="home" type="modules" title="About me" class="color1 first-item">page1</page>
    <page name="photos" type="modules" title="Photos" class="color2">page2</page>
    <page name="our-story" type="modules" title="Stories" class="color3">page3</page>
    <page name="events" type="modules" title="Event" class="color4">page4</page>
    <page name="our-blog" type="modules" title="Blog" class="color5">page5</page>
    <page name="youll-say" type="modules" title="Guestbook" class="color6 last-item">page6</page>
    </block>
    <block name="subnav" type="subnav" main-inner="4"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    </blocks>

    Change to

    <blocks name="top" style="xhtml">
    <block name="header" type="header" main-inner="4"></block>
    <block name="mainnav" type="mainnav" main-inner="1"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    </blocks>

    Remember to clear cache from Admin area

    synncom Friend
    #503597

    <em>@Ninja Lead 386052 wrote:</em><blockquote>Yes, you don’t want to use special onepage option on JA Mers Template, you can back it to standard joomla menu this way

    + Open templates/ja_mers/etc/layouts/default.xml file

    from

    <blocks name="top" style="xhtml">
    <block name="header" type="header" main-inner="4"></block>
    <block name="onepage" type="onepage" pageid="" no-wrap="1" no-main="2">
    <page name="home" type="modules" title="About me" class="color1 first-item">page1</page>
    <page name="photos" type="modules" title="Photos" class="color2">page2</page>
    <page name="our-story" type="modules" title="Stories" class="color3">page3</page>
    <page name="events" type="modules" title="Event" class="color4">page4</page>
    <page name="our-blog" type="modules" title="Blog" class="color5">page5</page>
    <page name="youll-say" type="modules" title="Guestbook" class="color6 last-item">page6</page>
    </block>
    <block name="subnav" type="subnav" main-inner="4"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    </blocks>

    Change to

    <blocks name="top" style="xhtml">
    <block name="header" type="header" main-inner="4"></block>
    <block name="mainnav" type="mainnav" main-inner="1"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    </blocks>

    Remember to clear cache from Admin area</blockquote>

    Hi Ninja Lead – this didnt work unfortunately – it doesnt change at all…

    this is how I changed the Default.xml file :

    <?xml version=”1.0″ encoding=”utf-8″?>
    <layout name=”desktop” body-class=”bd-default”>
    <!–Extra css load for this layout–>
    <stylesheets>
    </stylesheets>
    <blocks name=”top” style=”xhtml”>
    <block name=”header” type=”header” main-inner=”4″></block>
    <block name=”mainnav” type=”mainnav” main-inner=”1″></block>
    <block name=”cpanel” type=”usertools/cpanel”></block>
    </blocks>
    <blocks name=”middle” colwidth=”27″ main-inner=”6″ fixheight=”1″>
    <block name=”content-mass-top” main-inner=”4″>content-mass-top</block>
    <block name=”right1″>left,right</block>
    <block name=”content-mass-bottom” main-inner=”4″>content-mass-bottom</block>
    </blocks>
    <blocks name=”bottom” style=”xhtml”>
    <block name=”botsl1″ type=”spotlight” main-inner=”3″ special=”right” specialwidth=”27″>user1,user2,user3,user4</block>
    <block name=”navhelper” type=”navhelper” main-inner=”3″></block>
    <block name=”footer” type=”footer” main-inner=”3″></block>
    </blocks>
    </layout>

    This is the url : http://www.johanandwanja.co.za

    synncom Friend
    #503613

    I have also Cleared the Cache

    Ninja Lead Moderator
    #503712

    <em>@synncom 386691 wrote:</em><blockquote>I have also Cleared the Cache</blockquote>

    This is some changes I made on your site.

    + Go to Admin site -> Extensions-> Template Manager -> JA_Mers – Default -> Profiles tabs -> Homepage profile-> Layout Settings tabs->Desktop Layout change to default

    + Go back to menu site -> enable all menu items

    + Open templates/ja_mers/css/template.css file


    #ja-mainnav .main-inner1,
    #ja-mainnav .main-inner1 {
    position: relative;
    z-index: 1;
    padding-left: 9px;
    padding-right: 9px;
    }

    Change to


    #ja-mainnav .main-inner1,
    #ja-mainnav .main-inner1 {
    position: relative;
    z-index: 1;
    padding-left: 9px;
    padding-right: 9px;
    margin-left: 150px;
    }

    Your site is back as the default joomla.

    synncom Friend
    #503723

    Please can you reply to me Ninja Lead ?

    Ninja Lead Moderator
    #503762

    <em>@synncom 386825 wrote:</em><blockquote>Please can you reply to me Ninja Lead ?</blockquote>

    Yes, i have changed it directly on your site with my above solution but you reverted it before

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 2 voices, and was last updated by  Ninja Lead 11 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum