how does the google indexing work ?

Author Message

John Mina

Monday 26 April 2004 1:21:46 pm

Dear Sirs,
I want to know how to use the google.tpl, in a new template i am creating for viewing special folder
Any Clue please

Bruce Morrison

Monday 26 April 2004 6:14:11 pm

Hi John

google.tpl is used to provide "google like" pagination. See http://ez.no/ez_publish/documentation/customization/custom_design/pagination

Cheers
Bruce http://www.designit.com.au/

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

John Mina

Tuesday 27 April 2004 3:29:36 am

HI Bruce ,
Thaks for the reply
but Unfortunatly wht i wanted to ask about is the other side of the process, how to connect a page and make it able to use this tpl

I see there is aform that is made and a lot fo other variables, but i dn't know wht is important and wht is not
iam relaly lost, have you got any idea bout that ?
Sicnerely John Mina

Bjørn Kaarstein

Tuesday 27 April 2004 3:42:45 am

This is a sample from the ez-course I attended which works fine.
It fetches three items at a time, and then applies the google navigator if there are more than three items.

let objectCount=fetch('content','list_count', hash(parent_node_id, $node.node_id,
						'class_filter_type', include,
						'class_filter_array', array(2,8)))}  

{section loop=fetch('content', 'list', hash('parent_node_id', $node.node_id,
					'limit',3,
					'offset',$view_parameters.offset,
					'sort_by',$node.sort_array,
					'class_filter_type', include,
					'class_filter_array', array(2,8)))}

{node_view_gui view=element content_node=$:item}

<br />
{/section}

{include uri='design:navigator/google.tpl'
		item_count=$objectCount
		view_parameters=$view_parameters
		item_limit=3
		page_uri=concat('/content/view/full/', $node.node_id)}



Regards Bjørn

John Mina

Tuesday 27 April 2004 6:08:17 am

Thanks
BUt not able to implement it either
:(

Paul Forsyth

Tuesday 27 April 2004 6:14:36 am

Take a look at the search template ez use. It has an example of the google template in action.

paul

--
http://www.visionwt.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.