When page manager pages are rendered with their page_callback page_manager_page_execute() the results are a renderable array that is simply output as the string 'Array'. This happens because $content['content'] is another array, not a string.
For a work around, I used render($content) and it seems to work fine on views and page manager pages. I tested $content that was a string, $content that was an array with a string index of 'content', and $content that was an array with a renderable array as index 'content'.
Also when creating creating the content of the Solr document, strip_tags() leaves lots of whitespace. I replaced it with a call to apachesolr_clean_text() which is the same function that the Apachesolr module uses to clean the display of a node.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | apachesolr_nan-page-manager-pages-not-rendered-2481653-1.patch | 1.04 KB | mattsqd |
Comments
Comment #1
mattsqd commentedComment #2
mattsqd commentedComment #4
lliss commented