如何在joomla中显示数据库数据

时间:2022-08-16 19:30:04

I am new to joomlah . So far I have acomplished the following :
1. I have installed it on wamp server.
2. I have created a fewe articles.
3. I have created another schema on the database that comes with a wamp.

我是乔姆拉的新手。到目前为止,我已经完成了以下任务:1。我已经安装在wamp服务器上了。2。我创建了一个fewe文章。3所示。我在带有wamp的数据库上创建了另一个模式。

Now, I need to do two things and I wonder what is the best practice
1. Create a template article that will display data in a format
2. Load the data from the DB.

现在,我需要做两件事,我想知道最好的做法是什么。创建一个模板文章,以格式2显示数据。从DB加载数据。

Since a lot of the answers to this question refer to older versions or 2009 answers I wonder what is the reccomended way to do it today.
(Should I do it with PHP? is there a recommended pluggin? )
Thanks

由于这个问题的许多答案都是旧版本或2009年的答案,所以我想知道现在的解决方法是什么。(我应该用PHP吗?)有推荐的插入素吗?)谢谢

2 个解决方案

#1


2  

You have 2 choices either:

你也有两个选择:

  1. Using this tutorial create a custom component (components are the extension type responsible for displaying content in Joomla's main area)

    使用本教程创建一个自定义组件(组件是扩展类型,负责在Joomla的主区域中显示内容)

  2. Look through the Joomla! Extension Directory (JED) for an existing solution - probably start with the "Tables & Lists" category.

    浏览Joomla !现有解决方案的扩展目录——可能从“表和列表”类别开始。

#2


1  

I have used Table JX extension for a few years now. It is commercial, though but I think it is worth its money. It has a pretty simple user interface and you can do the basic stuff like to show a database table in an article just by clicking.

我使用表JX扩展已经有几年了。虽然是商业性的,但我认为它是物有所值的。它有一个非常简单的用户界面,您可以通过单击在文章中显示数据库表之类的基本操作。

Their webpage is not the best, but the demo is quite informative: http://www.toolsjx.com/table-jx/demo

他们的网页不是最好的,但是演示内容非常丰富:http://www.toolsjx.com/table-jx/demo

#1


2  

You have 2 choices either:

你也有两个选择:

  1. Using this tutorial create a custom component (components are the extension type responsible for displaying content in Joomla's main area)

    使用本教程创建一个自定义组件(组件是扩展类型,负责在Joomla的主区域中显示内容)

  2. Look through the Joomla! Extension Directory (JED) for an existing solution - probably start with the "Tables & Lists" category.

    浏览Joomla !现有解决方案的扩展目录——可能从“表和列表”类别开始。

#2


1  

I have used Table JX extension for a few years now. It is commercial, though but I think it is worth its money. It has a pretty simple user interface and you can do the basic stuff like to show a database table in an article just by clicking.

我使用表JX扩展已经有几年了。虽然是商业性的,但我认为它是物有所值的。它有一个非常简单的用户界面,您可以通过单击在文章中显示数据库表之类的基本操作。

Their webpage is not the best, but the demo is quite informative: http://www.toolsjx.com/table-jx/demo

他们的网页不是最好的,但是演示内容非常丰富:http://www.toolsjx.com/table-jx/demo