contao/test — Issue #155: Choose output template for all modules
Author: importer
Created: 2011-11-28 16:18:21+00:00
State: open
Labels: Feature, framework

I love that I can edit the templates from within TYPOlight, but I want to use one of the templates for the output of one module, not every instance of the same module.

Example: I am using the random image module, but instead of it inserting the image with an "img" tag, I want it to make the image the background of a div. That means I am editing the template. But I don't want this to be the output of every Random Image module.

That got me thinking that it would be awesome if a user could choose the output template for every module. Each module would have it's own prefix: "mod_randimg+CustomTitle_.tpl" and any template with that prefix (mod_randimg) would show up in the list to choose from.

This would make it so that people could dramatically extend and develop their own modules based on existing ones by simply editing the output template. Then these templates could be shared in the community.

[Download the attachments](http://www.contao.org/tl_files/tickets/155.zip "Download the attachments of this ticket")

--- _Originally created by Logan on October 1st, 2008, at 08:12pm (ID 155)_