Mini FrontPage
- Posted by TemplatePlazza (5263) Offline
We're still looking for the solution but in the meanwhile you can fix this problem by comment out 2 lines in components/com_content/models/articles.php (these new lines are added in joomla 3.2.2)
Find these lines (lines 441-541)
comment out line 445 and 451 so it becomes like this :
10 years 10 months ago #7
by TemplatePlazza
Find these lines (lines 441-541)
if ((!$user->authorise('core.edit.state', 'com_content')) && (!$user->authorise('core.edit', 'com_content'))) {
$nullDate = $db->quote($db->getNullDate());
$nowDate = $db->quote(JFactory::getDate()->toSql());
$query->where('(a.publish_up = '.$nullDate.' OR a.publish_up <= '.$nowDate.')')
->where('(a.publish_down = '.$nullDate.' OR a.publish_down >= '.$nowDate.')');
}
comment out line 445 and 451 so it becomes like this :
//if ((!$user->authorise('core.edit.state', 'com_content')) && (!$user->authorise('core.edit', 'com_content'))) {
$nullDate = $db->quote($db->getNullDate());
$nowDate = $db->quote(JFactory::getDate()->toSql());
$query->where('(a.publish_up = '.$nullDate.' OR a.publish_up <= '.$nowDate.')')
->where('(a.publish_down = '.$nullDate.' OR a.publish_down >= '.$nowDate.')');
//}
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5263) Offline
Ok, please put back the modified lines of articles.php then open this flie : modules/mod_minifrontpage/helper.php
at lines (115) find this code :change to
Please let me know the result
10 years 10 months ago #8
by TemplatePlazza
at lines (115) find this code :
$model->setState('filter.date_filtering', 'relative');
$model->setState('filter.date_filtering', 'off');
Please let me know the result
Please Log in or Create an account to join the conversation.
- Posted by spacecoast (2) Offline
- Posted by Marina (14) Offline
Hi:
Sorry about my other post I put in response to another problem, I wanted to put here but I can not delete it. I'll try what you tell me here to see if it works.
I cross my fingers.
Regards, Marina.
10 years 10 months ago #10
by Marina
Sorry about my other post I put in response to another problem, I wanted to put here but I can not delete it. I'll try what you tell me here to see if it works.
I cross my fingers.
Regards, Marina.
Please Log in or Create an account to join the conversation.
- Posted by Marina (14) Offline
Hi:
It worked!!! That's nice website with this module.
Thank you very much for everything.
Regards, Marina.
10 years 10 months ago #11
by Marina
It worked!!! That's nice website with this module.
Thank you very much for everything.
Regards, Marina.
Please Log in or Create an account to join the conversation.
- Posted by r3view (6) Offline
Hello,
Now it works, but the "Period of Novelty (Days)" option is not working. I setup it at 15 days, but the module shows older articles.
10 years 10 months ago #12
by r3view
Now it works, but the "Period of Novelty (Days)" option is not working. I setup it at 15 days, but the module shows older articles.
Please Log in or Create an account to join the conversation.