I'm building a client site that consists primarily of a journal, and G2.
I'm trying to build a search page that includes the G2 Search Results embedded alongside search results from the journal.
I've successfully pulled the G2 data by using:
require("gallery/embed.php");
GalleryEmbed::init();
$foo = GalleryEmbed::searchScan($bar);
But I can't figure out how to apply the Template for just the G2-style search returns. I don't need to write a new script to process all that data in $foo, do I? Can I just embed that nicely formatted G2 Search Return into my Journal search page?
Thanks in advance!
Posts: 32509
you'll need a script to translate the data structure format returned by searchScan() to the data structure that joomla expects.
Posts: 21
Thanks for the tip, I'll research and see what I can find, though I'm not currently using Joomla and to be honest I'm not even sure exactly what it is, but it looks like there's lots of support for that on here.