How to find page ID

Permalink
I am adding a Dynamic iFrame block but require the ID of the page I am trying to pull into the frame.

Where can I find this information?

trixiemay
View Replies:
mdzoidberg replied on at Permalink Reply
mdzoidberg
On the page you need to get the id from:

$page = Page::getCurrentPage();
$page->getCollectionID();


Or if you already know what page you will be pulling, when you go into edit mode it will also give you the id on the address bar.

See here for more: http://www.concrete5.org/documentation/introduction/cheat-sheet/...