For those who want the display of Moodle Site's Modules and plugins
Parse the code below to the header section in listing template or/and single template .
<table width="80%" cellpadding="5" border="1" align="center" class="modulesdata generaltable"> <tbody>
<tr>
<th align="left" class="header">header1
</th>
<th align="left" class="header">header2
</th>
<th align="left" class="header">header3
</th>
<th align="left" class="header">header4
</th>
</tr></tbody>
</table>
Re: For those who want the display of Moodle Site's Modules and plugins
The following HTML code worked for me for the list template. I noticed the WYSIWYG editor likes to screw up the code once you save it, so I started copying my trial and error code into Microsoft Word until I figured it out. I'm sure there's an easier way, but here's what worked for me:
**Make sure you edit all three sections using the HTML editor**
HEADER SECTION:
<table class="modulesdata generaltable" align="center" border="1" cellpadding="5" width="80%"> <tbody>
<tr>
<th class="header" align="left">Date
</th>
<th class="header" align="left">Write Stuff Here
</th>
<th class="header" align="left">Options
</th>
</tr>
REPEATED ENTRY SECTION:
<tr><td>Date</td>
<td>Write_stuff_here</td>
<td>##Edit## ##More## ##Delete## ##Approve##</td></tr>
FOOTER:
</tbody></table></div><hr />
**PLEASE NOTE** that if you go back and fix stuff - the editor will add code that you didn't put there orginally. It was a huge pain to copy and paste every single time, but I'm very happy that I finally figured it out.
Re: For those who want the display of Moodle Site's Modules and plugins
Hi
This is a great article but is there a way to restrict users from adding new contents to a database by restricting it to only the admin users? i.e we want to remove the additional tab add entry which normally appears on all the databases created? I tried the admin stuff but there was no control there, nor did the assign roles work.
Best Regards
Uday
Re: For those who want the display of Moodle Site's Modules and plugins
at Moodle 1.6, on 'Editing Database' you can find Participants = 'Teachers' or 'Teachers and Students'. Setting it to 'Teachers' avoid students to insert items on your database.
I'm sure there is something similar at Moodle 1.7
Re: For those who want the display of Moodle Site's Modules and plugins
For Moodle 1.7 go to the Database settings page. Then Roles tab, and select Students. Then click Overrides. You will be presented with the capabilities associated with the instance of this database. Prevent write entry and any other capability.
Or you could create a role with the above capabilities setting and assign this to your students in the Roles assign tab.
Re: For those who want the display of Moodle Site's Modules and plugins
Re: For those who want the display of Moodle Site's Modules and plugins
Please find attached the modules and plugins database preset, which includes a Javascript template.
(Edited to attach updated file according to Robert's suggestion.)
Re: For those who want the display of Moodle Site's Modules and plugins
to be complete, the preset.zip files should now also include a "asearchtemplate.html" file. This does not harm to older Moodles, but gives you advantage to recent ones.
Best,
Robert
Re: For those who want the display of Moodle Site's Modules and plugins

Re: For those who want the display of Moodle Site's Modules and plugins
regards
J