FUNC in sys_page_compose

Does any one know how FUNC field is being excuted in dolphin v7.0.2? For example in pedit page there is two blocks, info & privacy and the program is pedit.php. If I want to add new form in the pedit page and be able to submit the value to the db. I added a PHP block however the submit is not working.

 

Enclosed is the php code

dyn_form.php · 5.6K · 85 downloads
Quote · 19 Aug 2010

After some search in the code..I found it at BxDolPageView.php the following function:

function genBlock( $iBlockID, $aBlock, $bStatic = true, $sDynamicType = 'tab' ) {
if( !$this -> isBlockVisible( $aBlock['Visible'] ) )
return false;

$sBlockFunction = 'getBlockCode_' . $aBlock['Func'];

And in pedit there is a function like getBlockCode_privacy etc ...

I guess if someone want to add a block that is the process...

Just for those who want to make some changes to their web site...

Quote · 19 Aug 2010
 
 
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.