1. WANTED: Forum Moderators >> and YOU can help!


    April Responsive Joomla template for Interior Design - JA Decor is out >> Demo | More info


    April Responsive Magento theme JM Leathercraft >> Demo | More info


User Tag List

+ Reply to Thread
 
Results 1 to 3 of 3
  1. #1
    Licensed Member Expired
    JoomlaTemplate Club Member - Personal License - 1 Year Expired

    Join Date
    Apr 2012
    Posts
    2
    Points
    2.94
    Downloads
    36
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Hoy can i add a custom module position in JA_NEX ??

    Hi there, im new to the site, im starting with joomla and im playing with JA_Nex (sorry for my english, its horrible, i know lol) and i was wondering if
    there was any way to add new position to the template.

    I did a lot of editing and i could modify some existing positions to suit my needs but this time i need to add a new position and i dont know how to do it, googled a bit and nobody came with a simple answer (or one that works for me) so i figured that was better to ask here. =)

    Im trying to add a new position next to "social" position (wich i already modified to insert a weather module in that place) i dont care if its to the right
    or to the left, i can edit the position later, but i dont even know how to make a copy of it so i can edit it, any help ?

    Im using Joomla 2.5 !!

    Thanks =)

  2. #2
    Global Moderator pavit's Avatar
    Join Date
    Sep 2007
    Location
    Italy
    Posts
    5,555
    Points
    12,998.02
    Downloads
    3879
    Uploads
    0
    Mentioned
    24 Post(s)
    Tagged
    1 Thread(s)
    Thanks
    159
    Thanked 1,707 Times in 1,565 Posts
    Hi

    Goto this file \templates\ja_nex\blocks\header.php at line 35 you have this code for the social position

    <?php if($this->countModules('social')) : ?>
    <div id="ja-social">
    <jdoc:include type="modules" name="social" />
    </div>
    <?php endif; ?>
    </div>

    You can copy it to create a new position so the new code for your header.php file will be like this below


    <?php if($this->countModules('social')) : ?>
    <div id="ja-social">
    <jdoc:include type="modules" name="social" />
    </div>
    <?php endif; ?>
    <?php if($this->countModules('mymodule')) : ?>
    <div id="ja-mymodule">
    <jdoc:include type="modules" name="mymodule" />
    </div>
    <?php endif; ?>
    </div>

    Then open this file \templates\ja_nex\templateDetails.xml and add the name of the new position

    <position>mymodule</position>

    Then make your changes in the \templates\ja_nex\css\template.css for the ja-mymodule class in the topheader section like is for ja-social
    If you find a post useful please press the Thanks Button

  3. The Following User Says Thank You to pavit For This Useful Post:

    ja_antich (05-03-2012)

  4. #3
    Licensed Member Expired
    JoomlaTemplate Club Member - Personal License - 1 Year Expired

    Join Date
    Apr 2012
    Posts
    2
    Points
    2.94
    Downloads
    36
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks !!!!

    Ill be trying to do it in a few hours, ill let you know how it went.

    Thanks again !!!

    EDIT: I SO FREAKING LOVE YOU !!! WOOOOOOOOOOOOO !!! it worked like a charm, thanks SO MUCH, for making this answer "idiot proof" lol, it was EXACTLY what i was looking for.

    THANKS !!!!!!!!!!
    Last edited by ja_antich; 05-03-2012 at 12:24 AM. Reason: Worked like a charm

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Stop working on Weekend!X

If your Boss broke your Joomla template or extension and ask you to fix it today. Here is the immediate solution. Then leave your request on the right forum, we will be helping after the Weekend Happy hours
Our Happy Hours: Friday 18:00 - Monday 9:00

No working during happy hours. Keep calm and don't break anything.