Fatal error when trying to use the Example.php from BxDolPageView

Hi all,

I'm trying the example that exist on boonex wiki:

http://www.boonex.com/trac/dolphin/browser/trunk/inc/classes/BxDolPageView.php

I created the example.php and added the required line in the tables however I'm getting this error.

Fatal error: Call to undefined function isMember() in /homepages/15/d244096630/htdocs/mysite/inc/classes/BxDolPageView.php on line 185

Here is my example code:

<?php
  require_once( 'inc/header.inc.php' );
  require_once( BX_DIRECTORY_PATH_INC . 'utils.inc.php' );
  bx_import('BxDolPageView');
 
  class BxExamplePageView extends BxDolPageView {
      function BxExamplePageView() {
          parent::BxDolPageView('example'); // Attention! Here should be name which you will insert into sys_page_compose_pages in next step.
      }
     
      // Here is functions that generate blocks on page. They are contain only contents of blocks.
      // You do not have to worry about it's title, design, etc. PageView class will make it itself.
     
      // This function creates first block
      function getBlockCode_BlockOne() {
          return 'Hello world 1!';
      }
     
      // This function creates another block with dynamic menu tabs
      function getBlockCode_BlockTwo() {
          return 'Hello world 2!';
      }
  }
 


  $_page['name_index']    = 0; // choose your own index of template or leave if in doubt
  $_page['header'] = 'Example page';
  $_ni = $_page['name_index'];
 
  $oEPV = new BxExamplePageView();
  $_page_cont[$_ni]['page_main_code'] = $oEPV->getCode();
 
  PageCode();
 
  ?>

 

Thanks in advance for for any assistance

Quote · 18 Jul 2011
 
 
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.