Lets say somebody uploads a .swf file or a .jpg file. What I am trying to figure out using phx is to detect what file type it is then display different content according to the file type.
-
☆ A M B ☆
- 24,524 Posts
I believe you could arrange this by creating your own custom modifier
http://wiki.modxcms.com/index.php/PHx#Creating_a_custom_modifier