Conversation:
Notices
-
@manuel @hannes2peer That thing about $action is that everything else than Qvitter uses the Action class (extended from HTMLOutputter) to output stuff to the user.
I should have a look at making it easier for Qvitter to import the proper "head scripts" and other elements that should go to <head/>.
-
@hannes2peer Yeah, you don't want most of the scripts (but if the Action is sent along, any plugins should be able to use 'instanceof' to determine whether it should inject or not). But you probably do want all of the <link> elements, since they contain important metadata like RSS feeds for things that !qvitter hasn't added yet - and it shouldn't require double the wor…
-
...touché. But they would be added with a Stylesheets event, scripts should be added with a Scripts event and whatever extra head elements (I think the Action class function is even called extraHead) would make use of a separate event.
Events are cheap to perform, so I don't mind adding a pretty diverse set of them.