Page 1 of 1

How do I know the page ID in the Phocagallery?

Posted: 10 Nov 2010, 14:02
by Alexander_photo
How do I know the page ID in the component Phocagallery?

Needed in the widget code to insert "Page ID"

From the documentation of widget:
ID of the page on your site. Integer 32-bit number. Used in the case, if the same article can be multiple addresses, as well as dynamic websites, which changes only the hash. The default value is the checksum of location.href.
Must manually insert in this code:

<div id="abcdef"></div>
<script type="text/javascript">
Widgets.abcdef('abcdef', page_ID);
</script>

Re: How do I know the page ID in the Phocagallery?

Posted: 12 Nov 2010, 22:39
by Jan
Hi, sorry I don't understand, which part of documentation it is?

Re: How do I know the page ID in the Phocagallery?

Posted: 12 Nov 2010, 23:02
by Alexander_photo
Jan wrote:Hi, sorry I don't understand, which part of documentation it is?
I want to install on my site one widget:

small code in <head>,

and this code in tamplate of phocagallery:

<div id="abcdef"></div>
<script type="text/javascript">
Widgets.abcdef('abcdef', page_ID);
</script>

Instead of the word "page_ID" need to specify the identifier of page.
In describing the widget to say what Page_ID, I wrote quote.

Re: How do I know the page ID in the Phocagallery?

Posted: 16 Nov 2010, 18:35
by Jan
Hi, I still don't understand, Phoca Gallery does not have any page id?