Blocks and page called

How to know the name of block? like calendar, reactions, public news....

How to know the page name? like homepage, evens, news....

 

thanks

Quote · 29 Jan 2018

check sys_page_compose table in your database or /administration/pageBuilder.php

 

 

How to know the name of block? like calendar, reactions, public news....

How to know the page name? like homepage, evens, news....

 

thanks

 

Quote · 29 Jan 2018

Thanks 

Quote · 31 Jan 2018

Finally I'm found solution: if can help somebody!

 

on any page code add this code:

 

$RequestURINow = basename($_SERVER['REQUEST_URI'], '?' . $_SERVER['QUERY_STRING']);

echo $RequestURINow;

 

if homepage = "index.php"

if module home = "home"

 

thanks

 

Quote · 31 Jan 2018

Hello carlosramos!

 

Codename of current page can be found via printing $this -> sPageName field of any of page view class. It may looks like:

$oPage = new BxSmthPage();

echo $oPage->sPageName;

 

With the best regards, Leonid

Quote · 1 Feb 2018
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.