简体   繁体   English

Joomla PHP文件

[英]Joomla PHP file

I have a PHP file, which uses jquery and other, It uploads the image to upload folder , I want to use the same structure to my joomla 1.5 site. 我有一个PHP文件,它使用jquery和其他工具,它将图像上传到上载文件夹,我想对joomla 1.5站点使用相同的结构。 I am not sure how can I get this working in side a module . 我不确定如何在模块中使用它。 I tried taking all the file with default joomla module structure but I could not see more than the title of my joomla module . 我尝试使用默认的joomla模块结构来获取所有文件,但看不到我的joomla模块的标题。 Not sure If I am missing something . 不知道我是否想念一些东西。 Please guide me how I can take this to my site ? 请指导我如何将其带到我的网站?

img : http://i.stack.imgur.com/3yk0h.png img: http : //i.stack.imgur.com/3yk0h.png

We firstly you will need to create a basic Joomla module structure as you will see in the default Joomla module such as "Login". 首先,您将需要创建一个基本的Joomla模块结构,如默认的Joomla模块(如“登录”)中所示。 Seeing as you have only provided a screenshot of the files and folders you're using, I am limited to what I can provide you. 鉴于您仅提供了正在使用的文件和文件夹的屏幕快照,所以我只能提供有限的信息。

So the first link is this: 所以第一个链接是这样的:

http://docs.joomla.org/Creating_a_simple_module http://docs.joomla.org/Creating_a_simple_module

It shows you how to create a simple module and after that, have a search on Google for other tutorials. 它向您展示了如何创建一个简单的模块,然后,在Google上搜索其他教程。

Also, if you don't want to create you own module, you could always use a pre made one from the Joomla Extensions Directory . 另外,如果您不想创建自己的模块,则可以始终使用Joomla Extensions Directory中的预制模块。

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

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