-
AuthorPosts
-
joev Friend
joev
- Join date:
- December 2008
- Posts:
- 108
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 5
- Thanked:
- 10 times in 1 posts
January 19, 2009 at 9:38 pm #137264Does anyone know if it would be possible to implement the JA Bulletin module next to the Slide Show, similar to the Sanidine template? The Zeolite template seems like it could also be used for a business type site, but I really like to see the JA Bulletin module used by the Slider module. Thanks!
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
January 20, 2009 at 8:04 am #287271Hi joev,
Please try with my guide:
+ Open index.php file in templates/ja_zeolite folder, find following script at about line 136:
[PHP]<?php if (!$tmpTools->isContentEdit() && $this->countModules(‘ja-slideshow’)) { ?>
<!– BEGIN: SLIDESHOW –>
<div id=”ja-slideshow” class=”clearfix”>
<div id=”ja-slideshow-bot”><div id=”ja-slideshow-top” class=”clearfix”>
<jdoc:include type=”modules” name=”ja-slideshow” style=”raw” />
</div></div>
</div>
<!– END: SLIDESHOW –>
<?php } ?>
[/PHP]and change to:
[PHP]<?php if (!$tmpTools->isContentEdit() && $this->countModules(‘ja-slideshow’)) { ?>
<!– BEGIN: SLIDESHOW –>
<div id=”ja-slideshow” class=”clearfix”>
<div id=”ja-slideshow-bot”><div id=”ja-slideshow-top” class=”clearfix”>
<jdoc:include type=”modules” name=”ja-slideshow” style=”raw” />
</div></div>
<div id=”ja-topsl2″>
<jdoc:include type=”modules” name=”topsl2″ style=”xhtml” />
</div>
</div>
<!– END: SLIDESHOW –>
<?php } ?>[/PHP]
I defined the topsl2 position.+ Open template.css file in templates/ja_zeolite/css folder, add following code section to the end of file:
#ja-slideshow-bot {
width: 80%;
float: left;
}#ja-topsl2 {
width: 19.9%;
float: right;
}
+ In administrator, you must change the size of ja slideshow module, the JA Bulletin module for the #ja-topsl2 position.
Hope it helps.
joev Friendjoev
- Join date:
- December 2008
- Posts:
- 108
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 5
- Thanked:
- 10 times in 1 posts
January 20, 2009 at 2:53 pm #287325Thank you for the code. It was very helpful. I was able to get the JA Bulletin module to display, but is there any way to apply styling to the module, similar to the Sample Module on the front page. I have attached a screen shot. Thanks!
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
January 21, 2009 at 6:41 am #287403Hi,
You can use the style in the Sanidine template for your website.
joev Friendjoev
- Join date:
- December 2008
- Posts:
- 108
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 5
- Thanked:
- 10 times in 1 posts
January 21, 2009 at 12:22 pm #287460Sorry for the dumb question, but how do you apply the module style?
Can anyone provide some additional details on applying a style to the Ja Bulletin module to match the Zeolite modules. Thanks!
Can someone please assist me with this last question?
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by joev 15 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
JA Bulletin
Viewing 5 posts - 1 through 5 (of 5 total)