’Build a CMS in CodeIgniter’ tutsplus - Create a contact page or a gallery page |
[eluser]JoostV[/eluser]
A flexible way to incorporate complex html elements into a CMS page is by building a shortcode library for them. Once that's ready, a client can easily add a Google map by typing something like Code: [ai:maps address=1 Infinite Loop Cupertino] There's a video tut online that shows you how to do that: codeigniter.tv/a-6/Create-a-Codeigniter-Wordpress-like-shortcode-parser. The tut's a little old and crappy, but it should get you on your way. You can create a similar shortcode for a gallery. Gallery admin handling shoudn't be too hard: * a tabel of galleries * a table of gallery images |
Welcome Guest, Not a member yet? Register Sign In |