Wishlist 0 ¥0.00

Joomla 2.5 插件信息存储在哪里?

Joomla 2.5 已于 2014 年 12 月 31 日结束生命周期。 请注意,这可能会给您的网站带来安全风险。 查看有关生命终结的更多信息 在此处

 

至此,我们已经 创建了一个基本的 Joomla 2.5 插件 添加了一个自定义参数 。 为了提供一个完整的教程系列,在我们回到扩展插件之前,我们想向您展示这个插件的信息是如何存储的。

插件数据/参数存储在您的 Joomla 2.5 数据库中。 使用 phpMyAdmin 等 MySQL 客户端,您可以轻松找到插件数据的存储位置和方式。

 

插件数据写入数据库的哪个位置?

数据库插件

 

插件数据存储在 _extensions 表中。 例如,如果您的 Joomla 2.5 数据库前缀是 jjdu43,则插件数据将在 jjdu43_extensions 表中。 右边是我们在数据库中的 Hello World 插件的截图:

 

插件参数信息保存在哪些字段中?

大多数信息在字段中很容易识别。 例如:

名称/元素 这是插件的名称
文件夹 由于这是一个内容插件,它位于内容文件夹中。
启用 这控制是否启用插件。
manifest_cache 这包含在插件的 xml 文件中找到的大部分信息,例如谁编写了插件和作者的联系信息。
参数 您创建的任何自定义参数都将存储在 params 字段中。

 

原文:

Joomla 2.5 has reached its end of life as for 12/31/2014. Please be advised this may be a security risk to your website. You can view more information about the end of life here.

 

Up to this point, we’ve created a basic Joomla 2.5 plugin and added a custom parameter to it. In our effort to provide a thorough tutorial series, before we get back to expanding the plugin, we would like to show you how this plugin’s information is stored.

Plugin data / parameters are stored in your Joomla 2.5 database. Using a MySQL client such as phpMyAdmin, you can easily find where and how plugin data is stored.

 

Where in the database is plugin data written?

plugin-in-database

 

Plugin data is stored in the _extensions table. If your Joomla 2.5 database prefix is jjdu43 for example, the plugin data will be in the jjdu43_extensions table. To the right is a screenshot of our Hello World plugin in the database:

 

In what fields is the plugin parameter info saved to?

Most of the information is easy to identify within the fields. For example:

name / element This is the name of the plugin
folder As this is a content plugin, it is in the content folder.
enabled This controls whether or not the plugin is enabled.
manifest_cache This holds much of the information that was found in the plugin’s xml file, such as who wrote the plugin and the author’s contact information.
params Any custom parameters that you create will be stored in the params field.

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.