-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate Pagebrowser for episodes #3
Comments
A page browser in list view would be very helpful. This solution also has drawbacks. If the browser page can't be integrated, would help a list view and a view of each episode (Single/Episode View). I ask myself how the individual episodes can be linked. Maybe you have a solution? Often, the podcasters still has a blog and want to link an entry with the episode. Another possibility is an entry/message in tt_news, which is linked to the episode. The third case is a external link to an episode in which a guest can be heard. The guest link to an episode from his website. If we use a pagebrowser, the description for this episode is constantly changing the page, once we add new episodes. A link to the concret episode is not possible. I would prefer a list view with a teaser text/lead. When a user clicks on a link, he would get the full text. It would be a workable solution for podcasting with many episodes. |
I don’t think it’s a good idea to link it with tt_news. If you want to link to a special episode, you could use the extension linkhandler. In tt_news, you would have to do the same. And every single episode has one link to reach. I have done this now by using the browser extension, but I think, this should the podcast extension do if there are a lot of episodes. |
@klodeckl what did you do? Anything I can include? @newsdesigner It's a good idea to be able to link to certain episodes directly... Problem I have right now is that episodes are no entities right now with no repo... |
@noelboss I just created a list view with pagebrowser and single view with html5 player using the extension browser (http://typo3-browser.de/). Nothing to directly include in the extension. |
Are there any plans to implement this? I wanted to do so (see my first post) but till now I’m not so familiar to check it out… |
Hlleo kldeckl ;) At the moment no because the episodes are not of the correct kind to travers i think. If you have an idea how to implement I can do it when there is time :) |
What do you mean with »travers«? |
A very good idea. What do you think about a single view? It would allow to link individual episodes from Twitter & Co. |
Yes, I mean a single view (detail page). And the page browser. |
I tried to implement a pagebrowser for the episodes, but get the following error message:
Fatal error: Call to undefined method Tx_Extbase_Persistence_ObjectStorage::getQuery() in /srv/www/typo3/typo3_src-4.5.11/typo3/sysext/fluid/Classes/ViewHelpers/Widget/Controller/PaginateController.php on line 72
I tried this:
<f:widget.paginate objects="{podcast.episodes}" as="paginatedEpisodes">
<f:for each="{paginatedEpisodes}" as="episode" reverse="false">
<f:cycle values="{1: 'odd' 2: 'even'}" as="zebraClass">
<f:render partial="episode" arguments="{episode: episode, zebraClass: zebraClass}" />
</f:cycle>
</f:for>
</f:widget.paginate>
Because Tx_Extbase_Persistence_ObjectStorage is used and not Tx_Extbase_Persistence_QueryResult?
I don’t want to have huge pages because of more than just a few episodes, otherwise it is useless in my opinion. See also: http://www.typo3.net/forum/beitraege/extbase_und_fluid/110155/beitrag/seite/#pid391210
The text was updated successfully, but these errors were encountered: