Forums / Developer / Show a link to information collected

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