Wishlist 0 ¥0.00

Joomla Tables/assets

Usage

  • Since:

This table is a nested table used to store Access levels of your Joomla! core articles.

Description

contents Table (#__assets)
Field Type Nullable Default Key Extra Comments
id integer unsigned NOT NULL   PK auto_increment  
parent_id integer (11) NOT NULL 0 FK   Nested set parent
lft integer (11) NOT NULL 0     Nested set lft.
rgt integer (11) NOT NULL 0     Nested set rgt.
level integer unsigned (10) NOT NULL       The cached level in the nested tree.
name varchar(50) NOT NULL       The unique name for the asset.
title varchar(100) NOT NULL       The descriptive title for the asset.
rules varchar(5120) NOT NULL       JSON encoded access control.

Notes

Indices
Index Name Column(s) Unique?
idx_asset_name name Yes
idx_lft_rgt lft, rgt No
idx_parent_id parent_id No
  • Default character set: utf8

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.

Joomla - 架构

Joomla是一个模型 - 视图 - 控制器Web应用程序.在本章中,我们将讨论Joomla的架构风格.下图显示了Joomla的架构.

joomla Architecture

Joomla的架构包含以下图层;

  • 数据库

  • Joomla Framework

  • 组件

  • 模块

  • 插件

  • 模板

  • Web服务器

数据库 : 数据库是数据的集合,可以以特定方式进行存储,操作和组织.数据库存储用户信息,内容和站点的更多所需数据.它用于存储管理Joomla站点的管理信息.使用Joomla数据库层,它确保了扩展的最大灵活性和兼容性.

Joomla Framework :  Framework是一个开源软件的集合,其中构建了Joomla CMS.它的开发具有更大的灵活性,并将框架分解为单个模块化软件包,这有助于每个软件包更容易开发.

组件 : 组件被视为迷你应用程序.它由两部分组成,即管理员站点.每当加载页面时,都会调用组件来呈现主页的主体.管理员部分管理组件的不同方面,站点部分有助于在站点访问者提出请求时呈现页面.组件是Joomla的主要功能单元.

模块 :  Modules是一个扩展,用于在Joomla中呈现页面.它还用于显示组件中的新数据.它经常看起来像登录模块之类的盒子.在Joomla管理员中,模块由模块管理器管理.当模块链接到Joomla组件时,它会显示新内容和图像.

插件 : 这也是一种Joomla扩展,它非常灵活,功能强大,可以扩展框架.它包含一些用于执行特定事件触发器的代码.它通常用于在构建页面时格式化组件或模块的输出.与事件关联的插件函数在特定事件发生时按顺序执行.

模板 : 模板决定了Joomla网站的外观.使用两种类型的模板,即前端后端.后端模板用于由管理员控制功能,因为前端模板是向用户呈现网站的一种方式.模板易于构建或自定义您的网站.它为您的网站提供了最大的灵活性.

网络浏览器 : 它是用户交互的服务器.它将网页传递给客户端. HTTP(超文本传输协议)用于在客户端和服务器之间进行通信.

REFERENCES command denied to user 错误解决

1.使用super账号 登录数据库

mysql -h180.76.xx.xx  -urdsroot -pxxxxxxxx

2.赋予某账户相应权限

grant REFERENCES on xxx.* to xxx

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.