Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • npweb Friend
    #169616

    Hi,

    I am using JA Edenite 1.7 template and would like to create three new module position below Slide Show or Move User1, 2, 3 module from top.topsl above Body as shown in image

    I have very lilttel knowledge of cms any help will be great.

    NP


    1. Image
    pavit Moderator
    #419050

    Hi npweb

    To add 3 new positions below the slideshow you can do in this way

    go to extensions–>template manager –>Ja_Edenite-Default on the Layout Tab Default click on Edit so your actual default layout is

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    </stylesheets>
    <blocks name="top" style="xhtml">
    <block name="header" type="header"></block>
    <block name="mainnav" type="mainnav"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4,user5</block>
    <block name="topsl1" type="spotlight" main-inner="1">user6,user7,user8,user9,user10</block>
    </blocks>
    <blocks name="middle" colwidth="20" main-inner="1">
    <block name="left1">left</block>
    <block name="content-mass-top">content-mass-top</block>
    <block name="content-top" type="modules">content-top</block>
    <block name="content-mass-bottom">content-mass-bottom</block>
    <block name="right1">right</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="navhelper" type="navhelper"></block>
    <block name="botsl" type="spotlight" main-inner="1">user11,user12,user13,user14,user15</block>

    <block name="botsl1" type="spotlight" main-inner="1">user16,user17,user18,user19,user20</block>
    <block name="footer" type="footer" wrap-inner="1"></block>
    </blocks>
    </layout>

    change it adding the red line code

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    </stylesheets>
    <blocks name="top" style="xhtml">
    <block name="header" type="header"></block>
    <block name="mainnav" type="mainnav"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4,user5</block>
    <block name="topsl1" type="spotlight" main-inner="1">user6,user7,user8,user9,user10</block>
    </blocks>
    <blocks name="middle" colwidth="20" main-inner="1">
    <block name="left1">left</block>
    <block name="content-top" type="spotlight">yourmod1,yourmod2,yourmod3</block>
    <block name="content-mass-top">content-mass-top</block>
    <block name="content-top" type="modules">content-top</block>
    <block name="content-mass-bottom">content-mass-bottom</block>
    <block name="right1">right</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="navhelper" type="navhelper"></block>
    <block name="botsl" type="spotlight" main-inner="1">user11,user12,user13,user14,user15</block>

    <block name="botsl1" type="spotlight" main-inner="1">user16,user17,user18,user19,user20</block>
    <block name="footer" type="footer" wrap-inner="1"></block>
    </blocks>
    </layout>

    Then go to /templates/Ja_edenite/TemplateDetails.xml your code now is

    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE install PUBLIC "-//Joomla! 1.7//DTD template 1.1//EN" "http://www.joomla.org/xml/dtd/1.6/template-install.dtd">
    <extension
    version="1.7"
    type="template"
    method="upgrade">
    <name>ja_edenite</name>
    <version>1.1.1</version>
    <creationDate>15 August 2011</creationDate>
    <author>JoomlArt.com</author>
    <authorEmail>webmaster@joomlart.com</authorEmail>
    <authorUrl>http://www.joomlart.com</authorUrl>
    <copyright>Copyright (C), J.O.O.M Solutions Co., Ltd. All Rights Reserved.</copyright>
    <license>license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html</license>
    <description>JA Edenite for Joomla 1.7</description>
    <engine>t3</engine>
    <files>
    <filename>component.php</filename>
    <filename>index.html</filename>
    <filename>index.php</filename>
    <filename>info.xml</filename>
    <filename>params.ini</filename>
    <filename>template_thumbnail.png</filename>
    <filename>template_preview.png</filename>
    <filename>favicon.ico</filename>
    <folder>admin</folder>
    <folder>blocks</folder>
    <folder>core</folder>
    <folder>css</folder>
    <folder>html</folder>
    <folder>images</folder>
    <folder>info</folder>

    </files>

    <languages>
    <language tag="en-GB">en-GB.tpl_ja_edenite.ini</language>
    </languages>
    <administration>
    <languages folder="admin">
    <language tag="en-GB">en-GB.tpl_ja_edenite.ini</language>
    </languages>
    </administration>

    <positions>
    <position>hornav</position>
    <position>breadcrumbs</position>
    <position>search</position>
    <position>banner</position>
    <position>left</position>
    <position>right</position>
    <position>top</position>
    <position>user1</position>
    <position>user2</position>
    <position>user3</position>
    <position>user4</position>
    <position>user5</position>
    <position>footer</position>
    <position>syndicate</position>
    <position>debug</position>
    <position>header</position>
    <position>content-mass-top</position>
    <position>pippo</position>
    <position>pluto</position>
    <position>header</position>
    </positions>

    <params>

    </params>
    </extension>

    append this three line of code


    <position>yourmod1</position>
    <position>yourmod2</position>
    <position>yourmod3</position>
    </positions>

    so the new file will be

    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE install PUBLIC "-//Joomla! 1.7//DTD template 1.1//EN" "http://www.joomla.org/xml/dtd/1.6/template-install.dtd">
    <extension
    version="1.7"
    type="template"
    method="upgrade">
    <name>ja_edenite</name>
    <version>1.1.1</version>
    <creationDate>15 August 2011</creationDate>
    <author>JoomlArt.com</author>
    <authorEmail>webmaster@joomlart.com</authorEmail>
    <authorUrl>http://www.joomlart.com</authorUrl>
    <copyright>Copyright (C), J.O.O.M Solutions Co., Ltd. All Rights Reserved.</copyright>
    <license>license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html</license>
    <description>JA Edenite for Joomla 1.7</description>
    <engine>t3</engine>
    <files>
    <filename>component.php</filename>
    <filename>index.html</filename>
    <filename>index.php</filename>
    <filename>info.xml</filename>
    <filename>params.ini</filename>
    <filename>template_thumbnail.png</filename>
    <filename>template_preview.png</filename>
    <filename>favicon.ico</filename>
    <folder>admin</folder>
    <folder>blocks</folder>
    <folder>core</folder>
    <folder>css</folder>
    <folder>html</folder>
    <folder>images</folder>
    <folder>info</folder>

    </files>

    <languages>
    <language tag="en-GB">en-GB.tpl_ja_edenite.ini</language>
    </languages>
    <administration>
    <languages folder="admin">
    <language tag="en-GB">en-GB.tpl_ja_edenite.ini</language>
    </languages>
    </administration>

    <positions>
    <position>hornav</position>
    <position>breadcrumbs</position>
    <position>search</position>
    <position>banner</position>
    <position>left</position>
    <position>right</position>
    <position>top</position>
    <position>user1</position>
    <position>user2</position>
    <position>user3</position>
    <position>user4</position>
    <position>user5</position>
    <position>footer</position>
    <position>syndicate</position>
    <position>debug</position>
    <position>header</position>
    <position>content-mass-top</position>
    <position>pippo</position>
    <position>pluto</position>
    <position>header</position>
    <position>yourmod1</position>
    <position>yourmod2</position>
    <position>yourmod3</position>
    </positions>
    <params>
    </params>
    </extension>

    Save it and refresh your JaT3 cache

    Regards

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

This topic contains 2 replies, has 2 voices, and was last updated by  pavit 13 years, 1 month ago.

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