How to creating a Component of Joomla
来源:互联网 发布:淘宝店铺添加背景音乐 编辑:程序博客网 时间:2024/04/30 06:10
For our basic component, we only require five files:
- site/hello.php - this is the entry point to our component
- site/controller.php - this file contains our base controller
- site/views/hello/view.html.php - this file retrieves the necessary data and pushes it into the template
- site/views/hello/tmpl/default.php - this is the template for our output
- hello.xml - this is an XML (manifest) file that tells Joomla! how to install our component.
Remember that the filename for the entry point must have the same name of the component. For example, if you call your component "Very Intricate Name Component", at install time (see below in the hello.xml section) Joomla! will create the folder com_veryintricatenamecomponent and the entry point php file must be named veryintricatenamecomponent.php otherwise it will not work. Be aware that use of some special characters, notibly the underscore '_', may have special meaning in Joomla and should be avoided in component names or files.
The site directory here is for the parts of the component which are installed in the front end site.
- How to creating a Component of Joomla
- How to set background image of a component in GWTEXT
- How to Write a Custom Swing Component
- How to create a new component
- How to delete a Enhancement SET of standard component in CRM
- Creating a Component to Help You Collect Addresses @ JDJ
- How to use a TControlCanvas in a component
- How to make a QML Component a Singleton?
- How to build a binary XPCOM component using Visual Studio
- How to create a Java component with Eclipse
- Creating a hand cursor over a component
- Creating a hand cursor over a component
- How to be a friend of yourself
- How to: Encrypt a Column of Data
- How to get information of .a/.so
- How to GET a Cup of Coffee
- How to remove background of a picture?
- How to set a breakpoint on a property within a third-party managed component?
- linux环境变量配置
- hadoop编译源代码报错:package-info.java: 未结束的字符串字面值
- 友善之臂 mini2440 root_qtopia 文件系统启动过程分析
- 5.2例题--细菌繁殖--2712
- 使用Javascript控制某个Div是否显示
- How to creating a Component of Joomla
- 后台执行UNIX/Linux命令和脚本的五种方法
- 一款基于云存储的笔记软件
- 本人从事计算机管理工作第一年的述职报告@2009
- Struts2 类型转换器
- 字符,字节和编码
- TAOCP-2.2.1 Stacks, queues, and deques-exercise 2.
- WIN2003下安装php5.3+IIS6+fastcgi教程
- 对VC++一些常见问题的整理