The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Get a field from all pages - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Get a field from all pages (/showthread.php?tid=4526) |
Get a field from all pages - INFinity - 2013-03-25 Hi guys, hope this is not a repeated questions, but I tried searching here and googling, but couldn't find the answer. What I'm currently trying to do - just briefly - is an affialite shop where I get data from suppliers' xml file and parse those into pages. I am going to use a special field (via special fields plugin) which will store the URL to the image of the product... What I would like to do next is pull this field from all pages in my GetSimple and put that to a list...is that possible? Basically I just want to have a page with a lot of product thumbnails leading to a getsimple page with description and bigger picture... Thanks in advance for any help! RE: Get a field from all pages - shawn_a - 2013-03-25 I do not know how that plugin works but page fields are auto cached into a global pagesArray. Read the wiki on page cache RE: Get a field from all pages - INFinity - 2013-03-25 First of all, thank you for pointing me into the right direction (hopefully) I believe/hope the plugin just adds another field to pages should this work? Code: function listPages(){ I am writing from a mobile device so I can't test it...but in your opinion (or anyone else's for that matter) would this code work the way I think it should? Thanks again! |