sitemap & custom module url listing
I was about to add custom module lookups to sitemap.xml (as I have in the past) when I noticed it was already showing some data from a module. I've worked out this is because the pages class uses the options_list method, and retrieves preview path urls. However, I have a 100 rows of (test) data in the module, and only a few urls are being displayed.
Secondly, another custom module with a preview path defined, just as the module above, in MY_fuel_modules, hasn't got any urls being shown, but has the same quantity of test data.
So for each case, why is this so?
I'm pretty impressed it does anything with custom modules at all, but I'd like it to work as fully as possible!
Comments
$module = $this->fuel->modules->get('news'); echo '<pre>'; print_r($module->pages()); echo '</pre>'; exit();
I suspect that shouldn't be the case...