@VeCrea
The Fly works only on item layouts.
Because a fly is filled up with the values of an item (a row).
So all you have to do is to create this fly on another layout.
Then, you will have to code a little bit :
- First, you must know wich item you choose to show
- Then, you have to call the layout directly from the collection layout.
I do not have time now to explain you all the basis if you are not developper.
It is not difficult but before, you must understand how the templates files (tmpl/) are called through the view class.
in the displayXxxx() function of the collection view, paste almost all the source coming from the other displayXxxx() of your other layout (item).
But carefull what you keep and what you no not copy. You must understand what you are doing.
Then, move and change the name of your brick file (tmpl/xxxx_fly.php) :
- Change the xxxx for 'default' (the default collection layout)
- Move this file to the collection view directory (instead of item view directory where it is now)
Remove the temporary created item layout (with the fly only) :
- displayXxx() function
- tmpl/
- ...etc
I know it is not very clear this time, but I am in hurry.