[TYPO3-project-seminars] Alter the extension's output

Frederik Fischbach freak.fred at gmail.com
Wed Sep 26 14:40:49 CEST 2007


Hi Oliver,

Oliver Klee schrieb:
 > Could you describe a use case where the users benefit from having an
 > interim page instead of getting to the details view directly from the
 > list view?

on <http://www.hfacademy.de/>, there they use that kind of interim page. 
The user has the possibility to register for the seminar or to get more 
information ("more...").
This procedure makes sense in some way: To inform yourself about the 
topics you go to the topic view (the list aside the detailed view) and 
to inform yourself about upcoming events, which you probably want to 
attend, you go to the seminar list. Moreover you have ONE detail view 
instead of two different ones.

 > It currently is practically not supported to have a list view and a
 > details view on the same page. (That's because for details views, the
 > UID of the event to show is provided as a GET parameter which affects
 > the whole page.)

That shouldn't be too difficult:
in class.tx_seminars_p1.php alter line 241 from
	$result = $this->createSingleView();
to
	$result = $this->createListView();
	$result .= $this->createSingleView();

wrap the list and the single view with div and float them with css and 
you have that menu (an if($this->getConfValueBoolean('combinedView', 
's_template_special')) would make sense... - yeah that's very 
basic/rudimentary, I know...)

The major problem is: In the case of the combined view you actually have 
two different list views (the menu and the upcoming dates), so you have 
to differentiate the lists in the template (as long as you don't want a 
table as a menu). That's a bit more difficult to implement...

But my point is, that I think that a combined view (topic list and 
detailed view) provides a better overview for the user (except you have 
many diverse topics). If that topic-menu could be created dynamically by 
the seminar-manager, that would be great!

> Yet, a Seminar Manager plugin can be configured to show a fixed event
> record (e.g. a topic) so that list views on that page are not affected.
> That's what is used at
> <http://www.trainer-akademie.com/index.php?id=1114> to show the next
> date for a topic.

I'll stick to this but I couldn't manage it to configure the plugin in 
that way. Can you give me a hint, please?

Thanks and regards,

Fred


More information about the TYPO3-project-seminars mailing list