How do I know the page ID in the Phocagallery?

Phoca Gallery - image gallery extension
Alexander_photo
Phoca Member
Phoca Member
Posts: 18
Joined: 23 Feb 2010, 14:07
Contact:

How do I know the page ID in the Phocagallery?

Post 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>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, sorry I don't understand, which part of documentation it is?
If you find Phoca extensions useful, please support the project
Alexander_photo
Phoca Member
Phoca Member
Posts: 18
Joined: 23 Feb 2010, 14:07
Contact:

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

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, I still don't understand, Phoca Gallery does not have any page id?
If you find Phoca extensions useful, please support the project
Post Reply