• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Define where profiler is output?

#1
Hi all,

Using V3 of CI.  Our web stylist as added a nice looking sidebar to our app however it is currently covering up part of the profiler output.

Is there way to designate that profiler should output into a certain div?
Reply

#2
Hi!

You can override the Profiler library creating a file with the same name and content in the application/libraries folder. This new file will override the file in the system/libraries/Profiler.php folder.

After copying the original class, observe the run method.

See that it displays the content inside the #codeigniter_profiler div. You can change the name if you want or create a view with the template you want and display it within the run function.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.