[TYPO3-english] yafi question
La Farge Douglas
doug at gcnpublishing.com
Fri Jan 29 23:55:03 CET 2010
On Jan 12, 2010, at 2:50 AM, Dmitry Dulepov wrote:
> On 2010-01-11 21:59:34 +0200, La Farge Douglas said:
>> First issue is it looks as though it isn't entirely compatible withtt_news 3.0.1
> It means that tt_news 3.x made something incompatible (like changed table structure).
right, I get that part. I've seen that this works in 2.5.2 and thus it was 3.0.1 that "broke" things with yafi. And I can live without categorizing my RSS news.
My other part of the issue I was having is this:
"The second problem I ran into is when I do an import it doesn't put the new tt_news records in the storage folder I configure. It puts them in PID 0 - the root of the website. This behaviour happens with tt_news 2.5 and 3.0.."
I did a little digging into your class.tx_yafi_ttnews_importer.php.
If I hard cord the storagePid on line 129 it sticks the articles in the proper place.
looking at tx_yafi_importer the value for importer_conf is as follows:
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<value index="vDEF">-6 months</value>
So is it possible $this->conf['storagePid'] is being populate with pages_17 instead of 17? And if so why is the storagePid value pages_17?
I can leave the value hardcoded to the pid I want and go about my work. I just pity the fool that one day will have to debug my hack.
> Dmitry Dulepov
> "Trust me, I am a doctor!" (c) Gregory House, M.D.
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
More information about the TYPO3-english