-
AuthorPosts
-
July 17, 2008 at 6:40 pm #130997
Hi!
Its my first posting here and I hope i do not bother you with my question, but I really could not find a good answer to my question in existing threads.
I use Barite, this really great template, and just want to add a new module position in Joomla 1.5.4. I have to say, I use Joomla in this version only since a few days and really must get used to it. To spend not too much time in trial-error hacking i just want to ask the professionals here:
How really to add a new module position in Joomla 1.5 and Barite template? Maybe a step-by-step version for the dummies here like I am 😉
I want to create this module in the same region (or better instead – if possible) in the Body-region (below the slider).
Maybe there is also a thread where this is written but I really did not find.
Thanks so much!!!
Wolve
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
July 18, 2008 at 7:27 am #260639Hi you should make some screenshots about your request
and , at first you must edit templateDetails.xml (templates/ja_barite folder)
you will see those lines like this :
<positions>
<position>hornav</position>
<position>breadcrumbs</position>
<position>banner</position>
<position>left</position>
<position>right1</position>
<position>right2</position>
<position>mass_top</position>
<position>mass_bot</position>
<position>slider</position>
<position>top</position>
<position>user1</position>
<position>user2</position>
<position>user3</position>
<position>user4</position>
<position>user5</position>
<position>user6</position>
<position>user7</position>
<position>footer</position>
<position>syndicate</position>
<position>debug</position>
</positions>plz add
<position>your position </position>
in those lines1 user says Thank You to Sherlock for this useful post
July 18, 2008 at 8:02 am #260657Hi,
thanks for fast answer.
Here is the screenshot where I want to put the new position (new_module):The code thing I will try to do now…
thanks again,
Wolve
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
July 18, 2008 at 8:13 am #260660HI
you can edit index.php(templates/ja_barite folder)
Search this line :
<jdoc:include type="component" />
Add those line above :
<div id="your id">
<jdoc:include type="modules" name="yourposition" style="" />
</div>
You can change foolow your request about id, name, style1 user says Thank You to Sherlock for this useful post
July 18, 2008 at 9:23 am #260688Hi again.
I want to thank you for this perfect explanation, exactly what I needed. 😎
Finally i added some styles in the template.css ant everything was done in 5 minutes.
Thanks a lot!!
Wolve
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
July 24, 2008 at 5:36 pm #262064Hi, its me again.
Because of some probem with compatibiity of some components i had to make a step back from Joomla 1.5 to 1.0.15 again for this project….
Where do i add exactly the same module position in Joomla 1.015?
Thanks!!
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
July 25, 2008 at 2:11 am #262122You can edit index.php(templates/ja_barite/ folder)
Search this line
<?php mosMainBody(); ?>
Change to
<?php mosMainBody(); ?>
<?php mosLoadModules("yourposition") ;?> -
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by Sherlock 16 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum