[opencms-dev] Get the resource_id of a container page having the Url

Paul-Inge Flakstad flakstad at npolar.no
Wed Apr 8 10:23:10 CEST 2015


The referred wiki page was written before the introduction of container pages, and has not been updated with respect to container pages / formatters / detail pages.

Would be great if someone could take the time to add those updates. :)

(I'd do it myself, but I still use the "old" template convention - i.e. I'm clueless about container pages etc.)

Cheers,
Paul

-----Original Message-----
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Antonio Cordeddu
Sent: 7. april 2015 20:15
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Get the resource_id of a container page having the Url

Hello Ramon,

give a look at this wiki document: 
http://www.opencms-wiki.org/wiki/Reading_various_information_about_a_resource.
I guess you can find the information you need.

Kind regards
Antonio Cordeddu

On 07/04/2015 19:29, Ramon Gavira Sáenz wrote:
> Hello List
>
> Does anyone know if it's possible to get the resource_id of a 
> container page having the Url??
>
> We are thinking in the implementation of a tracking system for 
> OpenCms, something similar to analytics, I mean any way to include a 
> JS on the web pages to call a service hosted in OpenCms, but we want 
> to include a reference to the ResourceId, structureId of the container 
> page we track or the resourceId, structureId of the element showed in 
> a DetailPage.
>
> Is there any way to do that??
>
> Thanx!!!
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list To change 
> your list options, or to unsubscribe from the list, please visit 
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>

  
_______________________________________________
Coranto informatica di Antonio Cordeddu
Via Torricelli, 9 09047 Selargius (CA) - Italy
Phone: +39 070 8607521
Fax: +39 070 8607521
Mobile: +39 328 7552662
antoniocordeddu at coranto.it
Skype: antonio.cordeddu
http://www.coranto.it
_______________________________________________

_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev






More information about the opencms-dev mailing list