Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9.4
-
Fix Version/s: None
-
Component/s: Database activity module
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
By sabine li - Tuesday, March 31, 2009, 09:18 AM
We've just upgrade moodle to 1.94+
A little problem with the database module: when posting a new comment in database, the top of the page is displayed. The user has to scroll down to the bottom of the page to see the comment form.
Most of our users are lost and don't see it.
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
By Sabine II:
I finally found the solution by myself
in mod>data>lib.php
line 1326 replace
echo '<a href="view.php?d='.$data->id.'&page='.$page.'&mode=single&addcomment=1">'.get_string('addcomment', 'data').'</a>';
by
echo '<a href="view.php?d='.$data->id.'&page='.$page.'&mode=single&addcomment=1#commentaire">'.get_string('addcomment', 'data').'</a>';
line 1334 replace
echo '<div class="newcomment" style="text-align:center">';
by
echo '<a name="commentaire"></a><div class="newcomment" style="text-align:center">';