-
AuthorPosts
-
December 3, 2011 at 5:21 pm #171421
Two-part question:
1) I’d like to increase the height of the slideshow in the Ja Pyro website so that I can include more text, but when I modify it in the module section of Ja Slideshow II, the background doesn’t fill completely and there is white on the bottom.
2) The text that I include in the articles that are to be pulled to the slideshow don’t display in the format that I set up in the back-end of the article page, that is, the bullets and the breaks don’t appear, it’s just all fluid text.
Website: http://www.aqi.brennac.com
Thanks for your help in advance!
khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 3, 2011 at 5:37 pm #4277781) I’d like to increase the height of the slideshow in the Ja Pyro website so that I can include more text, but when I modify it in the module section of Ja Slideshow II, the background doesn’t fill completely and there is white on the bottom.
You change height of http://www.aqi.brennac.com/templates/ja_pyro/images/light_gray/sl-slidewrap-bg.gif image to 473px
1 user says Thank You to khoand for this useful post
December 3, 2011 at 5:58 pm #427781Thank you, this solved the first issue. Do you have any suggestions for the second? Why does it auto-format the text into one big block?
khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 5, 2011 at 4:35 pm #428043http://www.joomlart.com/forums/topic/increase-ja-pyro-demo-slideshow-height/#post-427781
<em>@brennac 286736 wrote:</em><blockquote>
2) The text that I include in the articles that are to be pulled to the slideshow don’t display in the format that I set up in the back-end of the article page, that is, the bullets and the breaks don’t appear, it’s just all fluid text.Website: http://www.aqi.brennac.com
Thanks for your help in advance!</blockquote>
You replace this code from /modules/mod_jaslideshow2/tmpl/default_articles.php
<p><?php echo $helper->trimString( $item->introtext, $descMaxChars, $includeTags ); ?></p>with
<p><?php echo $helper->trimString( $item->introtext, $descMaxChars ); ?></p>1 user says Thank You to khoand for this useful post
December 6, 2011 at 6:30 pm #428261I have done this, but it did not solve the issue. Could you take a look? http://www.aqi.brennac.com
khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 7, 2011 at 9:20 am #428354You try replace this code from /templates/ja_pyro/html/mod_jaslideshow2/default_article.php
<p><?php echo $helper->trimString( strip_tags($item->introtext), $descMaxChars ); ?></p>
with
<p><?php echo $helper->trimString($item->introtext, $descMaxChars ); ?></p>December 7, 2011 at 9:57 am #428382khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 8, 2011 at 10:51 am #428663You try replace
<p><?php echo $helper->trimString($item->introtext, $descMaxChars ); ?></p>
with
<p><?php echo $helper->trimString( preg_replace("/<img.+srcs*=s*"([^"]*)"[^>]*>/", "", $item->introtext), $descMaxChars ); ?></p>1 user says Thank You to khoand for this useful post
December 8, 2011 at 3:25 pm #428718Now the overlaying image is gone, but the over-stretched image in the back is still there…http://www.aqi.brennac.com
khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 9, 2011 at 2:58 pm #428967I restored the code
<p><?php echo $helper->trimString( $item->introtext, $descMaxChars ); ?></p>
And I replace
<?php echo $helper->renderImage ($item->title, $item->mainImage, $params, $mainWidth, $mainHeight );?>
with
<?php //echo $helper->renderImage ($item->title, $item->mainImage, $params, $mainWidth, $mainHeight );?>
You check it again.1 user says Thank You to khoand for this useful post
December 15, 2011 at 6:38 pm #429804I have another question for you as you have been so helpful in the past. I would like to increase the width of the slideshow inside the 960 pixel frame (it was 940 in the back-end of the slideshow module). I changed the 940 to 954, but I don’t see any difference as to how filled the larger, light gray outer shell appears. Could you tell me where in the script I can reduce that 10 pixel padding to 3 pixels?
khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 17, 2011 at 8:47 pm #430106To help forum is clearly, you create a new thread for your new issue, please. After that, you inform me, I will help you. Thank you.
<em>@brennac 289371 wrote:</em><blockquote>I have another question for you as you have been so helpful in the past. I would like to increase the width of the slideshow inside the 960 pixel frame (it was 940 in the back-end of the slideshow module). I changed the 940 to 954, but I don’t see any difference as to how filled the larger, light gray outer shell appears. Could you tell me where in the script I can reduce that 10 pixel padding to 3 pixels?</blockquote>1 user says Thank You to khoand for this useful post
December 18, 2011 at 10:30 pm #430299Thank you, I have reposted on a new thread. I would appreciate any help with this problem!
AuthorPostsViewing 13 posts - 1 through 13 (of 13 total)This topic contains 13 replies, has 2 voices, and was last updated by
brennac 13 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Increase Ja Pyro Demo Slideshow Height
Viewing 13 posts - 1 through 13 (of 13 total)