Ajax queries are redirected (admin-ajax.php 302)
I’ve just spent a lot of time working out why an ajax function was not working for non-logged in users.Read More »Ajax queries are redirected (admin-ajax.php 302)
I’ve just spent a lot of time working out why an ajax function was not working for non-logged in users.Read More »Ajax queries are redirected (admin-ajax.php 302)
Just discovered a great new feature of PHP 5.3. .user.ini
can override the main php.ini directives. Anything not classified as PHP_INI_SYSTEM in the List of php.ini
directives can be set here and used locally.Read More »PHP .user.ini
On document ready, to find the value of the check radio button, use the id together with ‘checked’. E.g.:Read More »Identifying radio buttons
I’ve just realised how adaptable the <hr> (horizonal rule) element can be by using css styling. I’ve never much like the default look and so have often changed it to a simple single line.Read More »Horizontal rule: css styling
I’ve found many different opinions on the best way to use Doctrine query builder in Symfony 2. I needed to return a query joining four tables. I hit many errors before finding a working solution.Read More »Doctrine query builder in Symfony 2