Feature #12404
Add extensibility for plugin commands
| Status: | Resolved | Start date: | 2011-01-20 | |
|---|---|---|---|---|
| Priority: | Could have | Due date: | ||
| Assignee: | Ingo Renner | % Done: | 100% |
|
| Category: | Frontend Plugins | |||
| Target version: | 1.6-dkd | |||
| TYPO3 Version: | Has patch: | |||
| PHP Version: | Tags: | |||
| Votes: | 0 |
Description
I had the need to add some new elements into the results template.
Our setting is a search page which provides results from two SOLR cores and other sources.
On this page we only present the first results of each search.
- the first to add a link to the full result page
- the second to display the total number of results alone.
And for some other features, I have other things to add.
It would be great if the tx_solr_CommandResolver was able to resolve commands provided by other extentions, or to cascade it with external implementations.
And in order for this to be usefull, a way to add new commands to the plugins generated command lists.
Here an XCLASSing can really be bothersome and some hooks would be great.
I am writing some codes to illustrate this.
History
Updated by Pierrick Caillon over 2 years ago
I havee seen that in the latest 1.6-dkd, there is a way to declare new commands when there are results (through plugin.tx_solr.searchResultsViewComponents). But the commands must be put in the solr/pi_results/ folder.
Updated by Ingo Renner over 2 years ago
Pierrick Caillon wrote:
plugin.tx_solr.searchResultsViewComponents
yeah, don't rely on that though. I want to remove that as it's a little confusing... Maybe I can find some time before 1.6 for that.
Updated by Ingo Renner over 2 years ago
- Category set to Frontend Plugins
- Target version set to 1.6-dkd
Updated by Ingo Renner over 2 years ago
- Subject changed from Add extensibility for plugins' commands to Add extensibility for plugin commands
Updated by Ingo Renner over 2 years ago
- Assignee set to Ingo Renner
Updated by Ingo Renner over 2 years ago
- Status changed from New to Accepted
Updated by Ingo Renner over 2 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Updated by Pierrick Caillon over 2 years ago
It works well despite the #13166 bug.