Todo List

Global handleWidgetPageSettings ($pageId)

Add widget builder, template editor to change the $WIDGET locations, location-visualizer etc.

Do something about file uploads by widgets

Global login ()
Document it

Global openid_login ($userdata)
Check what happen if the entry in _users is because of another OpenID entry and not because of a Pragyan user. I suspect that the code will still ask for the password (which it shouldn't). The code shouldn't check Pre-existing email ID for those entries which have login_method as openid. 4. When OpenID proovider returns an Email which is not there in our records: In this case, the system demands the user to give their full name and thus it registers themselves as a dummy openid user in _users (with login_method = openid) and create entries in _openid_users too. After this, the user can start using his account.

File smarttable.class.php

cms/modules/smarttable is not the correct place for the files as this is NOT a module. Those should be moved out of modules folder.

Solution of warning : Generate some instance number to append to initSmartTable. A static variable can be maintained inside the class and the value of it will be appended to the initSmartTable function and all the associated variables. That number should be passed to the user because they may need to call the functions or edit the variables manually.