typo3-6.1.x

TYPO3: Can I pull from another database on the same server?

守給你的承諾、 提交于 2019-12-04 06:38:29
问题 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 } Also, constructive criticism

Is there a Fluid viewhelper to truncate an URL? If not, how do I make one?

浪尽此生 提交于 2019-12-02 09:59:05
In TYPO3's Fluid or in Fedext/vhs, is there a viewhelper that can convert http://www.stackoverflow.com/questions/ask into www.stackoverflow.com ? PS: that's the goal: <f:format.raw><f:link.external uri="{item.link}">{item.just-display-the-domain}</f:link.external></f:format.raw> EDIT (adapting the question to the answer I got): If I have to build a custom view helper, how do I proceed? I really doubt if there would be any sensible reason for adding this kind of VH into the core, de facto, writing custom VH is like a piece of cake (when you finally realize it is) so simple formatters can be

TYPO3: Can I pull from another database on the same server?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-02 07:31:47
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 } 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

In an extbase extension, how to access the persistence layer from a scheduler task?

醉酒当歌 提交于 2019-11-27 14:33:21
What sounds a bit academic in the title is actually quite straightforward: I have set up a TYPO3 6.1 extbase extension that I've equipped with a scheduler task. The task is supposed to import a CSV file and save it into the extension's database fields. But how do I tell the scheduler task to use the extension's model etc. and save the received data into the persistence layer? I've seen this answer to a similar question: Execute repository functions in scheduler task and I think it points the right way, but I think need a full example to start understanding how the dependency injection works.

In an extbase extension, how to access the persistence layer from a scheduler task?

删除回忆录丶 提交于 2019-11-26 16:48:37
问题 What sounds a bit academic in the title is actually quite straightforward: I have set up a TYPO3 6.1 extbase extension that I've equipped with a scheduler task. The task is supposed to import a CSV file and save it into the extension's database fields. But how do I tell the scheduler task to use the extension's model etc. and save the received data into the persistence layer? I've seen this answer to a similar question: Execute repository functions in scheduler task and I think it points the