I have several media sites.
1:
mydomain.de/content/{$id}
2:
mydomain.de/content/special/{$id}
..
All of them use a callback function like public static function getMyData1($mediaKey, array $site) ..
When I post a string like "mydomain.de/content/special/{$id}" callback 1 is executed because the system recognizes mydomain.de/content.
Now I'm looking for a solution where all posted URLs with "special" in it use callback function 2. My first idea was to add a kind of execution order to media pages. Is his possible? Or is there any other possibility to handle my media pages in example 1 + 2?
1:
mydomain.de/content/{$id}
2:
mydomain.de/content/special/{$id}
..
All of them use a callback function like public static function getMyData1($mediaKey, array $site) ..
When I post a string like "mydomain.de/content/special/{$id}" callback 1 is executed because the system recognizes mydomain.de/content.
Now I'm looking for a solution where all posted URLs with "special" in it use callback function 2. My first idea was to add a kind of execution order to media pages. Is his possible? Or is there any other possibility to handle my media pages in example 1 + 2?