Menu

FAQ

Aruna Devi

Trace Point

1. identify the direction

2. verify the target

3. verify the checkpoint...

browser to controller to wrapper to database

database to wrapper to controller to template to browser


1.first identify the error, check the data and variables.... undefined index id,,,, clsClient missed the id details (22=>V533,);

2.undefined index subdomain, missed the data in config

3.undefined index name--> no field in clientuser about client name

4. clsclent not modified by table name user to clientuser

5. not mention in tablename clientuser clsconfig

6. user -->array name changed by clientuser

7.multiple checkbox with one fieldname(task)

$arrParam=array();

$arrParam[]=array("field"=>"name","data"=>"addcompany");

$arrParam[]=array("field"=>"client_id","data"=>$form->get_client_id());

$arrObject=ClsWrapper::getInstance("task")->getObjectList($arrParam);

8. $arrParam -->array name used more than one but the data can be moved

9. $form, if not allowed in template and create page. Then create variable in clscontrollerpage. For eg.$subdomain["value"]=$form->get_subdomain(); and load the variable. For eg. return

array('form'=>$form,'issubmit'=>false,"subdomain"=>$subdomain);"subdomain"--> where u called in create or edit of page

10. first page is clientuser login page load(clent create(clienttask create)) then next page is home

11. edit-->create the submit button and page,action,id for eg:
<form method="post">

    <p>&lt;input type="hidden" name="page" value="client" /&gt;<br/>
    &lt;input type="hidden" name="action" value="insert" /&gt;<br/>
    ----<br/>
    &lt;input type="submit" value="Submit" /&gt;.</p>

</form>

12. check hidden field in browser---> view the page source

13. setUseUpdatedRecordsOnly---> use to stay on old record and allow to to record

14. fileupload-->to showed by eg."value"; ?>" />

15. traceDirect($field,2); 2 represents loops continuation.

16. Wrapper class call a event for anything

17. In database cannot create foriegn key then truncate ur table.

18. get data from request. Here used for module....

$mod=ClsNaanalRequest::getInstance()->getModule();

19.isDeveloperMode in ClsConfig. Is used to give the error report.

20. when u used for any queries like jquery, must mention the top of page..

21. if i create role.doesn't have edit create only role that means create. It take that create and delete. It check the any mode edit else not it means goto role.


22.if need module out of login page control panel usage

declared in config.php by $controlpanel="user";

  • $controlpanel="user"; in clsconfig declared the controlpanel of user. here entry to control panel of user

  • $controlpanel="guest"; enter from out of login through guest panel

  • $controlpanel=false; means either clsconfig or guest panel are used to entry the page.
  • template Design

    make theme concept

    1.create theme folder

    2.set default folder to first theme file

    3. include all files within default like css, js, image,inner

    4. to change clsconfig theme->default

    5.to change all js,images,css path like <?php echo $theme_web_path; ?>

    6.inner page have only footer and header

    7.home page have all like header footer, content

    9.run this file directly moved to home page. When use page=? Then moved to inner page




Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.