This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Setup & design » how does the google indexing work ?
expandshrink

how does the google indexing work ?

how does the google indexing work ?

Monday 26 April 2004 10:21:46 pm - 5 replies

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

Tuesday 27 April 2004 3:14:11 am

Hi John

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

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

Tuesday 27 April 2004 12:29:36 pm

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

Modified on Tuesday 27 April 2004 12:48:26 pm by John Mina

Tuesday 27 April 2004 12:42:45 pm

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

Tuesday 27 April 2004 3:08:17 pm

Thanks
BUt not able to implement it either
sad.gif Emoticon

Tuesday 27 April 2004 3:14:36 pm

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

paul

--
http://www.visionwt.com

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from