Posts made by Itamar Tzadok

Can I remove the edit and delete entry right from a student?

For starters do not add the ##edit## and ##delete## tags to the student view. But that in itself does not prevent editing and deleting by direct url. So you need to set the editing time limit in the dataform settings form to some number of minutes. For instance if you set it to 1, editing/deleting will be prevented after 1 minute from adding the entry. The default is currently 0 for no time limit but we should probably change that to distinguish 0 editing time from unlimited editing time.

send a notification email that an entry has been edited/deleted and which one?

This is possible by a specialized field but this filed is not included in the standard distro and not yet released separately.

Can I remove the Current view dropdown for students

Yes, simply remove the ##viewsmenu## tag from the students' view template. But sometimes it is useful to leave the tag there. The menu appears only if there is more than one visible view (for managers 'visible' includes hidden and disabled views). So if you have one view for students they won't see the menu. But if the menu is in the template managers will see it and would be able to navigate easily out of the view should they need to.

And how do you prevent a student editing a particular field, so only admin staff can?

Currently the only way is to not include the field in the designated view for adding an entry (assuming the entry is locked for editing soon after it is added). There is a special view type - editon - that may be useful for this as it is designed for adding one entry. Other ways are underway.

 

hth smile