[campsite-support] Advanced search form
  • There is an advanced search form script but when I test it I get the
    page only rendered until word "Section:" and after that only blank...

    I was using this:
    {{ search_form template="search.tpl" submit_button="Search" }}


    :
    {{ camp_edit object="search" attribute="keywords" html_code="id=
    \"keywords\"" }}
    {{ camp_select object="search" attribute="mode" html_code="id=
    \"match_all\"" }}


    Search in the
    id="content" checked>
    ,

    or
    id="author">


    Issue: {{ camp_select object="search" attribute="issue" }}


    Section: {{ camp_select object="search" attribute="section" }}


    Start date: {{ camp_edit object="search"
    attribute="start_date" }}


    End date: {{ camp_edit object="search" attribute="end_date" }}


    Topic:


    {{ /search_form }}

    PLUS like this (continuing from the above):





    style="cursor:pointer;cursor: hand;"
    onclick="document.location.href='{{ uri options="article" }}'"
    onmouseout="this.style.backgroundColor='#ffffff'" valign="top">

    {{ $campsite->current_list-
    >index }}. {{ $campsite->article->name }}


    {{ $campsite->article-
    >intro }}



    {{ list_search_results }}
    - - -

    IS THIS LINE CORRECT?
  • 12 Comments sorted by
  • Hi,

    if I remove line

    Section: {{ camp_select object="search" attribute="section" }}



    I get the page rendering correctly, no blank issue then.
    But I do not get any search yet functioning on it though.

    / S @ G

    On 28.7.2009, at 0.33, Generare Management Department wrote:

    > There is an advanced search form script but when I test it I get the
    > page only rendered until word "Section:" and after that only blank...
    >
    > I was using this:
    > {{ search_form template="search.tpl" submit_button="Search" }}
    >


    > :
    > {{ camp_edit object="search" attribute="keywords" html_code="id=
    > \"keywords\"" }}
    > {{ camp_select object="search" attribute="mode" html_code="id=
    > \"match_all\"" }}
    >
    >


    >

    Search in the
    > > id="content" checked>
    > ,
    >
    > or
    > > id="author">
    >
    >


    >

    Issue: {{ camp_select object="search" attribute="issue" }}


    >

    Section: {{ camp_select object="search" attribute="section" }}


    >

    Start date: {{ camp_edit object="search"
    > attribute="start_date" }}


    >

    End date: {{ camp_edit object="search" attribute="end_date" }}


    >

    Topic:
    >
    >


    > {{ /search_form }}
    >
    > PLUS like this (continuing from the above):
    >
    >
    >
    >
    >
    >
    > style="cursor:pointer;cursor: hand;"
    > onclick="document.location.href='{{ uri options="article" }}'"
    > onmouseout="this.style.backgroundColor='#ffffff'" valign="top">
    >

    {{ $campsite->current_list-
    > >index }}. {{ $campsite->article->name }}


    >

    {{ $campsite->article-
    > >intro }}


    >

    > {{ list_search_results }}
    > - - -
    >
    > IS THIS LINE CORRECT?
    >
  • That solved the blankness after Section.
    Anyhow the form doesn't really work. I looked even certain words that
    I know exists in the articles but I do not get any list of results.

    Just hoping there are no other bugs affecting on this. Of course
    usually we are thinking something with the template coding is not
    correctly, not that it would be a bug and then it leads us to explore
    wrong things as an answer. So it would be nice if somebody could look
    that our template is not opening any other bug sources. The attached
    template is a combined from the Campsite templates and manual, so I
    would change it a bit after I would get it technically working.

    /Sanna



    On 28.7.2009, at 11.08, Mugur Rus wrote:

    > There is a bug in the select statement; please copy the attached
    > file (function.camp_select.php) into the smarty_camp_plugins
    > directory inside the Campsite install directory.
    >
    > Mugur
    >
    > On Tue, Jul 28, 2009 at 10:41 AM, Generare Management Department > > wrote:
    > Hi,
    >
    > if I remove line
    >
    >

    Section: {{ camp_select object="search" attribute="section" }}


    >
    > I get the page rendering correctly, no blank issue then.
    > But I do not get any search yet functioning on it though.
    >
    > / S @ G
    >
    >
    > On 28.7.2009, at 0.33, Generare Management Department wrote:
    >
    > There is an advanced search form script but when I test it I get the
    > page only rendered until word "Section:" and after that only blank...
    >
    > I was using this:
    > {{ search_form template="search.tpl" submit_button="Search" }}
    >


    > :
    > {{ camp_edit object="search" attribute="keywords" html_code="id=
    > \"keywords\"" }}
    > {{ camp_select object="search" attribute="mode" html_code="id=
    > \"match_all\"" }}
    >
    >


    >

    Search in the
    > > id="content" checked>
    > ,
    >
    > or
    > > id="author">
    >
    >


    >

    Issue: {{ camp_select object="search" attribute="issue" }}


    >

    Section: {{ camp_select object="search" attribute="section" }}


    >

    Start date: {{ camp_edit object="search"
    > attribute="start_date" }}


    >

    End date: {{ camp_edit object="search" attribute="end_date" }}


    >

    Topic:
    >
    >


    > {{ /search_form }}
    >
    > PLUS like this (continuing from the above):
    >
    >
    >
    >
    >
    >
    > style="cursor:pointer;cursor: hand;"
    > onclick="document.location.href='{{ uri options="article" }}'"
    > onmouseout="this.style.backgroundColor='#ffffff'" valign="top">
    >

    {{ $campsite->current_list-
    > >index }}. {{ $campsite->article->name }}


    >

    {{ $campsite->article-
    > >intro }}


    >

    > {{ list_search_results }}
    > - - -
    >
    > IS THIS LINE CORRECT?
    >
  • A silly question, has the indexer run on your site?



    From: Generare Management Department

    To: campsite-support@campware.org

    Date: 07/28/2009 01:31 PM

    Subject: Re: [campsite-support] Advanced search form






    That solved the blankness after Section.
    Anyhow the form doesn't really work. I looked even certain words that I
    know exists in the articles but I do not get any list of results.

    Just hoping there are no other bugs affecting on this. Of course usually we
    are thinking something with the template coding is not correctly, not that
    it would be a bug and then it leads us to explore wrong things as an
    answer. So it would be nice if somebody could look that our template is not
    opening any other bug sources. The attached template is a combined from the
    Campsite templates and manual, so I would change it a bit after I would get
    it technically working.

    /Sanna[attachment "search-advancedform.tpl" deleted by Sava Tatic/Mdlf]


    On 28.7.2009, at 11.08, Mugur Rus wrote:

    There is a bug in the select statement; please copy the attached file
    (function.camp_select.php) into the smarty_camp_plugins directory
    inside the Campsite install directory.

    Mugur

    On Tue, Jul 28, 2009 at 10:41 AM, Generare Management Department <
    management@generare.com> wrote:
    Hi,

    if I remove line

    Section: {{ camp_select object="search"
    attribute="section" }}



    I get the page rendering correctly, no blank issue then.
    But I do not get any search yet functioning on it though.

    / S @ G


    On 28.7.2009, at 0.33, Generare Management Department wrote:

    There is an advanced search form script but when I test it I get
    the page only rendered until word "Section:" and after that only
    blank...

    I was using this:
    {{ search_form template="search.tpl" submit_button="Search" }}


    :
    {{ camp_edit object="search" attribute="keywords" html_code="id=
    \"keywords\"" }}
    {{ camp_select object="search" attribute="mode" html_code="id=
    \"match_all\"" }}


    Search in the
    id="content" checked>
    ,
    id="title">
    or
    id="author">


    Issue: {{ camp_select object="search" attribute="issue" }}


    Section: {{ camp_select object="search"
    attribute="section" }}


    Start date: {{ camp_edit object="search"
    attribute="start_date" }}


    End date: {{ camp_edit object="search"
    attribute="end_date" }}


    Topic:


    {{ /search_form }}

    PLUS like this (continuing from the above):





    style="cursor:pointer;cursor: hand;"
    onclick="document.location.href='{{ uri options="article" }}'"
    onmouseout="this.style.backgroundColor='#ffffff'" valign="top">

    {{ $campsite->current_list->
    index }}. {{ $campsite->article->name }}


    {{ $campsite->article->
    intro }}



    {{ list_search_results }}
    - - -

    IS THIS LINE CORRECT?
  • no idea. How do I know that?
    I'm testing with a local installation (in my mac) this template.

    /Sanna

    On 28.7.2009, at 17.03, sava.tatic@mdlf.org wrote:

    > A silly question, has the indexer run on your site?
    >
    >
    >
    > From: Generare Management Department
    >
    > To: campsite-support@campware.org
    >
    > Date: 07/28/2009 01:31 PM
    >
    > Subject: Re: [campsite-support] Advanced search form
    >
    >
    >
    >
    >
    >
    > That solved the blankness after Section.
    > Anyhow the form doesn't really work. I looked even certain words
    > that I
    > know exists in the articles but I do not get any list of results.
    >
    > Just hoping there are no other bugs affecting on this. Of course
    > usually we
    > are thinking something with the template coding is not correctly,
    > not that
    > it would be a bug and then it leads us to explore wrong things as an
    > answer. So it would be nice if somebody could look that our template
    > is not
    > opening any other bug sources. The attached template is a combined
    > from the
    > Campsite templates and manual, so I would change it a bit after I
    > would get
    > it technically working.
    >
    > /Sanna[attachment "search-advancedform.tpl" deleted by Sava Tatic/
    > Mdlf]
    >
    >
    > On 28.7.2009, at 11.08, Mugur Rus wrote:
    >
    > There is a bug in the select statement; please copy the
    > attached file
    > (function.camp_select.php) into the smarty_camp_plugins directory
    > inside the Campsite install directory.
    >
    > Mugur
    >
    > On Tue, Jul 28, 2009 at 10:41 AM, Generare Management
    > Department <
    > management@generare.com> wrote:
    > Hi,
    >
    > if I remove line
    >
    >

    Section: {{ camp_select object="search"
    > attribute="section" }}


    >
    > I get the page rendering correctly, no blank issue then.
    > But I do not get any search yet functioning on it though.
    >
    > / S @ G
    >
    >
    > On 28.7.2009, at 0.33, Generare Management Department wrote:
    >
    > There is an advanced search form script but when I test it I
    > get
    > the page only rendered until word "Section:" and after that
    > only
    > blank...
    >
    > I was using this:
    > {{ search_form template="search.tpl" submit_button="Search" }}
    >


    > :
    > {{ camp_edit object="search" attribute="keywords"
    > html_code="id=
    > \"keywords\"" }}
    > {{ camp_select object="search" attribute="mode"
    > html_code="id=
    > \"match_all\"" }}
    >
    >


    >

    Search in the
    > > id="content" checked>
    > ,
    > > id="title">
    > or
    > > id="author">
    >
    >


    >

    Issue: {{ camp_select object="search"
    > attribute="issue" }}


    >

    Section: {{ camp_select object="search"
    > attribute="section" }}


    >

    Start date: {{ camp_edit object="search"
    > attribute="start_date" }}


    >

    End date: {{ camp_edit object="search"
    > attribute="end_date" }}


    >

    Topic:
    >
    >


    > {{ /search_form }}
    >
    > PLUS like this (continuing from the above):
    >
    >
    >
    >
    >
    >
    > style="cursor:pointer;cursor: hand;"
    > onclick="document.location.href='{{ uri options="article" }}'"
    > onmouseout="this.style.backgroundColor='#ffffff'"
    > valign="top">
    >

    {{ $campsite->current_list->
    > index }}. {{ $campsite->article->name }}


    >

    {{ $campsite->article->
    > intro }}


    >

    > {{ list_search_results }}
    > - - -
    >
    > IS THIS LINE CORRECT?
    >
  • The indexer is normally run by cron, but you can invoke it with the
    campsite-indexer command
    ( /path_to_campsite_directory/bin/campsite-indexer).




    From: Generare Management Department

    To: campsite-support@campware.org

    Date: 07/28/2009 04:07 PM

    Subject: Re: [campsite-support] Advanced search form






    no idea. How do I know that?
    I'm testing with a local installation (in my mac) this template.

    /Sanna

    On 28.7.2009, at 17.03, sava.tatic@mdlf.org wrote:

    > A silly question, has the indexer run on your site?
    >
    >
    >
    > From: Generare Management Department
    >
    > To: campsite-support@campware.org
    >
    > Date: 07/28/2009 01:31 PM
    >
    > Subject: Re: [campsite-support] Advanced search form
    >
    >
    >
    >
    >
    >
    > That solved the blankness after Section.
    > Anyhow the form doesn't really work. I looked even certain words
    > that I
    > know exists in the articles but I do not get any list of results.
    >
    > Just hoping there are no other bugs affecting on this. Of course
    > usually we
    > are thinking something with the template coding is not correctly,
    > not that
    > it would be a bug and then it leads us to explore wrong things as an
    > answer. So it would be nice if somebody could look that our template
    > is not
    > opening any other bug sources. The attached template is a combined
    > from the
    > Campsite templates and manual, so I would change it a bit after I
    > would get
    > it technically working.
    >
    > /Sanna[attachment "search-advancedform.tpl" deleted by Sava Tatic/
    > Mdlf]
    >
    >
    > On 28.7.2009, at 11.08, Mugur Rus wrote:
    >
    > There is a bug in the select statement; please copy the
    > attached file
    > (function.camp_select.php) into the smarty_camp_plugins directory
    > inside the Campsite install directory.
    >
    > Mugur
    >
    > On Tue, Jul 28, 2009 at 10:41 AM, Generare Management
    > Department <
    > management@generare.com> wrote:
    > Hi,
    >
    > if I remove line
    >
    >

    Section: {{ camp_select object="search"
    > attribute="section" }}


    >
    > I get the page rendering correctly, no blank issue then.
    > But I do not get any search yet functioning on it though.
    >
    > / S @ G
    >
    >
    > On 28.7.2009, at 0.33, Generare Management Department wrote:
    >
    > There is an advanced search form script but when I test it I
    > get
    > the page only rendered until word "Section:" and after that
    > only
    > blank...
    >
    > I was using this:
    > {{ search_form template="search.tpl" submit_button="Search" }}
    >


    > :
    > {{ camp_edit object="search" attribute="keywords"
    > html_code="id=
    > \"keywords\"" }}
    > {{ camp_select object="search" attribute="mode"
    > html_code="id=
    > \"match_all\"" }}
    >
    >


    >

    Search in the
    > > id="content" checked>
    > ,
    > > id="title">
    > or
    > > id="author">
    >
    >


    >

    Issue: {{ camp_select object="search"
    > attribute="issue" }}


    >

    Section: {{ camp_select object="search"
    > attribute="section" }}


    >

    Start date: {{ camp_edit object="search"
    > attribute="start_date" }}


    >

    End date: {{ camp_edit object="search"
    > attribute="end_date" }}


    >

    Topic:
    >
    >


    > {{ /search_form }}
    >
    > PLUS like this (continuing from the above):
    >
    >
    >
    >
    >
    >
    > style="cursor:pointer;cursor: hand;"
    > onclick="document.location.href='{{ uri options="article" }}'"
    > onmouseout="this.style.backgroundColor='#ffffff'"
    > valign="top">
    >

    {{ $campsite->current_list->
    > index }}. {{ $campsite->article->name }}


    >

    {{ $campsite->article->
    > intro }}


    >

    > {{ list_search_results }}
    > - - -
    >
    > IS THIS LINE CORRECT?
    >
  • Should something visible happen after that? Done it and didn't see
    anything special but no search works either...


    On 28.7.2009, at 17.30, sava.tatic@mdlf.org wrote:

    > The indexer is normally run by cron, but you can invoke it with the
    > campsite-indexer command
    > ( /path_to_campsite_directory/bin/campsite-indexer).
    >
    >
    >
    >
    > From: Generare Management Department
    >
    > To: campsite-support@campware.org
    >
    > Date: 07/28/2009 04:07 PM
    >
    > Subject: Re: [campsite-support] Advanced search form
    >
    >
    >
    >
    >
    >
    > no idea. How do I know that?
    > I'm testing with a local installation (in my mac) this template.
    >
    > /Sanna
    >
    > On 28.7.2009, at 17.03, sava.tatic@mdlf.org wrote:
    >
    >> A silly question, has the indexer run on your site?
    >>
    >>
    >>
    >> From: Generare Management Department
    >>
    >> To: campsite-support@campware.org
    >>
    >> Date: 07/28/2009 01:31 PM
    >>
    >> Subject: Re: [campsite-support] Advanced search form
    >>
    >>
    >>
    >>
    >>
    >>
    >> That solved the blankness after Section.
    >> Anyhow the form doesn't really work. I looked even certain words
    >> that I
    >> know exists in the articles but I do not get any list of results.
    >>
    >> Just hoping there are no other bugs affecting on this. Of course
    >> usually we
    >> are thinking something with the template coding is not correctly,
    >> not that
    >> it would be a bug and then it leads us to explore wrong things as an
    >> answer. So it would be nice if somebody could look that our template
    >> is not
    >> opening any other bug sources. The attached template is a combined
    >> from the
    >> Campsite templates and manual, so I would change it a bit after I
    >> would get
    >> it technically working.
    >>
    >> /Sanna[attachment "search-advancedform.tpl" deleted by Sava Tatic/
    >> Mdlf]
    >>
    >>
    >> On 28.7.2009, at 11.08, Mugur Rus wrote:
    >>
    >> There is a bug in the select statement; please copy the
    >> attached file
    >> (function.camp_select.php) into the smarty_camp_plugins directory
    >> inside the Campsite install directory.
    >>
    >> Mugur
    >>
    >> On Tue, Jul 28, 2009 at 10:41 AM, Generare Management
    >> Department <
    >> management@generare.com> wrote:
    >> Hi,
    >>
    >> if I remove line
    >>
    >>

    Section: {{ camp_select object="search"
    >> attribute="section" }}


    >>
    >> I get the page rendering correctly, no blank issue then.
    >> But I do not get any search yet functioning on it though.
    >>
    >> / S @ G
    >>
    >>
    >> On 28.7.2009, at 0.33, Generare Management Department wrote:
    >>
    >> There is an advanced search form script but when I test it I
    >> get
    >> the page only rendered until word "Section:" and after that
    >> only
    >> blank...
    >>
    >> I was using this:
    >> {{ search_form template="search.tpl" submit_button="Search" }}
    >>


    >> :
    >> {{ camp_edit object="search" attribute="keywords"
    >> html_code="id=
    >> \"keywords\"" }}
    >> {{ camp_select object="search" attribute="mode"
    >> html_code="id=
    >> \"match_all\"" }}
    >>
    >>


    >>

    Search in the
    >> >> id="content" checked>
    >> ,
    >> >> id="title">
    >> or
    >> >> id="author">
    >>
    >>


    >>

    Issue: {{ camp_select object="search"
    >> attribute="issue" }}


    >>

    Section: {{ camp_select object="search"
    >> attribute="section" }}


    >>

    Start date: {{ camp_edit object="search"
    >> attribute="start_date" }}


    >>

    End date: {{ camp_edit object="search"
    >> attribute="end_date" }}


    >>

    Topic:
    >>
    >>


    >> {{ /search_form }}
    >>
    >> PLUS like this (continuing from the above):
    >>
    >>
    >>
    >>
    >>
    >>
    >> style="cursor:pointer;cursor: hand;"
    >> onclick="document.location.href='{{ uri options="article" }}'"
    >> onmouseout="this.style.backgroundColor='#ffffff'"
    >> valign="top">
    >>

    {{ $campsite->current_list->
    >> index }}. {{ $campsite->article->name }}


    >>

    {{ $campsite->article->
    >> intro }}


    >>

    >> {{ list_search_results }}
    >> - - -
    >>
    >> IS THIS LINE CORRECT?
    >>
  • Indexing takes a while, depending on the size of the db. At the end of the
    process, you should see something like: Total of articles: XX No. of
    words processed: XX from which YZ are new



    From: Generare Management Department

    To: campsite-support@campware.org

    Date: 07/28/2009 04:57 PM

    Subject: Re: [campsite-support] Advanced search form






    Should something visible happen after that? Done it and didn't see
    anything special but no search works either...


    On 28.7.2009, at 17.30, sava.tatic@mdlf.org wrote:

    > The indexer is normally run by cron, but you can invoke it with the
    > campsite-indexer command
    > ( /path_to_campsite_directory/bin/campsite-indexer).
    >
    >
    >
    >
    > From: Generare Management Department
    >
    > To: campsite-support@campware.org
    >
    > Date: 07/28/2009 04:07 PM
    >
    > Subject: Re: [campsite-support] Advanced search form
    >
    >
    >
    >
    >
    >
    > no idea. How do I know that?
    > I'm testing with a local installation (in my mac) this template.
    >
    > /Sanna
    >
    > On 28.7.2009, at 17.03, sava.tatic@mdlf.org wrote:
    >
    >> A silly question, has the indexer run on your site?
    >>
    >>
    >>
    >> From: Generare Management Department
    >>
    >> To: campsite-support@campware.org
    >>
    >> Date: 07/28/2009 01:31 PM
    >>
    >> Subject: Re: [campsite-support] Advanced search form
    >>
    >>
    >>
    >>
    >>
    >>
    >> That solved the blankness after Section.
    >> Anyhow the form doesn't really work. I looked even certain words
    >> that I
    >> know exists in the articles but I do not get any list of results.
    >>
    >> Just hoping there are no other bugs affecting on this. Of course
    >> usually we
    >> are thinking something with the template coding is not correctly,
    >> not that
    >> it would be a bug and then it leads us to explore wrong things as an
    >> answer. So it would be nice if somebody could look that our template
    >> is not
    >> opening any other bug sources. The attached template is a combined
    >> from the
    >> Campsite templates and manual, so I would change it a bit after I
    >> would get
    >> it technically working.
    >>
    >> /Sanna[attachment "search-advancedform.tpl" deleted by Sava Tatic/
    >> Mdlf]
    >>
    >>
    >> On 28.7.2009, at 11.08, Mugur Rus wrote:
    >>
    >> There is a bug in the select statement; please copy the
    >> attached file
    >> (function.camp_select.php) into the smarty_camp_plugins directory
    >> inside the Campsite install directory.
    >>
    >> Mugur
    >>
    >> On Tue, Jul 28, 2009 at 10:41 AM, Generare Management
    >> Department <
    >> management@generare.com> wrote:
    >> Hi,
    >>
    >> if I remove line
    >>
    >>

    Section: {{ camp_select object="search"
    >> attribute="section" }}


    >>
    >> I get the page rendering correctly, no blank issue then.
    >> But I do not get any search yet functioning on it though.
    >>
    >> / S @ G
    >>
    >>
    >> On 28.7.2009, at 0.33, Generare Management Department wrote:
    >>
    >> There is an advanced search form script but when I test it I
    >> get
    >> the page only rendered until word "Section:" and after that
    >> only
    >> blank...
    >>
    >> I was using this:
    >> {{ search_form template="search.tpl" submit_button="Search" }}
    >>


    >> :
    >> {{ camp_edit object="search" attribute="keywords"
    >> html_code="id=
    >> \"keywords\"" }}
    >> {{ camp_select object="search" attribute="mode"
    >> html_code="id=
    >> \"match_all\"" }}
    >>
    >>


    >>

    Search in the
    >> >> id="content" checked>
    >> ,
    >> >> id="title">
    >> or
    >> >> id="author">
    >>
    >>


    >>

    Issue: {{ camp_select object="search"
    >> attribute="issue" }}


    >>

    Section: {{ camp_select object="search"
    >> attribute="section" }}


    >>

    Start date: {{ camp_edit object="search"
    >> attribute="start_date" }}


    >>

    End date: {{ camp_edit object="search"
    >> attribute="end_date" }}


    >>

    Topic:
    >>
    >>


    >> {{ /search_form }}
    >>
    >> PLUS like this (continuing from the above):
    >>
    >>
    >>
    >>
    >>
    >>
    >> style="cursor:pointer;cursor: hand;"
    >> onclick="document.location.href='{{ uri options="article" }}'"
    >> onmouseout="this.style.backgroundColor='#ffffff'"
    >> valign="top">
    >>

    {{ $campsite->current_list->
    >> index }}. {{ $campsite->article->name }}


    >>

    {{ $campsite->article->
    >> intro }}


    >>

    >> {{ list_search_results }}
    >> - - -
    >>
    >> IS THIS LINE CORRECT?
    >>
  • Well, I didn't see anything happening... I tried with both
    installations (the one in virtual server and my localhost).
    Localhost has 2 articles and some translations for those as a test.
    In the server we do have massive amount of content.

    Maybe the templating is somehow misleading. I could not find a proper
    example for it in the manual, besides the sample templates....

    /Sanna


    On 28.7.2009, at 18.19, sava.tatic@mdlf.org wrote:

    > Indexing takes a while, depending on the size of the db. At the end
    > of the
    > process, you should see something like: Total of articles: XX No. of
    > words processed: XX from which YZ are new
    >
    >
    >
    > From: Generare Management Department
    >
    > To: campsite-support@campware.org
    >
    > Date: 07/28/2009 04:57 PM
    >
    > Subject: Re: [campsite-support] Advanced search form
    >
    >
    >
    >
    >
    >
    > Should something visible happen after that? Done it and didn't see
    > anything special but no search works either...
    >
    >
    > On 28.7.2009, at 17.30, sava.tatic@mdlf.org wrote:
    >
    >> The indexer is normally run by cron, but you can invoke it with the
    >> campsite-indexer command
    >> ( /path_to_campsite_directory/bin/campsite-indexer).
    >>
    >>
    >>
    >>
    >> From: Generare Management Department
    >>
    >> To: campsite-support@campware.org
    >>
    >> Date: 07/28/2009 04:07 PM
    >>
    >> Subject: Re: [campsite-support] Advanced search form
    >>
    >>
    >>
    >>
    >>
    >>
    >> no idea. How do I know that?
    >> I'm testing with a local installation (in my mac) this template.
    >>
    >> /Sanna
    >>
    >> On 28.7.2009, at 17.03, sava.tatic@mdlf.org wrote:
    >>
    >>> A silly question, has the indexer run on your site?
    >>>
    >>>
    >>>
    >>> From: Generare Management Department
    >>>
    >>> To: campsite-support@campware.org
    >>>
    >>> Date: 07/28/2009 01:31 PM
    >>>
    >>> Subject: Re: [campsite-support] Advanced search form
    >>>
    >>>
    >>>
    >>>
    >>>
    >>>
    >>> That solved the blankness after Section.
    >>> Anyhow the form doesn't really work. I looked even certain words
    >>> that I
    >>> know exists in the articles but I do not get any list of results.
    >>>
    >>> Just hoping there are no other bugs affecting on this. Of course
    >>> usually we
    >>> are thinking something with the template coding is not correctly,
    >>> not that
    >>> it would be a bug and then it leads us to explore wrong things as an
    >>> answer. So it would be nice if somebody could look that our template
    >>> is not
    >>> opening any other bug sources. The attached template is a combined
    >>> from the
    >>> Campsite templates and manual, so I would change it a bit after I
    >>> would get
    >>> it technically working.
    >>>
    >>> /Sanna[attachment "search-advancedform.tpl" deleted by Sava Tatic/
    >>> Mdlf]
    >>>
    >>>
    >>> On 28.7.2009, at 11.08, Mugur Rus wrote:
    >>>
    >>> There is a bug in the select statement; please copy the
    >>> attached file
    >>> (function.camp_select.php) into the smarty_camp_plugins directory
    >>> inside the Campsite install directory.
    >>>
    >>> Mugur
    >>>
    >>> On Tue, Jul 28, 2009 at 10:41 AM, Generare Management
    >>> Department <
    >>> management@generare.com> wrote:
    >>> Hi,
    >>>
    >>> if I remove line
    >>>
    >>>

    Section: {{ camp_select object="search"
    >>> attribute="section" }}


    >>>
    >>> I get the page rendering correctly, no blank issue then.
    >>> But I do not get any search yet functioning on it though.
    >>>
    >>> / S @ G
    >>>
    >>>
    >>> On 28.7.2009, at 0.33, Generare Management Department wrote:
    >>>
    >>> There is an advanced search form script but when I test it I
    >>> get
    >>> the page only rendered until word "Section:" and after that
    >>> only
    >>> blank...
    >>>
    >>> I was using this:
    >>> {{ search_form template="search.tpl" submit_button="Search" }}
    >>>


    >>> :
    >>> {{ camp_edit object="search" attribute="keywords"
    >>> html_code="id=
    >>> \"keywords\"" }}
    >>> {{ camp_select object="search" attribute="mode"
    >>> html_code="id=
    >>> \"match_all\"" }}
    >>>
    >>>


    >>>

    Search in the
    >>> >>> id="content" checked>
    >>> ,
    >>> >>> id="title">
    >>> or
    >>> >>> id="author">
    >>>
    >>>


    >>>

    Issue: {{ camp_select object="search"
    >>> attribute="issue" }}


    >>>

    Section: {{ camp_select object="search"
    >>> attribute="section" }}


    >>>

    Start date: {{ camp_edit object="search"
    >>> attribute="start_date" }}


    >>>

    End date: {{ camp_edit object="search"
    >>> attribute="end_date" }}


    >>>

    Topic:
    >>>
    >>>


    >>> {{ /search_form }}
    >>>
    >>> PLUS like this (continuing from the above):
    >>>
    >>>
    >>>
    >>>
    >>>
    >>>
    >>> style="cursor:pointer;cursor: hand;"
    >>> onclick="document.location.href='{{ uri options="article" }}'"
    >>> onmouseout="this.style.backgroundColor='#ffffff'"
    >>> valign="top">
    >>>

    {{ $campsite->current_list->
    >>> index }}. {{ $campsite->article->name }}


    >>>

    {{ $campsite->article->
    >>> intro }}


    >>>

    >>> {{ list_search_results }}
    >>> - - -
    >>>
    >>> IS THIS LINE CORRECT?
    >>>
  • Please take the following steps:

    1. connect to the campsite database

    2. run the following queries:
    DELETE FROM ArticleIndex;
    DELETE FROM KeywordIndex;
    UPDATE Articles SET IsIndexed = 'N';

    3. run [campsite_dir]/bin/campsite-indexer

    If this didn't fix your problem then you have either a database
    inconsistency or a template syntax error. Please use the issue preview
    function and run a search in the preview window. See if you get any syntax
    error messages.

    Mugur

    On Tue, Jul 28, 2009 at 11:20 PM, Generare Management Department <
    management@generare.com> wrote:

    > Well, I didn't see anything happening... I tried with both installations
    > (the one in virtual server and my localhost).
    > Localhost has 2 articles and some translations for those as a test.
    > In the server we do have massive amount of content.
    >
    > Maybe the templating is somehow misleading. I could not find a proper
    > example for it in the manual, besides the sample templates....
    >
    > /Sanna
    >
    >
    >
    > On 28.7.2009, at 18.19, sava.tatic@mdlf.org wrote:
    >
    > Indexing takes a while, depending on the size of the db. At the end of the
    >> process, you should see something like: Total of articles: XX No. of
    >> words processed: XX from which YZ are new
    >>
    >>
    >>
    >> From: Generare Management Department
    >>
    >> To: campsite-support@campware.org
    >>
    >> Date: 07/28/2009 04:57 PM
    >>
    >> Subject: Re: [campsite-support] Advanced search form
    >>
    >>
    >>
    >>
    >>
    >>
    >> Should something visible happen after that? Done it and didn't see
    >> anything special but no search works either...
    >>
    >>
    >> On 28.7.2009, at 17.30, sava.tatic@mdlf.org wrote:
    >>
    >> The indexer is normally run by cron, but you can invoke it with the
    >>> campsite-indexer command
    >>> ( /path_to_campsite_directory/bin/campsite-indexer).
    >>>
    >>>
    >>>
    >>>
    >>> From: Generare Management Department
    >>>
    >>> To: campsite-support@campware.org
    >>>
    >>> Date: 07/28/2009 04:07 PM
    >>>
    >>> Subject: Re: [campsite-support] Advanced search form
    >>>
    >>>
    >>>
    >>>
    >>>
    >>>
    >>> no idea. How do I know that?
    >>> I'm testing with a local installation (in my mac) this template.
    >>>
    >>> /Sanna
    >>>
    >>> On 28.7.2009, at 17.03, sava.tatic@mdlf.org wrote:
    >>>
    >>> A silly question, has the indexer run on your site?
    >>>>
    >>>>
    >>>>
    >>>> From: Generare Management Department
    >>>>
    >>>> To: campsite-support@campware.org
    >>>>
    >>>> Date: 07/28/2009 01:31 PM
    >>>>
    >>>> Subject: Re: [campsite-support] Advanced search form
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>> That solved the blankness after Section.
    >>>> Anyhow the form doesn't really work. I looked even certain words
    >>>> that I
    >>>> know exists in the articles but I do not get any list of results.
    >>>>
    >>>> Just hoping there are no other bugs affecting on this. Of course
    >>>> usually we
    >>>> are thinking something with the template coding is not correctly,
    >>>> not that
    >>>> it would be a bug and then it leads us to explore wrong things as an
    >>>> answer. So it would be nice if somebody could look that our template
    >>>> is not
    >>>> opening any other bug sources. The attached template is a combined
    >>>> from the
    >>>> Campsite templates and manual, so I would change it a bit after I
    >>>> would get
    >>>> it technically working.
    >>>>
    >>>> /Sanna[attachment "search-advancedform.tpl" deleted by Sava Tatic/
    >>>> Mdlf]
    >>>>
    >>>>
    >>>> On 28.7.2009, at 11.08, Mugur Rus wrote:
    >>>>
    >>>> There is a bug in the select statement; please copy the
    >>>> attached file
    >>>> (function.camp_select.php) into the smarty_camp_plugins directory
    >>>> inside the Campsite install directory.
    >>>>
    >>>> Mugur
    >>>>
    >>>> On Tue, Jul 28, 2009 at 10:41 AM, Generare Management
    >>>> Department <
    >>>> management@generare.com> wrote:
    >>>> Hi,
    >>>>
    >>>> if I remove line
    >>>>
    >>>>

    Section: {{ camp_select object="search"
    >>>> attribute="section" }}


    >>>>
    >>>> I get the page rendering correctly, no blank issue then.
    >>>> But I do not get any search yet functioning on it though.
    >>>>
    >>>> / S @ G
    >>>>
    >>>>
    >>>> On 28.7.2009, at 0.33, Generare Management Department wrote:
    >>>>
    >>>> There is an advanced search form script but when I test it I
    >>>> get
    >>>> the page only rendered until word "Section:" and after that
    >>>> only
    >>>> blank...
    >>>>
    >>>> I was using this:
    >>>> {{ search_form template="search.tpl" submit_button="Search" }}
    >>>>


    >>>> :
    >>>> {{ camp_edit object="search" attribute="keywords"
    >>>> html_code="id=
    >>>> \"keywords\"" }}
    >>>> {{ camp_select object="search" attribute="mode"
    >>>> html_code="id=
    >>>> \"match_all\"" }}
    >>>>
    >>>>


    >>>>

    Search in the
    >>>> >>>> id="content" checked>
    >>>> ,
    >>>> >>>> id="title">
    >>>> or
    >>>> >>>> id="author">
    >>>>
    >>>>


    >>>>

    Issue: {{ camp_select object="search"
    >>>> attribute="issue" }}


    >>>>

    Section: {{ camp_select object="search"
    >>>> attribute="section" }}


    >>>>

    Start date: {{ camp_edit object="search"
    >>>> attribute="start_date" }}


    >>>>

    End date: {{ camp_edit object="search"
    >>>> attribute="end_date" }}


    >>>>

    Topic:
    >>>>
    >>>>


    >>>> {{ /search_form }}
    >>>>
    >>>> PLUS like this (continuing from the above):
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>> style="cursor:pointer;cursor: hand;"
    >>>> onclick="document.location.href='{{ uri options="article" }}'"
    >>>> onmouseout="this.style.backgroundColor='#ffffff'"
    >>>> valign="top">
    >>>>

    {{ $campsite->current_list->
    >>>> index }}. {{ $campsite->article->name }}


    >>>>

    {{ $campsite->article->
    >>>> intro }}


    >>>>

    >>>> {{ list_search_results }}
    >>>> - - -
    >>>>
    >>>> IS THIS LINE CORRECT?
    >>>>
  • Thanks Mugur!

    I will procede for connection to the database... (after I figure out
    how the procedure went in the localhost or I try then the real site...)

    With the preview I get these:

    Parse errors:

    Invalid value Dynamic of property name of object Publication

    Invalid property intro of object Article

    unable to read resource: "login-box.tpl"

    P.S. We are not using any login-box in the site... maybe some missing
    link since the templates are based on the sample templates.

    On 29.7.2009, at 13.44, Mugur Rus wrote:

    > Please take the following steps:
    >
    > 1. connect to the campsite database
    >
    > 2. run the following queries:
    > DELETE FROM ArticleIndex;
    > DELETE FROM KeywordIndex;
    > UPDATE Articles SET IsIndexed = 'N';
    >
    > 3. run [campsite_dir]/bin/campsite-indexer
    >
    > If this didn't fix your problem then you have either a database
    > inconsistency or a template syntax error. Please use the issue
    > preview function and run a search in the preview window. See if you
    > get any syntax error messages.
    >
    > Mugur
    >
    > On Tue, Jul 28, 2009 at 11:20 PM, Generare Management Department > > wrote:
    > Well, I didn't see anything happening... I tried with both
    > installations (the one in virtual server and my localhost).
    > Localhost has 2 articles and some translations for those as a test.
    > In the server we do have massive amount of content.
    >
    > Maybe the templating is somehow misleading. I could not find a
    > proper example for it in the manual, besides the sample templates....
    >
    > /Sanna
    >
    >
    >
    > On 28.7.2009, at 18.19, sava.tatic@mdlf.org wrote:
    >
    > Indexing takes a while, depending on the size of the db. At the end
    > of the
    > process, you should see something like: Total of articles: XX No. of
    > words processed: XX from which YZ are new
    >
    >
    >
    > From: Generare Management Department
    >
    > To: campsite-support@campware.org
    >
    > Date: 07/28/2009 04:57 PM
    >
    > Subject: Re: [campsite-support] Advanced search form
    >
    >
    >
    >
    >
    >
    > Should something visible happen after that? Done it and didn't see
    > anything special but no search works either...
    >
    >
    > On 28.7.2009, at 17.30, sava.tatic@mdlf.org wrote:
    >
    > The indexer is normally run by cron, but you can invoke it with the
    > campsite-indexer command
    > ( /path_to_campsite_directory/bin/campsite-indexer).
    >
    >
    >
    >
    > From: Generare Management Department
    >
    > To: campsite-support@campware.org
    >
    > Date: 07/28/2009 04:07 PM
    >
    > Subject: Re: [campsite-support] Advanced search form
    >
    >
    >
    >
    >
    >
    > no idea. How do I know that?
    > I'm testing with a local installation (in my mac) this template.
    >
    > /Sanna
    >
    > On 28.7.2009, at 17.03, sava.tatic@mdlf.org wrote:
    >
    > A silly question, has the indexer run on your site?
    >
    >
    >
    > From: Generare Management Department
    >
    > To: campsite-support@campware.org
    >
    > Date: 07/28/2009 01:31 PM
    >
    > Subject: Re: [campsite-support] Advanced search form
    >
    >
    >
    >
    >
    >
    > That solved the blankness after Section.
    > Anyhow the form doesn't really work. I looked even certain words
    > that I
    > know exists in the articles but I do not get any list of results.
    >
    > Just hoping there are no other bugs affecting on this. Of course
    > usually we
    > are thinking something with the template coding is not correctly,
    > not that
    > it would be a bug and then it leads us to explore wrong things as an
    > answer. So it would be nice if somebody could look that our template
    > is not
    > opening any other bug sources. The attached template is a combined
    > from the
    > Campsite templates and manual, so I would change it a bit after I
    > would get
    > it technically working.
    >
    > /Sanna[attachment "search-advancedform.tpl" deleted by Sava Tatic/
    > Mdlf]
    >
    >
    > On 28.7.2009, at 11.08, Mugur Rus wrote:
    >
    > There is a bug in the select statement; please copy the
    > attached file
    > (function.camp_select.php) into the smarty_camp_plugins directory
    > inside the Campsite install directory.
    >
    > Mugur
    >
    > On Tue, Jul 28, 2009 at 10:41 AM, Generare Management
    > Department <
    > management@generare.com> wrote:
    > Hi,
    >
    > if I remove line
    >
    >

    Section: {{ camp_select object="search"
    > attribute="section" }}


    >
    > I get the page rendering correctly, no blank issue then.
    > But I do not get any search yet functioning on it though.
    >
    > / S @ G
    >
    >
    > On 28.7.2009, at 0.33, Generare Management Department wrote:
    >
    > There is an advanced search form script but when I test it I
    > get
    > the page only rendered until word "Section:" and after that
    > only
    > blank...
    >
    > I was using this:
    > {{ search_form template="search.tpl" submit_button="Search" }}
    >


    > :
    > {{ camp_edit object="search" attribute="keywords"
    > html_code="id=
    > \"keywords\"" }}
    > {{ camp_select object="search" attribute="mode"
    > html_code="id=
    > \"match_all\"" }}
    >
    >


    >

    Search in the
    > > id="content" checked>
    > ,
    > > id="title">
    > or
    > > id="author">
    >
    >


    >

    Issue: {{ camp_select object="search"
    > attribute="issue" }}


    >

    Section: {{ camp_select object="search"
    > attribute="section" }}


    >

    Start date: {{ camp_edit object="search"
    > attribute="start_date" }}


    >

    End date: {{ camp_edit object="search"
    > attribute="end_date" }}


    >

    Topic:
    >
    >


    > {{ /search_form }}
    >
    > PLUS like this (continuing from the above):
    >
    >
    >
    >
    >
    >
    > style="cursor:pointer;cursor: hand;"
    > onclick="document.location.href='{{ uri options="article" }}'"
    > onmouseout="this.style.backgroundColor='#ffffff'"
    > valign="top">
    >

    {{ $campsite->current_list->
    > index }}. {{ $campsite->article->name }}


    >

    {{ $campsite->article->
    > intro }}


    >

    > {{ list_search_results }}
    > - - -
    >
    > IS THIS LINE CORRECT?
    >
  • Please search for text "publication->dynamic" in your templates and replace
    it with whatever you wanted to display there.

    Same for "article->intro"

    Search for "login-box.tpl" and remove that include.

    Mugur

    On Wed, Jul 29, 2009 at 1:59 PM, Generare Management Department <
    management@generare.com> wrote:

    > Thanks Mugur!
    > I will procede for connection to the database... (after I figure out how
    > the procedure went in the localhost or I try then the real site...)
    >
    > With the preview I get these:
    >
    > Parse errors:
    >
    > Invalid value Dynamic of property name of object Publication
    >
    > Invalid property intro of object Article
    >
    > unable to read resource: "login-box.tpl"
    >
    >
    > P.S. We are not using any login-box in the site... maybe some missing link
    > since the templates are based on the sample templates.
    >
    > On 29.7.2009, at 13.44, Mugur Rus wrote:
    >
    > Please take the following steps:
    >
    > 1. connect to the campsite database
    >
    > 2. run the following queries:
    > DELETE FROM ArticleIndex;
    > DELETE FROM KeywordIndex;
    > UPDATE Articles SET IsIndexed = 'N';
    >
    > 3. run [campsite_dir]/bin/campsite-indexer
    >
    > If this didn't fix your problem then you have either a database
    > inconsistency or a template syntax error. Please use the issue preview
    > function and run a search in the preview window. See if you get any syntax
    > error messages.
    >
    > Mugur
    >
    > On Tue, Jul 28, 2009 at 11:20 PM, Generare Management Department <
    > management@generare.com> wrote:
    >
    >> Well, I didn't see anything happening... I tried with both installations
    >> (the one in virtual server and my localhost).
    >> Localhost has 2 articles and some translations for those as a test.
    >> In the server we do have massive amount of content.
    >>
    >> Maybe the templating is somehow misleading. I could not find a proper
    >> example for it in the manual, besides the sample templates....
    >>
    >> /Sanna
    >>
    >>
    >>
    >> On 28.7.2009, at 18.19, sava.tatic@mdlf.org wrote:
    >>
    >> Indexing takes a while, depending on the size of the db. At the end of
    >>> the
    >>> process, you should see something like: Total of articles: XX No. of
    >>> words processed: XX from which YZ are new
    >>>
    >>>
    >>>
    >>> From: Generare Management Department
    >>>
    >>> To: campsite-support@campware.org
    >>>
    >>> Date: 07/28/2009 04:57 PM
    >>>
    >>> Subject: Re: [campsite-support] Advanced search form
    >>>
    >>>
    >>>
    >>>
    >>>
    >>>
    >>> Should something visible happen after that? Done it and didn't see
    >>> anything special but no search works either...
    >>>
    >>>
    >>> On 28.7.2009, at 17.30, sava.tatic@mdlf.org wrote:
    >>>
    >>> The indexer is normally run by cron, but you can invoke it with the
    >>>> campsite-indexer command
    >>>> ( /path_to_campsite_directory/bin/campsite-indexer).
    >>>>
    >>>>
    >>>>
    >>>>
    >>>> From: Generare Management Department
    >>>>
    >>>> To: campsite-support@campware.org
    >>>>
    >>>> Date: 07/28/2009 04:07 PM
    >>>>
    >>>> Subject: Re: [campsite-support] Advanced search form
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>> no idea. How do I know that?
    >>>> I'm testing with a local installation (in my mac) this template.
    >>>>
    >>>> /Sanna
    >>>>
    >>>> On 28.7.2009, at 17.03, sava.tatic@mdlf.org wrote:
    >>>>
    >>>> A silly question, has the indexer run on your site?
    >>>>>
    >>>>>
    >>>>>
    >>>>> From: Generare Management Department
    >>>>>
    >>>>> To: campsite-support@campware.org
    >>>>>
    >>>>> Date: 07/28/2009 01:31 PM
    >>>>>
    >>>>> Subject: Re: [campsite-support] Advanced search form
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>> That solved the blankness after Section.
    >>>>> Anyhow the form doesn't really work. I looked even certain words
    >>>>> that I
    >>>>> know exists in the articles but I do not get any list of results.
    >>>>>
    >>>>> Just hoping there are no other bugs affecting on this. Of course
    >>>>> usually we
    >>>>> are thinking something with the template coding is not correctly,
    >>>>> not that
    >>>>> it would be a bug and then it leads us to explore wrong things as an
    >>>>> answer. So it would be nice if somebody could look that our template
    >>>>> is not
    >>>>> opening any other bug sources. The attached template is a combined
    >>>>> from the
    >>>>> Campsite templates and manual, so I would change it a bit after I
    >>>>> would get
    >>>>> it technically working.
    >>>>>
    >>>>> /Sanna[attachment "search-advancedform.tpl" deleted by Sava Tatic/
    >>>>> Mdlf]
    >>>>>
    >>>>>
    >>>>> On 28.7.2009, at 11.08, Mugur Rus wrote:
    >>>>>
    >>>>> There is a bug in the select statement; please copy the
    >>>>> attached file
    >>>>> (function.camp_select.php) into the smarty_camp_plugins directory
    >>>>> inside the Campsite install directory.
    >>>>>
    >>>>> Mugur
    >>>>>
    >>>>> On Tue, Jul 28, 2009 at 10:41 AM, Generare Management
    >>>>> Department <
    >>>>> management@generare.com> wrote:
    >>>>> Hi,
    >>>>>
    >>>>> if I remove line
    >>>>>
    >>>>>

    Section: {{ camp_select object="search"
    >>>>> attribute="section" }}


    >>>>>
    >>>>> I get the page rendering correctly, no blank issue then.
    >>>>> But I do not get any search yet functioning on it though.
    >>>>>
    >>>>> / S @ G
    >>>>>
    >>>>>
    >>>>> On 28.7.2009, at 0.33, Generare Management Department wrote:
    >>>>>
    >>>>> There is an advanced search form script but when I test it I
    >>>>> get
    >>>>> the page only rendered until word "Section:" and after that
    >>>>> only
    >>>>> blank...
    >>>>>
    >>>>> I was using this:
    >>>>> {{ search_form template="search.tpl" submit_button="Search" }}
    >>>>>


    >>>>> :
    >>>>> {{ camp_edit object="search" attribute="keywords"
    >>>>> html_code="id=
    >>>>> \"keywords\"" }}
    >>>>> {{ camp_select object="search" attribute="mode"
    >>>>> html_code="id=
    >>>>> \"match_all\"" }}
    >>>>>
    >>>>>


    >>>>>

    Search in the
    >>>>> >>>>> id="content" checked>
    >>>>> ,
    >>>>> >>>>> id="title">
    >>>>> or
    >>>>> >>>>> id="author">
    >>>>>
    >>>>>


    >>>>>

    Issue: {{ camp_select object="search"
    >>>>> attribute="issue" }}


    >>>>>

    Section: {{ camp_select object="search"
    >>>>> attribute="section" }}


    >>>>>

    Start date: {{ camp_edit object="search"
    >>>>> attribute="start_date" }}


    >>>>>

    End date: {{ camp_edit object="search"
    >>>>> attribute="end_date" }}


    >>>>>

    Topic:
    >>>>>
    >>>>>


    >>>>> {{ /search_form }}
    >>>>>
    >>>>> PLUS like this (continuing from the above):
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>> style="cursor:pointer;cursor: hand;"
    >>>>> onclick="document.location.href='{{ uri options="article" }}'"
    >>>>> onmouseout="this.style.backgroundColor='#ffffff'"
    >>>>> valign="top">
    >>>>>

    {{ $campsite->current_list->
    >>>>> index }}. {{ $campsite->article->name }}


    >>>>>

    {{ $campsite->article->
    >>>>> intro }}


    >>>>>

    >>>>> {{ list_search_results }}
    >>>>> - - -
    >>>>>
    >>>>> IS THIS LINE CORRECT?
    >>>>>