Advanced modules - create with preselected values
I know it's basically not possible to have a link that allows to create an entry using the standard Fuel 'module' controller (ie module/model/create) with some pre-selected values, but I need to find out how to deal with this and I'm wondering if someone could help out figuring out the least-hacky way to achieve this.
The whole thing is that i want to add a 'Add new item that belongs to a parent' kind of link - (say a song to an album) without having the user to select this from the dropdown of all albums in the create form... Any clue?
Comments
as long as you post field => value to a model's 'create' method these will be pre-selected in the form!! i love Fuel!!!
https://github.com/daylightstudio/FUEL-CMS/tree/1.0