简体   繁体   English

表格Joomla菜单

[英]Tabular Joomla Menu

I am trying to convert the default menu created in Joomla, with UL-LI, to a tabular menu, ie table-tr-td-a, any help on how to extend the default behavior. 我正在尝试将使用UL-LI在Joomla中创建的默认菜单转换为表格菜单,即table-tr-td-a,这是有关如何扩展默认行为的任何帮助。

Sorry if this sounds noob, but I am one on for Joomla! 抱歉,这听起来很菜鸟,但我是Joomla的一员!

To do this you'd need to edit the default.php file in the ftp by going to modules/mod_menu/tmpl/default.php in the ftp. 为此,您需要通过转至ftp中的modules / mod_menu / tmpl / default.php来编辑ftp中的default.php文件。 You'll see they echo the ul,li etc elements. 您会看到它们回显了ul,li等元素。 You'd just need to replace these with the table codes. 您只需要用表代码替换它们即可。

Alternatively you can download something from the JED with a table structure. 或者,您可以从JED下载具有表结构的内容。 However most people find ul/li elements much better so you might struggle. 但是,大多数人发现ul / li元素要好得多,因此您可能会遇到困难。

On a side note tables are much slower than ul,li etc elements for menus so I really wouldn't advice it. 从侧面讲,表格比ul,li等菜单菜单要慢得多,因此我真的不建议这样做。 But whatever floats your boat!! 但是无论什么漂浮着你的船!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM