[英]Joomla Modal not on every page
I have a older Joomla intallation which includes a modal feature, however I have noticed in the sourcecode that the related JS and CSS only load on the main index page - it's not being loaded on all other pages. 我有一个较旧的Joomla安装程序,其中包含一个模式功能,但是我在源代码中注意到相关的JS和CSS仅加载在主索引页面上,而不是在所有其他页面上加载。
Is there a way to include this globally ? 有没有办法在全球范围内包含此内容?
Some advise would be greatly appreciated. 一些建议将不胜感激。
弄清楚了-通过添加:
<?php JHTML::_( 'behavior.modal' ); ?>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.