Welcome Guest, Not a member yet? Register   Sign In
Navigation with links from db. How?
#6

[eluser]Chris Newton[/eluser]
That assumes you're already using the layout library, which isn't part of the default install: http://codeigniter.com/wiki/layout_library/


You could also write out the navigation to a view file when the links table is updated. Long-term caching. Basically you pull the navigation from a file, rather than the database. If you're making changes to the 'links' table through an admin interface, that admin application could also write out a new view_navigation.php file at the same time the database is being updated.


Messages In This Thread
Navigation with links from db. How? - by El Forum - 04-15-2008, 05:06 AM
Navigation with links from db. How? - by El Forum - 04-17-2008, 01:11 AM
Navigation with links from db. How? - by El Forum - 04-17-2008, 01:23 AM
Navigation with links from db. How? - by El Forum - 04-17-2008, 02:23 AM
Navigation with links from db. How? - by El Forum - 04-17-2008, 01:56 PM
Navigation with links from db. How? - by El Forum - 04-21-2008, 08:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB