Forums / Setup & design / how does the google indexing work ?

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

eZ debug

Timing: Jan 18 2025 11:26:33
Script start
Timing: Jan 18 2025 11:26:33
Module start 'content'
Timing: Jan 18 2025 11:26:34
Module end 'content'
Timing: Jan 18 2025 11:26:34
Script end

Main resources:

Total runtime1.1082 sec
Peak memory usage4,096.0000 KB
Database Queries207

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 589.1484181.6641
Module start 'content' 0.00790.9574 770.8125641.3750
Module end 'content' 0.96530.1428 1,412.1875337.0859
Script end 1.1081  1,749.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3615210.0002
Check MTime0.00150.1394210.0001
Mysql Total
Database connection0.00130.120010.0013
Mysqli_queries1.027592.71572070.0050
Looping result0.00240.21862050.0000
Template Total1.066496.220.5332
Template load0.00260.230220.0013
Template processing1.063895.997520.5319
Template load and register function0.00020.015610.0002
states
state_id_array0.00160.147210.0016
state_identifier_array0.00240.218920.0012
Override
Cache load0.00230.2067330.0001
Sytem overhead
Fetch class attribute can translate value0.00140.124950.0003
Fetch class attribute name0.00090.085370.0001
XML
Image XML parsing0.00140.128350.0003
class_abstraction
Instantiating content class attribute0.00000.001270.0000
General
dbfile0.00240.2204270.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs