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

Oliver Klee typo3-german-02 at oliverklee.de
Sun Oct 7 14:24:47 CEST 2007


Hi Fred,

Frederik Fischbach schrieb:
> 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.

I'm not sure I quite understand you here.

Anyway, you can have a list of topics. This is a special flavor of the
list view, selectable in the "what to display" drop-down in the plugin.

In addition, the single view provides two embedded list views that can
be hidden/shown using the hideFields TS Setup variable:

- a list of dates for a topic/a list of other dates for the same topic
as the current date
- a list of events that start directly after the current event date

>> 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();

Well, that's not that easy to do. This will break the config check and
remove the data of the current event for the single view. (We had to
deal with these problems for the embedded list views.)

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

Yes ... the menu on hfacademy is a plain TYPO3 menu, nothing automatic
from the extension.

> 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!

If you would like to help (which would be great), please open a bug
report/feature request at <https://bugs.oliverklee.com/>. We then can
discuss details there.

>> 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?

In the plugin flexforms, second tab (templates etc.): Event to show in
the details view

Regards



Oliver


More information about the TYPO3-project-seminars mailing list