GetSimple Support Forum
what's the right way to get the list of pages - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8)
+--- Thread: what's the right way to get the list of pages (/showthread.php?tid=4287)



what's the right way to get the list of pages - ale - 2013-02-11

after my bug report https://github.com/GetSimpleCMS/GetSimpleCMS/issues/515 (asking for getPagesXmlValues() to return a value and not just populate a global) has been closed as invalid, i'm wondering what is the right way to get the list of pages.

admin/pages.php uses the $pagesArray populated by getPagesXmlValues()... what should i use?


RE: what's the right way to get the list of pages - shawn_a - 2013-02-12

The $pagesArray should be global, it is the global page cache, and contains everything but content fields.