We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Is there a "current viewed page" method? How to getCurrentPage value of Id or Key or more? | Forum

John
John Apr 4 '16
Thanks all, great software!


I am trying to find a method that I can call, that has the value of what the current page is. 

e.g. 


BASE_CMP_Menu::getCurrentPageId() or

BASE_CMP_MainMenu::getActivePageKey() or

BASE_CMP_Menu::getCurrentPageKey()


Looking for Id or Key or my own database column. 


I have been looking in database: ow_base_menu_items and see the records in there have Id's and Keys. But I cannot find where the method is, so that I can create some new button actions. 


Thank very much. 

ross Team
ross Apr 5 '16
Topic was moved from Bug reports and troubleshooting.