Verity Plugin

3 views
Skip to first unread message

Veloz

unread,
Jan 29, 2009, 7:28:34 PM1/29/09
to farcry-dev
I'm testing the 5.1 codebase out of the SVN, and attempting to run
through the 4.0 developers guide so I get a thorough understanding
before I embark on building an intranet site using FC.

So far, I've been able to muddle through and extrapolate what I needed
to get the "Solar Safaris" website up and running, but I've run into
some problems with the Verity Search portion. So far, I have:

- the plugin installed, collections built, and search verified working
using the test search in the admin webtop

- copied the webskins and dmInclude to my project/webskin directory

- edited the /utilities/search/search include object to:
1. use "standard include" for Layout (built per the 4.0 dev guide -
section 6.1.2)

2. in the section marked Option 1: Content View, selected Search
Form for type, and Search Results Page for view

3. Option 2: Standard Include shows Verity Plugin Search Results
Page (telling it apart from the other _search.cfm file, per the groups
discussion referenced in the wiki). Without this, it throws a "could
not find included template" error.

- modified the header search form to use the skin:view method of
calling the search form (using the displaySearchPod webskin), and made
sure to add all 5 of the cfimport calls, just like in the webtop test
search.

So it seems as though everything is as it should be, but when I
perform a search from the header search pod, I get the search page
with no content. I see the header (with stObj.label showing Search)
and footer, and that's it. I tried using a different webskin in the
header search call, but I get all the results in the header too, which
is just plain ugly.

I've also used Firebug/ColdFire to try and help analyze whats
happening, and it looks as though it's not running the search at all,
nor calling any of the farVeritySearch templates, as the webtop test
search does. It seems to me that the search pod is not passing the
search query to the search results page, or I misconfigured, or
possibly misunderstood how it's supposed to work. Any help would be
greatly appreciated.

modius

unread,
Jan 29, 2009, 10:49:23 PM1/29/09
to farcry-dev
On Jan 30, 11:28 am, Veloz <ch...@countersinedesign.com> wrote:
> So far, I've been able to muddle through and extrapolate what I needed
> to get the "Solar Safaris" website up and running, but I've run into
> some problems with the Verity Search portion.  So far, I have:

Have you tried the FarCry 5 Jumpstart Course? This may help to better
explain how webskins work in the 5.x release. Although an old style
"Include" will work with the Verity plugin it is not how its designed
to work in 5.x and this may be part of the issue you are experiencing.

> - edited the /utilities/search/search include object to:
>   1. use "standard include" for Layout (built per the 4.0 dev guide -
> section 6.1.2)
>
>   2. in the section marked Option 1: Content View, selected Search
> Form for type, and Search Results Page for view
>
>   3. Option 2: Standard Include shows Verity Plugin Search Results
> Page (telling it apart from the other _search.cfm file, per the groups
> discussion referenced in the wiki).  Without this, it throws a "could
> not find included template" error.

Can you send through a screenshot of the editing interface for the
"Included" content you have set up in the site tree. The way you have
this set up will be key in determining what the actual problem is.

> - modified the header search form to use the skin:view method of
> calling the search form (using the displaySearchPod webskin), and made
> sure to add all 5 of the cfimport calls, just like in the webtop test
> search.

Please send through your header code.

> So it seems as though everything is as it should be, but when I
> perform a search from the header search pod, I get the search page
> with no content.  I see the header (with stObj.label showing Search)
> and footer, and that's it.  I tried using a different webskin in the
> header search call, but I get all the results in the header too, which
> is just plain ugly.

Please send through your search template code.

> I've also used Firebug/ColdFire to try and help analyze whats
> happening, and it looks as though it's not running the search at all,
> nor calling any of the farVeritySearch templates, as the webtop test
> search does. It seems to me that the search pod is not passing the
> search query to the search results page, or I misconfigured, or
> possibly misunderstood how it's supposed to work.  Any help would be
> greatly appreciated.

If you select "show rules" from the admin tray, then hide the tray
(click on the "cog with arrow" aka "pot plant" icon :) the begin/end
of individual views that are running should be highlighted in HTML
comments. This can be a great help in deciphering what is running
where.

Apologies for the lack of documentation with Verity Plugin for 5.x --
its still in beta -- works fine, just has no documentation. We're
working hard to get our internal docs externalised. It's great to
have folks like yourself letting us know where things just don;t make
any sense -- so many thanks :)

geoff
http://www.daemon.com.au/
Reply all
Reply to author
Forward
0 new messages