-
AuthorPosts
-
November 6, 2012 at 8:53 am #181979
Hello
I want to create a new module position in puresite template under the mega menu for the language switcher. With the attached element, you’ll find where I want it to be.
Tnak you for your help
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 7, 2012 at 7:51 am #472134Please follow my suggestion:
+ You need to create new position on backend file
<blockquote>Admin area->Extensions->Template Manager->JA_Puresite – Default->Layouts Tab->Edit default</blockquote>
from
<blockquote><block name=”slider” type=”modules” main-inner=”1″>slider</block></blockquote>
change to
<blockquote><block name=”language_switcher” type=”modules” main-inner=”1″>language_switcher</block>
<block name=”slider” type=”modules” main-inner=”1″>slider</block></blockquote>
+ Create css script set position to right
<blockquote>Open templates/ja_puresite/css/template.css file</blockquote>
and add new script css
<blockquote>#ja-language_switcher .ja-moduletable {
float:right;
}</blockquote>1 user says Thank You to Ninja Lead for this useful post
November 8, 2012 at 1:31 pm #472297Hello Ninja lead
I have not tried it yet, but as I understand, you’re telling me that I’m setting up the position of a module position called “language_switcher” that already exists ?
I’ll try it and I’ll you if it works for me. Thank you 🙂
November 8, 2012 at 2:09 pm #472301Hello
I followed your steps: added a new block in default layout and added the script in template.css
This is the content of the default layout xml file:<?xml version=”1.0″ encoding=”utf-8″?>
<layout name=”desktop”>
<!–Extra css load for this layout–>
<stylesheets>
<file media=”all”>css/layout.css</file>
<file media=”all”>css/template.css</file>
<file media=”all”>css/modules.css</file>
<file media=”only screen and (max-width:479px)”>css/layout-mobile-port.css</file>
<file media=”only screen and (max-width:735px)”>css/layout-mobile.css</file>
<file media=”only screen and (min-width:736px) and (max-width: 985px)”>css/layout-tablet.css</file>
<file media=”only screen and (min-width:986px) and (max-width: 1235px)”>css/layout-normal.css</file>
</stylesheets>
<scripts>
<file>js/mega.rjd.js</file>
<file>js/jquery/jquery-1.6.4.min.js</file>
<file>js/jquery.masonry.js</file>
<file>js/jquery.mediaqueries.js</file>
<content>jQuery.noConflict();</content>
</scripts>
<blocks name=”top” style=”xhtml”>
<block name=”header” type=”header” main-inner=”1″></block>
<block name=”language_switcher” type=”modules” main-inner=”1″>language_switcher</block>
<block name=”slider” type=”modules” main-inner=”1″>slider</block>
<block name=”topsl” type=”spotlight” main-inner=”2″ specialwidth=”25″ special=”left”>user1,user2,user3,user4</block>
<block name=”topsl1″ type=”spotlight” main-inner=”2″ specialwidth=”25″ special=”left”>user5,user6</block>
<block name=”topsl2″ type=”spotlight” main-inner=”2″ specialwidth=”25″ special=”left”>user7,user8</block>
<block name=”topsl3″ type=”spotlight” main-inner=”2″>position-2</block>
</blocks>
<blocks name=”middle” main-inner=”1″ fixheight=”0″ colwidth=”25″>
<block name=”right1″>position-7, position-5</block>
</blocks>
<blocks name=”bottom” style=”xhtml”>
<block name=”botsl” type=”spotlight” main-inner=”1″>contactus</block>
<block name=”navhelper” type=”navhelper”></block>
<block name=”botsl1″ type=”spotlight” main-inner=”2″ specialwidth=”50″ special=”left”>user9,user10,user11,user12</block>
<block name=”botsl2″ type=”spotlight” main-inner=”2″ >user13,user14</block>
<block name=”footer” main-inner=”1″ type=”footer”></block>
<block name=”masonry” type=”masonry” no-wrap=”1″ no-main=”1″></block>
</blocks>
</layout>By the way, I follwed steps descriped in this thread: http://www.joomlart.com/forums/topic/new-module-position-in-ja-nex/ (it’s about ja nex not ja puresite) and I was able to create the new module but the only problem was that I couldn’t make it appear in the right of the page although I changed float to the right but it didn’t work.
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 2 voices, and was last updated by famousfeem 12 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Create new module position puresite
Viewing 4 posts - 1 through 4 (of 4 total)