CodeIgniter Forums
Compose dynamic page with different views - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Compose dynamic page with different views (/thread-31513.html)



Compose dynamic page with different views - El Forum - 06-22-2010

[eluser]Unknown[/eluser]
Hi All,

Example:
I have index.php which contains 3 views such as #header, #content and #footer. #content view contains more nested views #menu, #rss, #articles, #news.

When i open the page i see all mentioned views. When i click on a link, for example some of the article, i should see following page:
#header
#content
#menu
#rss
#news
#full_article
#footer

So i want somehow dynamically compose returned page. What are the best practices for that?