Difference between revisions of "Theme debugging tools"

From JReviews Documentation
Jump to: navigation, search
(Created page with "JReviews 2.4 brings new debugging tools: File:ThemeDebugTools.png == Debug PHP & Queries == This option is very useful during development when something doesn't work bec...")
 
Line 1: Line 1:
JReviews 2.4 brings new debugging tools:
+
In JReviews Configuration you will find debugging tools:
 
+
 
+
[[File:ThemeDebugTools.png]]
+
  
 +
[[File:theme-debug-tools.png]]
  
 
== Debug PHP & Queries ==
 
== Debug PHP & Queries ==
Line 13: Line 11:
 
This option is very useful if you don't know which file or function outputs specific elements of JReviews pages.
 
This option is very useful if you don't know which file or function outputs specific elements of JReviews pages.
  
If you enable this option, it will show the theme output of each theme labeled with the theme filepath as well as the controller filename and function is used to process the output.  
+
If you enable this option, it will show the theme output of each theme labeled with the theme filepath as well as the controller filename and function is used to process the output. Example:
Example:
+
 
+
 
+
[[File:ThemeDebug.png]]
+
  
 +
[[File:theme-debug-output.png]]
  
 
== Debug IP ==
 
== Debug IP ==

Revision as of 13:52, 6 January 2014

In JReviews Configuration you will find debugging tools:

Theme-debug-tools.png

Debug PHP & Queries

This option is very useful during development when something doesn't work because of php or database errors. Enabling it will display all php errors and database queries below all content on pages.

Debug Themes

This option is very useful if you don't know which file or function outputs specific elements of JReviews pages.

If you enable this option, it will show the theme output of each theme labeled with the theme filepath as well as the controller filename and function is used to process the output. Example:

Theme-debug-output.png

Debug IP

Enter your IP address to the Debug IP input when you enable Debug options so that other visitors of your site won't see debug info.