Google Custom Search module results page doesn't work

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
IT Independent
New Member
New Member
Posts: 5
Joined: Thu Sep 30, 2010 2:36 pm

Google Custom Search module results page doesn't work

Post by IT Independent »

Hello,

The results page of the module GCS isn't working.
You can see it here: http://ontw.dmd-gloves.nl/
user : test
ww: test
click 'Google Zoeken' at the richt of the menu.
click Search
and see the incorrect page.

The code use in the search page is:
{cms_module module="GCS" search_query="Zoeken" search_query_size="20" detailpage="google-antwoord"}

And the result page is:
{cms_module module="GCS" with_pages=true results_template="resultaten"}


And my GCS template resultaten is:

{$estimate}: {$nb_results}
{$current_page_title}: {$current_page}
{foreach from=$results item=result}

  U}">{$result->T}

  {$result->S}

  {$result->U}

{/foreach}

{if $previous_page ne ''}
{$previous}
{/if}

{foreach from=$navigation item=page key=page_nb}
{if $page_nb eq $current_page}[{/if}{$page_nb}{if $page_nb eq $current_page}]{/if}
{/foreach}

{if $next_page ne ''}
{$next}
{/if}

Mayby it is usefull to tell I am using pretty url's .

Hope somebody can get the google search module working?
totophe
Forum Members
Forum Members
Posts: 63
Joined: Wed Feb 21, 2007 9:30 am

Re: Google Custom Search module results page doesn't work

Post by totophe »

Dear,

I have made a quick check on your website. It seems that it crash at some point (the layout even do not show up..)

Could you send us the end or your error logs ?

Br,
JCC
IT Independent
New Member
New Member
Posts: 5
Joined: Thu Sep 30, 2010 2:36 pm

Re: Google Custom Search module results page doesn't work

Post by IT Independent »

sorry!

In the error I saw that a file include wasn't allowed.
I had to change allow_url_fopen from off to on and everything works fine.

Thanx!
Post Reply

Return to “The Lounge”