Google Custom Search and CMSB

6 posts by 2 authors in: Forums > CMS Builder
Last Post: May 25, 2009   (RSS)

Hi, there.

I've just started working on a client's site, which will have a Google custom search engine on every page. Here's the first page I'm working on: http://www.yallaf1.com/links.php.

The client already has a site on their server, which uses Article Manager that generates pages with a .shtml extension. When I test the search engine on my page it only returns results from the Article Manager site, not my .php CMSB-generated page.

I realise that this might be a Google issue, not one for CMSB, but has anyone else built Google custom search into a CMSB site?
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [ross] Google Custom Search and CMSB

Hi, Ross.

Thanks for the reply. Please can you tell me where this line of code should go? In the header?

Regards,
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] Google Custom Search and CMSB

By ross - May 22, 2009

Hi Nigel

It goes right up in the viewer code at the top. So like this:

list($tagsRecords, $tagsMetaData) = getRecords(array(
'tableName' => 'tags',
'useSeoUrls' => true,

));


Of course, your code will look a bit different. One other thing is that I gave you slightly wrong code last time. You want to be using 'useSeoUrls' => true.

Does that make more sense? Let me know :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Google Custom Search and CMSB

Hi, Ross.

I've added the code to this page - http://www.yallaf1.com/stories.php - but the Google search still can't seem to find any of the headlines for these articles.

Kind regards,
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] Google Custom Search and CMSB

By ross - May 25, 2009

Hi Nigel

That's interesting. Nothing at all seems to happen when I run a search from that page. It is possible that your server doesn't support that setting I got you to change in my last post.

Could you send me FTP details (and a link to this post) through consulting@interactivetools.com?

I'll take a closer look and see if there is anything I can see. Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/