I'm using this plugin to add search to a client site. It successfully searches CMS Pages, Aldryn Blog Posts, and my custom Location "pages". The Blog output looks great - links to the blog post and shows the Lead In.
However, with CMS Pages, the {{ result.object.get_absolute_url }} as noted in the Haystack documentation, doesn't produce any value, when trying to link to the page. Also how can we get a description for the page? I assume it pulls the Meta Description on the page? I try using {{ result.object.body }} like in the documentation but it's nothing.
I'm using this plugin to add search to a client site. It successfully searches CMS Pages, Aldryn Blog Posts, and my custom Location "pages". The Blog output looks great - links to the blog post and shows the Lead In.
However, with CMS Pages, the
{{ result.object.get_absolute_url }}
as noted in the Haystack documentation, doesn't produce any value, when trying to link to the page. Also how can we get a description for the page? I assume it pulls the Meta Description on the page? I try using{{ result.object.body }}
like in the documentation but it's nothing.