简体   繁体   English

Joomla! 2.5-将自定义表实现为插件或模块?

[英]Joomla! 2.5 - Implement custom table as plugin or module?

Just started developing with Joomla! 刚开始与Joomla合作开发! (2.5), completely newb, read through the docs talking about Plugins, Components and Modules. (2.5),完全新颖,请通读有关插件,组件和模块的文档。 Having a hard time figuring out which to choose and how to implement. 很难确定选择哪种方法以及如何实施。 I'd like to have a table similar to the one used in the Plugin Manager in the Joomla! 我想要一张类似于Joomla的插件管理器中使用的表! administrator backend where the the results can be searched, filtered and even individual entries can be toggled (Enable/Disable by clicking on Status circle). 管理员后端,可以在其中搜索结果,过滤结果,甚至可以切换单个条目(通过单击状态圈来启用/禁用)。 Can someone point me to a tutorial or even some example code I can in developing this? 有人可以指出我的教程或一些示例代码吗?

I've already read a few sites including this (http://www.inmotionhosting.com/support/website/joomla-25/plugin-vs-module-vs-component). 我已经阅读了一些网站,其中包括该网站(http://www.inmotionhosting.com/support/website/joomla-25/plugin-vs-module-vs-component)。

If you want to create page in administrator panel with tables, that display some items, you should develop joomla component. 如果要在管理员面板中使用表创建显示某些项目的页面,则应开发joomla组件。 Look for this: http://docs.joomla.org/Developing_a_Model-View-Controller_(MVC)_Component_for_Joomla!2.5 寻找这个: http : //docs.joomla.org/Developing_a_Model-View-Controller_(MVC)_Component_for_Joomla!2.5

Note, that only components can provide extended administrator interface for managing some entries, create pages on font-end. 请注意,只有组件可以提供扩展的管理员界面来管理某些条目,在字体末端创建页面。 Plugins intended only for processing output of components and modules. 仅用于处理组件和模块输出的插件。 And modules intended only for display some html on specific positions in front-end template. 而仅用于在前端模板中特定位置上显示一些html的模块。

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

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