-
AuthorPosts
-
minsunlee Friend
minsunlee
- Join date:
- March 2011
- Posts:
- 24
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 3 times in 1 posts
June 21, 2011 at 10:32 am #165492Hi JA Bulletin most read fuction is showing most read articles from the begining of the webpage. Can we set it up to show most read from only last week?
gray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
June 21, 2011 at 7:26 pm #397703haven’t checked, but try the following
in module’s helper.php (back-up before making changes!)
find
[php]
// Set ordering
$ordering = $params->get(‘type’, ‘latest’);
if($ordering==’latest’){
$ordering = ‘a.modified’;
}
else{
$ordering = ‘a.hits’;
}
[/php]change to
[php]
// Set ordering
$ordering = $params->get(‘type’, ‘latest’);
if($ordering==’latest’){
$ordering = ‘a.modified’;
}
else{
$ordering = ‘a.hits’;
// select only articles created during last 7 days
$model->setState(‘filter.start_date_range’, $db->Quote(JFactory::getDate(($time – 86400 * 7))->toMySQL()));
}
[/php]minsunlee Friendminsunlee
- Join date:
- March 2011
- Posts:
- 24
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 3 times in 1 posts
June 22, 2011 at 7:54 am #397805This code is not there. For more info I’m using k2 for content
gray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
June 22, 2011 at 10:20 am #397839<em>@minsunlee 248863 wrote:</em><blockquote>This code is not there. For more info I’m using k2 for content</blockquote>
What version of JA Bulletine do you use? Was it hacked (modified) before to meet your needs?
minsunlee Friendminsunlee
- Join date:
- March 2011
- Posts:
- 24
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 3 times in 1 posts
June 24, 2011 at 8:35 am #398184version 1.0.4
And no it was not modified…gray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
minsunlee Friendminsunlee
- Join date:
- March 2011
- Posts:
- 24
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 3 times in 1 posts
June 30, 2011 at 1:56 pm #399349Ja Teline IV pack has version 1.0.4
Can anyone help me pls
gray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
elibericoweb Friendelibericoweb
- Join date:
- February 2011
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
July 4, 2011 at 5:23 pm #399830Hello everybody,
I’ve got the last version of Teline IV (Version: 1.2.4). But with this same problem.
I need to change something in the Most Read module of JA Bulletin. Iwant to show the most read news but only with recent news. Like 7 days old.
I have seen this extension that makes exactly what I want but I have tried it and it doesn’t have any thumbnail, that’s why I want to modify the JA Bulletin in some way to get the recent articles ordered by hits.
Popular of Late: http://extensions.joomla.org/extensions/news-display/popular-content/5085
Thanks a lot.
minsunlee Friendminsunlee
- Join date:
- March 2011
- Posts:
- 24
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 3 times in 1 posts
July 13, 2011 at 12:28 pm #400960Can anyone help with that?
pritam Friendpritam
- Join date:
- April 2011
- Posts:
- 609
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 11
- Thanked:
- 125 times in 113 posts
July 15, 2011 at 12:56 pm #401328Hello minsunlee ,
To Ja- Bulletin – most read
Can you please send your admin access + FTP details at http://support.joomlart.com/index.php?/Tickets/Ticket/View/75172 , So that we can help you better.
minsunlee Friendminsunlee
- Join date:
- March 2011
- Posts:
- 24
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 3 times in 1 posts
July 29, 2011 at 6:11 pm #403652Can anyone help with that? Please…
-
AuthorPosts
This topic contains 14 replies, has 5 voices, and was last updated by Manos 13 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum