Welcome Guest, Not a member yet? Register   Sign In
Creating a Single Page App
#1

I have a CI app that I want to apply a new template to. I want the container page to load once, pulling in the sidebar, header and footer, then each subsequent page will be loaded in the main content div using ajax. I have the template working, with the ajax loader, just need to apply it to the app.

From what I know of CI I'm sure this is possible without too much work, just looking for advice on the best way to go about it.

The objective is to minimise server requests and hide the internal URLs from the user, maintaining a clean UI.

Currently there are two views, client and admin, residing in their respective subfolders - I need to lose the client one and have just the /admin one but off the root instead of in a subfolder. This is a different question, I know, just mentioning it here in case it impacts the main request.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB