TYPO3:我可以从同一台服务器上的另一个数据库中拉取吗? [英] TYPO3: Can I pull from another database on the same server?
问题描述
我有一个备用数据库(我真的想使用,而不是我移到TYPO3的表)。这充分的我想要的信息在我看来。是否可以从指定的数据库中拉取?而且,任何人都可以提供一个更新的(6.1是我的)[英语]教程将数据库信息呈现到一个页面?
I have an alternate database (the one I'd really like to use instead of the tables I moved to TYPO3). That is full of the information I want on my view. Is it possible to pull from a specified database? And, can anyone provide a newer (6.1 is what i'm on) [English] tutorial on rendering database information to a page?
page.20.subparts {
typocontent = CONTENT
typocontent {
select {
pidInList = 20
### FROM myDatabase.myTable ###
where = colpos=1
orderBy = sorting
}
此外,建设性的批评是受欢迎的,因为我仍然很确定我没有正确使用的怪物。我仍然没有得到所有的后端选项卡和菜单。到目前为止,我刚刚编辑模板设置,使事情做我想让他们做的,从我所看到的,是非常错误的。但我通常不设计这样的网站(CMS与后端)。我习惯于直接目录/文件创建和代码编辑。这是我第一次尝试不使用PHP / C#来获取我需要的信息并将其发送到视图。
Also, constructive criticism is welcome as I'm still pretty sure I'm not using the monster correctly at all. I still don't get all the backend tabs and menus. So far I've just been editing the template settings to make things "do what I want them to do", which from what I have seen, is very wrong. But I don't normally design sites like this (CMS with Backend). I'm used to just straight directory/file creation and code editing. This is my first venture into not using PHP/C# to get the info I need and send it to a view.
推荐答案
将需要安装系统扩展 dbal
。它附带一本手册:
http://docs.typo3.org/ typo3cms / extensions / dbal / latest /
You will need to install the system extension dbal
. It comes with a manual:
http://docs.typo3.org/typo3cms/extensions/dbal/latest/
这将允许您在主数据库之外使用不同的数据库。
This will allow you to use a different database additionally to the main database.
这篇关于TYPO3:我可以从同一台服务器上的另一个数据库中拉取吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!