How to display the Special Block

Hello,

  I added a "Invite Teacher" special block in Account page at Admin Panel by inserting values in my database. Though the block in Active Block content but its not appears in front end of the Account page.

Quote · 6 Jul 2013

Is your newly added block outputting somthing?

Create a simple code snippet like: echo "boonex"; and see if that is displayed in the block. If so... you probably have a bug in your current snippet.

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 6 Jul 2013

Thanks for a reply,

     How could we create a button in a special block, on clicking that button new window shall be open.

 

   

Quote · 8 Jul 2013

You need to go back to the beginning and tell us how you created that block. Special Block has a specific meaning in dolphin and i don't think you fully understand what it is.

Dolphin has several block types. The most common block is called a Special Block. But these block types are dolphin internal blocks that call specific code on the page the block was designed for. They generally cannot be copied and using them as a reference for creating your own block is also not to be done. They have a specific purpose and have only one function.

Next is HTML blocks which is one of the user creatable blocks. Next is a PHP block which is also a user creatable type but requires the use of php mods available in the market to create them.

There are also RSS and PFBlock both of which are also unique block types not commonly used and have a specific purpose.

PHP blocks are what you should be using when a advanced user creatable block type is needed.

The func and content fields in the database determine what type of block it is, what it can do, and how dolphin handles it.

So before i can help, i need to know exactly how your created this block and why your calling it a special block. Because i think we first need to correct your misunderstanding of dolphins block types, what they are used for and how to create them.



https://www.deanbassett.com
Quote · 8 Jul 2013
 
 
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.