Skip to content
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

Open
klodeckl opened this issue May 8, 2012 · 9 comments
Open

Integrate Pagebrowser for episodes #3

klodeckl opened this issue May 8, 2012 · 9 comments
Assignees

Comments

@klodeckl
Copy link
Collaborator

klodeckl commented May 8, 2012

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

@ghost ghost assigned noelboss Jun 8, 2012
@newsdesigner
Copy link

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.

@klodeckl
Copy link
Collaborator Author

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.

@noelboss
Copy link
Owner

@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...

@klodeckl
Copy link
Collaborator Author

@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.

@klodeckl
Copy link
Collaborator Author

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…

@noelboss
Copy link
Owner

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 :)

@klodeckl
Copy link
Collaborator Author

What do you mean with »travers«?
The new news extension is also based on fluid and has a page browser.
In my opinion a pagebrowser is necessary as well as a detail page for each episode if you have more than five episodes in a podcast. That’s why I still don’t use the frontend output of this extension.

@klodeckl klodeckl reopened this Apr 10, 2013
@newsdesigner
Copy link

A very good idea. What do you think about a single view? It would allow to link individual episodes from Twitter & Co.

@klodeckl
Copy link
Collaborator Author

Yes, I mean a single view (detail page). And the page browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants