-
AuthorPosts
-
synncom Friend
synncom
- Join date:
- February 2012
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
August 19, 2013 at 12:25 pm #189857Hi,
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 Friendsynncom
- Join date:
- February 2012
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
August 20, 2013 at 7:53 am #502807Hi Developers,
any help out here on my issue please ?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 20, 2013 at 12:15 pm #502873JA 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
1 user says Thank You to Ninja Lead for this useful post
synncom Friendsynncom
- Join date:
- February 2012
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
August 21, 2013 at 11:07 am #503018Thanx 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 22, 2013 at 9:40 am #503136Yes, 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
1 user says Thank You to Ninja Lead for this useful post
synncom Friendsynncom
- Join date:
- February 2012
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
August 27, 2013 at 9:08 am #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 Friendsynncom
- Join date:
- February 2012
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
August 27, 2013 at 10:06 am #503613I have also Cleared the Cache
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 28, 2013 at 5:20 am #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 Friendsynncom
- Join date:
- February 2012
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
August 28, 2013 at 6:20 am #503723Please can you reply to me Ninja Lead ?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 28, 2013 at 9:46 am #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
-
AuthorPosts
This topic contains 10 replies, has 2 voices, and was last updated by Ninja Lead 11 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum