开发者

Does the classes on the ul and li menu Change dynamically on Joomla?

开发者 https://www.devze.com 2022-12-19 10:03 出处:网络
Using the joomla 1开发者_如何学JAVA.5 menu (mainmenu module): Does the classes on the ul andli menuChange dynamically on Joomla? or if I make a template based on this classes will it work on all jooml

Using the joomla 1开发者_如何学JAVA.5 menu (mainmenu module): Does the classes on the ul and li menu Change dynamically on Joomla? or if I make a template based on this classes will it work on all joomla instalations

anyways I know that is a module that generated "good" classes but since most joomla users are newbies that can be a problem to convince them to install something new...


It certainly appears to: adding id="current" and class="active" to the selected li.


While creating the joomla module.

Add the Menu Class Suffix of the module.

So this suffix will be added to the joomla default class.

Here is the good guide for joomla class suffix. (e.g mainlevelyoursuffix)

Check Here

Its a good practice to use this class suffix in joomla.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号