简体   繁体   English

如何在joomla中编写自定义php代码

[英]How to write a custom php code in joomla

我在joomla网站上工作,但是由于我是joomla的新手,所以我不知道如何为管理员编写数据上传表单。实际上,我想为管理员制作一个表单,通过该表单他可以上传有关属性的信息,很少图片和其他信息以文本框,组合框和单选按钮的形式。一旦数据上载,用户便可以通过提供一些信息(以文本框,组合框等的形式)搜索这些属性。我知道该怎么做。我知道有很多扩展,但是它们非常昂贵,这就是为什么我要自己做的事情

'very costly' is a very subjective term. “非常昂贵”是一个非常主观的术语。 I've rarely seen a Joomla add-on cost more than £30 or £50 (approx $50 - $80). 我很少看到Joomla附加组件的价格超过30英镑或50英镑(约50-80美元)。 Some add-ons are more perhaps double this - but they tend to be full apps that will just drop in and run a full business. 一些附加功能可能是它的两倍-但它们往往是完整的应用程序,它们会加入并运行完整的业务。

http://docs.joomla.org/ and in particular this page: http://docs.joomla.org/Component_Development should be your starting points. http://docs.joomla.org/特别是以下页面: http : //docs.joomla.org/Component_Development应该是您的起点。

As you are just starting out you probably want to follow the Joomla 1.7 items where possible. 当您刚开始时,您可能希望尽可能地遵循Joomla 1.7条款。 Where not possible Joomla 1.6 is almost identical internally. 在不可能的情况下,Joomla 1.6在内部几乎完全相同。

Browse the code of the 'core' components that ship with Joomla - within the /components/ and /administrator/components/ folders. 浏览Joomla随附的“核心”组件的代码-在/ components /和/ administrator / components /文件夹中。 Download extensions from the JED (Joomla Extensions Directory) http://extensions.joomla.org/ and pick those apart too. 从JED(Joomla扩展目录) http://extensions.joomla.org/下载扩展,并将它们分开。

Andrew Eddie - Joomla's former lead developer - offers video tutorials for a very minor subscription fee at his site http://learn.theartofjoomla.com/ Joomla的前首席开发人员Andrew Eddie在其网站http://learn.theartofjoomla.com/上提供了非常少量的订阅费用的视频教程

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

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