-
AuthorPosts
-
September 25, 2012 at 10:13 am #180947
hi my website is http://www.cheapflightsgatwick.com/ and i am trying to find out how to get more space after each article on the home page and after the read more. the demo site under the health section shows lots of space and i am trying to create the same amount of space so the page looks cleaner.
any help would be great
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 26, 2012 at 10:03 am #468206Hi seacidenfun,
Could you please explain more detail ? really I don’t think I understand what you want, if possible please enclosed a screenshot that marking the change you want
September 26, 2012 at 10:10 pm #468285if you look at your demo here http://joomla25-templates.joomlart.com/ja_teline_iv/health.html you will see it is nicely set out, there is plenty of space between the top article and the bottom article, but if you look at my site http://www.cheapflightsgatwick.com you will see the articles are crammed together.
also is there a way when working in category features for the home page, where you can make sure that you have a paragraph for each article. at the moment all you can do is to set how many characters of the article you want to show but this causes problems where you have some words missing. it would be nice if you could do the same as the category blog where you can use the read more devider to show a paragraph.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 27, 2012 at 4:50 am #468316<blockquote>if you look at your demo here http://joomla25-templates.joomlart.c…iv/health.html you will see it is nicely set out, there is plenty of space between the top article and the bottom article, but if you look at my site http://www.cheapflightsgatwick.com you will see the articles are crammed together.</blockquote>
This demo page is a category blog layout while your home page is the Ja newpro module layout so of course they are different, btw I am not sure which “plenty of space” you mentioned.
<blockquote>also is there a way when working in category features for the home page, where you can make sure that you have a paragraph for each article. at the moment all you can do is to set how many characters of the article you want to show but this causes problems where you have some words missing. it would be nice if you could do the same as the category blog where you can use the read more devider to show a paragraph. </blockquote>
What do you mean by “category features for the home page” ? Do you mean to the Ja newpro or Ja newfeature module ?
September 28, 2012 at 10:31 am #468478it is the ja news pro module i am using, i would like to know instead of characters, is it possible to have like the category blog where you can just display the first paragraph. this would then make the page much nicer instead of having a sentence with missing words
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 1, 2012 at 6:59 am #468669<em>@seasidefun 340155 wrote:</em><blockquote>it is the ja news pro module i am using, i would like to know instead of characters, is it possible to have like the category blog where you can just display the first paragraph. this would then make the page much nicer instead of having a sentence with missing words</blockquote>
if you want the module display the whole introtext section or the first paragraph as mentioned you could try as following
Open the file of modulesmod_janewsprotmpldefaultblog_item.php looking for this code
[PHP]<?php
if($maxchars > strlen($row->introtext1) ) {
echo $row->introtext;
} else {
echo $row->introtext1;
}
?>[/PHP]Change it to
[PHP]
<?php
if($maxchars > strlen($row->introtext1) || $maxchars == -1) {
echo $row->introtext;
} else {
echo $row->introtext1;
}
?>
[/PHP]Then you go to the module back-end > at the field of Max Chars you leave it the value of -1.
I hope this change would help !
October 4, 2012 at 3:59 am #469077just tried putting the value in on the module in the back end but it breaks part of the site up, any help would be great
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 5, 2012 at 2:17 am #469177<em>@seasidefun 340981 wrote:</em><blockquote>just tried putting the value in on the module in the back end but it breaks part of the site up, any help would be great</blockquote>
you can pm me your admin account as well ad the FTP info for further checking ?
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by Sherlock 12 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum