Content since last visit

Author Message

Franck T.

Friday 11 August 2006 7:45:51 am

Hello everybody,
Some users of my intranet site was asking if it could be possible to retrieve the new published content since their last visit. Just like in this forum.
Very good idea indeed, but any advice on how to achieve that (version 3.8.0) ?
Thanks in advance.

Paul Borgermans

Friday 11 August 2006 8:06:12 am

Hi Franck

You have that too: try /content/new

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Franck T.

Friday 11 August 2006 8:55:42 am

Sorry Paul, but I don't see... A little more precisions ?

Marcin Drozd

Friday 11 August 2006 9:09:13 am

Hi
Paul is right
try: http://domain.com/content/new
the file is: /design/standard/templates/content/newcontent.tpl
but this code produces all content since last visit (new articles, forum messages, etc.)
You have to modify this file to get only forum topics.

http://ez-publish.pl

Mark Marsiglio

Friday 11 August 2006 9:52:33 am

Also, it will not display any content unless you are logged in. As the anonymous user, it would be since the last time any anonymous user viewed content on the site, which is usually only a few minutes ago.

This is a pretty neat feature, and never knew that was there.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

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

eZ debug

Timing: Jan 31 2025 01:28:46
Script start
Timing: Jan 31 2025 01:28:46
Module start 'layout'
Timing: Jan 31 2025 01:28:46
Module start 'content'
Timing: Jan 31 2025 01:28:46
Module end 'content'
Timing: Jan 31 2025 01:28:46
Script end

Main resources:

Total runtime0.6436 sec
Peak memory usage8,192.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.1250151.2109
Module start 'layout' 0.00510.0033 739.3359220.6719
Module start 'content' 0.00840.6344 960.00784,537.9688
Module end 'content' 0.64280.0008 5,497.976611.8672
Script end 0.6436  5,509.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5422160.0002
Check MTime0.00130.2050160.0001
Mysql Total
Database connection0.00070.104710.0007
Mysqli_queries0.553886.0507670.0083
Looping result0.00070.1104650.0000
Template Total0.591291.820.2956
Template load0.00210.332120.0011
Template processing0.589091.515420.2945
Template load and register function0.00150.228610.0015
states
state_id_array0.00190.292510.0019
state_identifier_array0.00120.186120.0006
Override
Cache load0.00180.2724250.0001
Sytem overhead
Fetch class attribute can translate value0.00150.239040.0004
Fetch class attribute name0.00190.291870.0003
XML
Image XML parsing0.00150.235140.0004
class_abstraction
Instantiating content class attribute0.00000.002370.0000
General
dbfile0.00110.1648220.0000
String conversion0.00000.004240.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs