On Dienstag, 20. Januar 2009, Brendan Crosser-McGay wrote: > Using the latest copy, I'm having problems performing a special ask, it > looks as though the getResultHTML function doesn't exist anymore (was a 1.2 > function) and has been replaced with a do-it-all function getResult. So > the result needs to be changed to > > $result = $printer->getResult($res, $params, SMW_OUTPUT_WIKI); (or > whatever the output should be, in this case I just thought it appropriate > to use SMW_OUTPUT_WIKI :) > Hope that helps,
Thanks, changed in SVN (the problem only occurs if you use <ask> or URLs based
on "further results" links based on <ask>. It is recommended to switch to
{{#ask: ...}} syntax where possible.
-- Markus
> -Brendan
--
Markus Krötzsch
Semantic MediaWiki http://semantic-mediawiki.org
http://korrekt.org [email protected]
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________ Semediawiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
