Thứ Ba, 29 tháng 8, 2023

Joomla4 happyfox prettyPhoto popup iframe embed not work SOLVED


Detail: Joomla 3, click popup view
Run joomla 4 not view
Reason: joomla4 miss jquery jquery-migrate.min.js
-
Solution: at joomla 3 get media/jui/js/jquery-migrate.min.js
Add to joomla 4



 

Thứ Bảy, 26 tháng 8, 2023

Win 10 joomla XAMPP Input variables exceeded Input variables exceeded warning

Warning:  Input variables exceeded 2000. To increase the limit change Input variables exceeded  in php.ini. in 


Solution
Config D:\xampp\apache\conf or C:\xampp\apache\conf (folder did setup xampp)
change or add php_value max_input_vars 10000


 

Thứ Tư, 23 tháng 8, 2023

J4 load template selected params by menu assign


Detail: admin copy template,  template assign by menu item. This copied can change params

Explain: when duplicate template, db will create 1 row template_style new id. And param can change. Template assign by menu item -> #_menu have column 'template_id'



Solution:

template_name/index.php

use Joomla\CMS\Factory;

$app   = Factory::getApplication();
/*getparameName*/
$paramValue = $app->getTemplate(true)->params['param_name'];