Simple layout with text and gallery
Hi,
I'm a Fuelcms newbie and I have a couple of questions:
- It is possible to create a layout with a text and a few images related. ¿Would have to create a model?
- It's possible to create a "model page" from the admin page menu ?
Comments
http://www.getfuelcms.com/blog/2010/12/19/learning-fuel-cms-part-3-creating-modules
To create a model, you must first set it up in the code. Then you can use the admin to add/edit the data.
It's possible to determinate the gallery to show thru a layout variable?
$gallery = fuel_model('galleries', array('where' => array('gallery_name' => uri_segment(3));