Hi I'm trying to develop my first extra in modx revo 2.2.0-pl2 and I've been following the doodles tutorial on rtfm and now I'm ready to move past the scope of that tutorial, but alas I'm kind of stuck. I was to branch out my extra to use multiple controllers and or actions.
My extra is going to work very similar to the gallery extra created by Shaun McCormick but when looking through the code for the gallery extra I see that it is using multiple actions (which I assumed would be different controllers) when switching from albums to gallery items, but I can't figure out how to do that in my own extra... I've tried just simple adding action=portfolio/update to the url and creating a controller in my portfolios (the extra I'm trying to create) directory under the file name update.class.php and update.php, but I just get an error in the browser saying "Server Error" and the error logs don't say anything useful. So I assume that I'm just missing something in the means of how to create multiple controllers or adding and referencing actions from an extra.
Thanks in advance if there are any resources that you can point me to or any advice that you could give me.
Oh and all those paths and controller names come from this in the url action=portfolio/update and the namespace being portfolios.
Hope that helps someone else somewhere out there since it took me a few days to figure out what I was doing wrong.