Not a bug.... but

BxBaseProfileView.php has these two classes:

class BxBaseProfileView extends BxDolPageView

class BxBaseProfileGenerator extends BxDolProfile

 

However, in BxTemplProfileView.php we have only this:

 

class BxTemplProfileView extends BxBaseProfileView

 

Why no: class BxTemplProfileGenerator extends BxBaseProfileGenerator ?

 

It makes it not quite as straightforward to override functions in the BxBaseProfileGenerator class. All I want to do is override     function showBlockCover, but I'm uncertain as to exactly how to do it in this case.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 16 Nov 2015

The only thing it does is call a function that happens to be in another class. There is nothing stopping you from creating a new function in the same class to which you than point to.

 

return $this->oProfileGen->showBlockCover('', true); becomes

return $this->showBlockCover('', true); // modified function

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 16 Nov 2015

There is already an issue for this:

https://github.com/boonex/dolphin.pro/issues/94

Rules → http://www.boonex.com/terms
Quote · 16 Nov 2015
 
 
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.