Denis A wrote:
Hello
I don't understand why jQuery not including to piwigo by default
I need including javascript into header.tpl
What is it?
flop25 wrote:
jquery has been included in piwigo for a long time ! see http://piwigo.org/dev/browser/trunk/themes/default/js
you just need to add this line
{combine_script id="jquery" load="header" path = "themes/default/js/jquery.min.js"}
in a tpl to use it !
And now -in 2.4-, this line has been added in header.tpl of the default theme, so any template-extension, plugin using template and loading the header ... will no more need to add this combine_script tag
Offline
default theme - only in admin header.tpl contains
{combine_script id='jquery' path='themes/default/js/jquery.min.js'}
but in html this string absent
default theme in content header.tpl absent too
how can I switch on jQuery?
trubles was with mbstring.func_overload in php.ini
wrote in httpd:
<VirtualHost *:80>
...
php_admin_value mbstring.func_overload 0
....
</VirtualHost>
and it's ok
Please, add to http://piwigo.org/basics/requirements info about php.ini,
mbstring.func_overload must be 0
Denis A wrote:
Please, add to http://piwigo.org/basics/requirements info about php.ini,
mbstring.func_overload must be 0
Isn't it the default configuration of PHP 5?
Offline
mistic100 wrote:
So I don't see why we should detail every PHP setting if it is already the default configuration.
Offline