-
AuthorPosts
-
March 26, 2007 at 2:21 pm #119366
How to add a top module position?
I would like to have top module position, just below the main menu. Please tell me what code should I add to index.php in order to have such module
Thanks you:
swemmel Friendswemmel
- Join date:
- February 2006
- Posts:
- 794
- Downloads:
- 34
- Uploads:
- 53
- Thanks:
- 36
- Thanked:
- 64 times in 1 posts
April 13, 2007 at 8:10 pm #217925Hi,
In my example the new module-position is called fpss. Oke, here we go.
Search in the index.php to the following code:
</div><div id="ja-content">
<?php mosMainBody(); ?>
<?php if ( mosCountModules('banner') ) { ?>
<!-- BEGIN: BANNER -->
<div id="ja-banner">
Put the new module between <div id=”ja-content”> and <?php mosMainBody(); ?>. See below.
</div><div id="ja-content">
<?php if( mosCountModules('fpss') ) {?>
<?php mosLoadModules('fpss', -2); ?>
<?php } ?><?php mosMainBody(); ?>
<?php if ( mosCountModules('banner') ) { ?>
<!-- BEGIN: BANNER -->
<div id="ja-banner">
In the backend of your site fo to Site – Template Manager – Module Positions and add in an empty field fpss
Now you can publish a module there, the result is as in the picture (to see it live: http://naaktgeboren.swemmelaar.nl)
Kind Regards,
Peter
375
June 16, 2007 at 6:23 pm #222272gosh…..I am glad to see this post. I have been trying to get fpss working in my environment and everyone was telling me it was my utah ii template. I have installed the mod and component to a t and am unable to get it to work. I am getting the swirling loading when I publish it in my banners area. did you do anything special to fpss to get it working within the template?
-Jarrod
swemmel Friendswemmel
- Join date:
- February 2006
- Posts:
- 794
- Downloads:
- 34
- Uploads:
- 53
- Thanks:
- 36
- Thanked:
- 64 times in 1 posts
July 23, 2007 at 1:29 pm #224917Hi Jarrod,
No I didn’t do anything special. But you can search on the forums on JoomlaWorks. I believe I have seen more questions about this problem there.
Kind Regards,
PeterSorry for late reply, but I was on vacation. 😉
August 2, 2007 at 5:44 pm #226145Dear Peter,
Thanks for your wonderful posting and help. I am looking for this modification too. But as I am new, I am still learning to make modification like you did. I am sure I will get it. It will be really helpful if I can have your index.php file and related CSS files you modified for me to study. Is that possible Petter?
Thanks in advance for your help and kindness.
Best regards,
Eka
**************@yahoo.comswemmel Friendswemmel
- Join date:
- February 2006
- Posts:
- 794
- Downloads:
- 34
- Uploads:
- 53
- Thanks:
- 36
- Thanked:
- 64 times in 1 posts
August 2, 2007 at 5:57 pm #226147eka_template;23272Dear Peter,
Thanks for your wonderful posting and help. I am looking for this modification too. But as I am new, I am still learning to make modification like you did. I am sure I will get it. It will be really helpful if I can have your index.php file and related CSS files you modified for me to study. Is that possible Petter?
Thanks in advance for your help and kindness.
Best regards,
Eka
**************@yahoo.comHi Eka,
I did send the index.php to your email-adress.
Kind Regards,
PeterSeptember 25, 2007 at 1:44 pm #230012Great work Peter – and it was soooo simple! 😀
swemmel Friendswemmel
- Join date:
- February 2006
- Posts:
- 794
- Downloads:
- 34
- Uploads:
- 53
- Thanks:
- 36
- Thanked:
- 64 times in 1 posts
September 25, 2007 at 7:04 pm #230025Thanx. 😉 Glad I could help.
fderycke Friendfderycke
- Join date:
- August 2006
- Posts:
- 7
- Downloads:
- 0
- Uploads:
- 2
- Thanked:
- 1 times in 1 posts
September 26, 2007 at 7:58 am #230046Thank you very much for this post : this is exactly what I was looking for weeks ! 🙂
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 6 voices, and was last updated by fderycke 17 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Top Module Position
Viewing 9 posts - 1 through 9 (of 9 total)