Editing Current Blocks Such as 'Post to Wall' Block

I would like to retrieve the code from the Post to Wall block that is found on the profile page. Where can I get the code for that? Thanks for your time.

Quote · 1 Jul 2011

What I am trying to do is duplicate that block so I can create a new HTML block for the homepage.

I was able to retrieve this code but if I place this in a new block for the homepage and activate it, it doesn't work. I just see a line of code. Any ideas??

return BxDolService::call('wall', 'post_block', array($this->oProfileGen->_iProfileID));

Quote · 1 Jul 2011

That is PHP code so requires a PHP block. A HTML block will not work for that.

https://www.deanbassett.com
Quote · 1 Jul 2011

ah ok. So how do I create a php block on the home page? Thanks

Quote · 1 Jul 2011

The block already exists on the profile page. I just need to convert the HTML block to a PHP block?

Quote · 1 Jul 2011

You have a few choices.

1) Modify dolphin to add PHP block ability to the dolphin page builders. A bit more dificult to do, but once done, PHP blocks can be created as easily as HTML blocks. So this is the best solution.

Mod to do that here. http://www.boonex.com/m/Add_PHP_Block_to_Page_Builders_

2) Use my Deanos Tools Mod here. http://www.boonex.com/m/Deanos_Tools_V1_6_Dolphin_7_0_Version

3) Use my Block Tools Mod Here. http://www.boonex.com/m/Block_Tools

Option one is suppose to be included in one of the upcoming versions of dolphin. But who know when that will be. So for now, PHP blocks requires a source code change or a module.

https://www.deanbassett.com
Quote · 1 Jul 2011

Great I will check that out. I downlaoded your Deanos Tools Mod today. Cool

Thanks for the help. I will see what I can do.

Quote · 1 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.