2013-05-08, 05:37:19
Is this like what you suggest?
Code:
global $pagesArray;
if ($pagesArray) {
... use returnPageField ....
} else {
... read xml file ...
}