如何在 joomla 中编写自定义 php 代码
我正在一个 joomla 网站上工作,但由于我是 joomla 的新手,所以我不知道如何为管理员编写数据上传表单。实际上,我想为管理员制作一个表单,通过该表单他将上传有关属性的信息,很少图片和其他一些以文本字段、组合框和单选按钮形式存在的信息。数据上传后,用户将能够通过提供一些信息(以文本字段、组合框等形式)来搜索这些属性)。我知道如何在其他自己编写的网站中执行这些操作,但不知道如何在 joomla 中执行此操作。据我所知,有很多扩展,但它们非常昂贵,这就是为什么我想自己做
I am working on a joomla website but as I am new to joomla so I dont know exactly how to write a data uploading form for an administrator.Actually I want to make a form for administrator through which he will be uploading information about properties ,few pictures and some other information in the form of textfields , comboboxes and radio buttons.Once the data uploads then user will be able to search these properties by providing some information (in the form of textfields,comboboxes etc ).I know how to do these things in other own written websites but don't know how to do it in joomla.As far as I know there are a lot of extensions but they are very costly thats why I want to do it myself
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“非常昂贵”是一个非常主观的术语。我很少看到 Joomla 附加组件的价格超过 30 英镑或 50 英镑(约 50 - 80 美元)。一些附加组件可能是这个数量的两倍 - 但它们往往是完整的应用程序,只需插入并运行完整的业务。
http://docs.joomla.org/ 特别是此页面:
http://docs.joomla.org/Component_Development
应该是你的起点。
当您刚刚开始时,您可能希望尽可能遵循 Joomla 1.7 项目。在不可能的情况下,Joomla 1.6 的内部几乎是相同的。
浏览 Joomla 附带的“核心”组件的代码 - 在 /components/ 和 /administrator/components/ 文件夹中。从 JED(Joomla 扩展目录)http://extensions.joomla.org/ 下载扩展,然后将它们分开也。
Andrew Eddie - Joomla 的前首席开发人员 - 在他的网站 http://learn.theartofjoomla 上提供视频教程,只需支付很少的订阅费。 com/
'very costly' is a very subjective term. I've rarely seen a Joomla add-on cost more than £30 or £50 (approx $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.
As you are just starting out you probably want to follow the Joomla 1.7 items where possible. Where not possible Joomla 1.6 is almost identical internally.
Browse the code of the 'core' components that ship with Joomla - within the /components/ and /administrator/components/ folders. Download extensions from the JED (Joomla Extensions Directory) http://extensions.joomla.org/ and pick those apart too.
Andrew Eddie - Joomla's former lead developer - offers video tutorials for a very minor subscription fee at his site http://learn.theartofjoomla.com/