Question

I have a Joomla Template that I am designing, but to help with the overall appeal/gui I would like to preload post/pages/blogs created and have them dynamically load on the front page. Is this possible with Joomla? It works for pages that I have already created, but what about if the site has pages that are created. Essentially allowing the front end to load a random page from a dynamically created list. Is there a way to get a list of all pages/posts dynamically from joomla and have javascript/jquery preload this pages and or only load those pages on the main site.

Simplified Request. A One page Website that functions as a multi page interface. So the user has a set control interface option that will allow them to load pages without actually refreshing/loading each page each time.

Wondering if any Stack Overflow users have set up anything like this before and can provide some insight on how they accomplished this. I understand how to pre load with pre pages, but the goal is to dynamically load them based on new pages created.

Was it helpful?

Solution

From what I know it would take quite a bit of overriding to get it to work, as joomla does not work "ajaxified" by default. I would look in the joomla extensions directory to see if there is anything like this already done. a template can possibly do this by default (I have seen something similar in wordpress)

http://extensions.joomla.org/search?q=ajax

There is a number of plugins that add ajax functionality, though how closely they match what your goal is can be another matter.

To code this in yourself, you would need knowledge in jQuery/JavaScript and create the template to override links into calling pages though ajax and overriding joomla's functionality to stop it from including headers/footers in all extra pages (just the html you need).

Going further in depth would take quite some time. I recommend looking for a plugin that might do this by default, this way you won't have to spend so much time changing how joomla loads pages.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top