fabarea / rss_display

TYPO3 CMS extension for fetching a RSS / Atom Feed and display its content on the Frontend
Other
12 stars 25 forks source link

3.0.1 dont work in 6.2.14 #9

Open ingeniumdesign opened 8 years ago

ingeniumdesign commented 8 years ago

Hi, the new Ver. 3.0.1 dont work in the T3 Ver 6.2.14 A white FE and BE page!

plz fix the bug. Thanks!

fabarea commented 8 years ago

more info?

ingeniumdesign commented 8 years ago

i don't know :(

artus70 commented 8 years ago

For me, it works in general (at least no white screen) with 6.2.19 - but with issues:

maryisdead commented 8 years ago

3.0.1 works fine for me in 6.2.12.

In the backend flexform the Template always shows "Standard", regardless what's actually set; and changing the setting is NOT saved to the database

Confirmed, though the settings is stored to the database correctly. It just doesn't get properly restored for the select box. I made a pull request that fixes that.

In the backend flexform an additional self-defined template does not appear

Works fine for me. How is your TypoScript setup looking? Mine is:

plugin.tx_rssdisplay {
    settings {
        templates {
            shopware_products {
                label = Shopware-Produkte
                path = fileadmin/templates/ext/rss_display/ShopwareProducts.html
            }
        }
    }
}

In the frontend I get an "Oops" error: Could not analyse class:Tx_RssDisplay_ViewHelpers_Item_DateViewHelper maybe not loaded or no autoloader? when adding this to the Fluid template: feed:item.date/ This does work in 7.6.x!

There is no such view helper defined in rss_display. I can't see how this should work in 7.6.x.

it seems to me that if I change the template path, this is not recognized. It always uses the templates inside the EXT: directory

Can you show some TypoScript?

artus70 commented 8 years ago

In the backend flexform the Template always shows "Standard", regardless what's actually set; and changing the setting is NOT saved to the database

Confirmed, though the settings is stored to the database correctly. It just doesn't get properly restored for the select box. I made a pull request that fixes that.

I tried to manually apply your patch on my 7.6.6 test system, but this throughs a php exception when trying to edit the content element in the backend:

27 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "substr() expects parameter 1 to be string, array given", "/wwwdir/htdocs/typo3_src-7.6.6/typo3/sysext/core/Classes/Utility/GeneralUtility.php", 2250, array)
26 substr(array, 0, 200)

In the backend flexform an additional self-defined template does not appear

Works fine for me.

Hmm, does work now, too (wondering ...). My own template is shown and selectable.

There is no such view helper defined in rss_display. I can't see how this should work in 7.6.x.

Ah, I had to change the tag in the fluid template to <feed:item.get value="date"/> now it works.

Thx for hint and help!

maryisdead commented 8 years ago

Hey @artus70, thanks for the feedback. Glad you got the latter part working. And the error seems specific to TYPO3 7, see #12 for more. I'll see if I can take care of that this weekend.

Mabahe commented 7 years ago

See a 6.2 compatible branch here in my fork https://github.com/Mabahe/rss_display/commits/3-0