I want transfer some data from page attributes as GET Request data. URL for request I create in block's view.php. How I can get cID of current page in view.php ?
Asked
Active
Viewed 2,274 times
1 Answers
9
$currentPageCID = Page::getCurrentPage()->getCollectionID();

Jordan Lev
- 2,773
- 2
- 26
- 39
-
Damn, it's so obvious! I tried to get the ID from block's controller. Big Thanks! – iDom Jan 12 '13 at 09:46