Create a special block

Hi

I was wondering how I go about creating a special block for a page on my site? Any help would be great.

Quote · 12 May 2010

Hello, the first you need execute sql query - like this :

1.


--
-- Dumping data for table `sys_page_compose`
--

INSERT INTO `sys_page_compose` (`ID`, `Page`, `PageWidth`, `Desc`, `Caption`, `Column`, `Order`, `Func`, `Content`, `DesignBox`, `ColWidth`, `Visible`, `MinWidth`) VALUES('', 'index', '998px', 'Your block description here', '_Block lang key', 2, 0, 'MyFunction, '', 1, 34, 'non,memb', 0);

this will create new block into index page

2.

then you should open the - templates/base/scripts/BxBaseIndexPageView.php

and paste this function (before : function getBlockCode_Tags($iBlockId) { for example ) :

function getBlockCode_MyFunction($iBlockId) {

return 'My special block';
}

3. Clear all cache file

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 12 May 2010

Hi Guys,

 

I need a little help. I want to show all groups when clicking on the groups tab. But I can't manage to do so. I did add the block but I cant link it to show all groups on the page.

 

Any help will be really appreciated.

 

 

Thanks,

Ahtasham

 

 

Quote · 27 Sep 2010

Thanks, Sasha!  I was able to add a new block in minutes.  

Quote · 17 Oct 2012

Dumping data for table `sys_page_compose

 

how to dump data for table sys_page_compose?

i was able to execute the sql query then i got stuck

help please

Quote · 10 Apr 2016

um - the page builder allows you to add blocks - without messing with the database directly. If you want to add php blocks - there is a url you can go to (already listed in another post) which will then add php blocks - which you can use on any page editable with the pages builder.

caredesign.net
Quote · 10 Apr 2016

If you want to add php blocks - there is a url you can go to (already listed in another post) which will then add php blocks - which you can use on any page editable with the pages builder.

Can't we use PHP in the new text blocks?

Michel on Meta-Travel.com

TravelNotes.org - The Online Guide to Travel
Quote · 10 Apr 2016

you can use javascript in the new text boxes - dont think you can add php - never tried.

caredesign.net
Quote · 10 Apr 2016

 

you can use javascript in the new text boxes - dont think you can add php - never tried.

For PHP, you should use the PHP block. Run this URL to add it:

/administration/pageBuilder.php?action_sys=addCodeBlock
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 10 Apr 2016

Thanks, Nathan.

{"result":"ok"}
TravelNotes.org - The Online Guide to Travel
Quote · 10 Apr 2016
 
 
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.