Show a link to information collected

Author Message

David Santiso

Tuesday 22 February 2011 1:37:31 am

Hi,

I've asked about this subject before, but nobody answered me. Try to be a bit more concrete.

I've created a form for collecting user information. Then, I show some of this information collected in another section.

I want to put a link that shows the full information on each collection.

How I can do?

Thank you very much in advance,

David

Karol Radziuk

Tuesday 22 February 2011 4:15:23 am

Hi

You follow links in admin interface, and use for your siteaccess:

/admin/infocollector/overview - for all collections
/admin/infocollector/collectionlist/[object_id] - collections for single object
/admin/infocollector/view/[collection_id] - single collection

But i think, limitation for infocollector is not sophisticated

{$me|attribute(show,1)}

David Santiso

Tuesday 22 February 2011 6:15:21 am

Thanks, but I don't know if this will work, because users hasn't access to admin interface. Even if this were ... is not it "good" to do so.

I was thinking of something similar to create a link to some object or template which shows the collection with the id give it.

Without using eZ Publish I would create a HTREF would pass it the ID using GET. Then I would create a template that would display the information with that identifier.

Any ideas?

Thanks,

David

Marko Žmak

Tuesday 22 February 2011 6:55:07 am

David, the links that Karol mentioned can also be used in your public site, just replace the "admin" with your site access name, like this:

  • /<your_site_access>/infocollector/overview
  • /<your_site_access>/infocollector/collectionlist/[object_id]
  • /<your_site_access>/infocollector/view/[collection_id]

In order for this pages to be displayed correctly, you should also give anonymous users permissions to view collected info, and probably create your own templates for the collected info preview so that it looks nice.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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 18 2025 04:57:41
Script start
Timing: Jan 18 2025 04:57:41
Module start 'layout'
Timing: Jan 18 2025 04:57:41
Module start 'content'
Timing: Jan 18 2025 04:57:43
Module end 'content'
Timing: Jan 18 2025 04:57:43
Script end

Main resources:

Total runtime1.3592 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.3672152.6250
Module start 'layout' 0.00610.0049 741.992239.4531
Module start 'content' 0.01101.3468 781.4453593.1250
Module end 'content' 1.35780.0014 1,374.570312.4688
Script end 1.3592  1,387.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2469160.0002
Check MTime0.00140.1021160.0001
Mysql Total
Database connection0.00110.082810.0011
Mysqli_queries1.297695.4675620.0209
Looping result0.00080.0564600.0000
Template Total1.319197.020.6596
Template load0.00200.148420.0010
Template processing1.317196.899320.6585
Template load and register function0.00010.009810.0001
states
state_id_array0.00220.161810.0022
state_identifier_array0.00390.283320.0019
Override
Cache load0.00160.1156330.0000
Sytem overhead
Fetch class attribute can translate value0.00070.053330.0002
Fetch class attribute name0.00110.083560.0002
XML
Image XML parsing0.00320.235130.0011
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00500.3696240.0002
String conversion0.00000.000940.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs