Can I add text or an HTML box to a "special block"

Hello Everyone,

I have a question. I would like to add text to a block explaining what my members are seeing. For example. in my events block on my index page, I would like to add above the events themselves something like, "The upcoming events listed below are posted by fellow members". (just an example, not sure what I want it to say yet).

I would also like to have it in some form of HTML, because I would also like to be able to add "Events Listing Sponsored By:" and add a banner add or something for that sponsor. I'm almost sure there is a simple way for those who know how to do this, but for us that don't know code well, well that's a different story.....

Thank you all in advance,

Mel 

Quote · 8 Jul 2013

The simple way is to pay someone to do it and go and sit in the sun Cool

All other ways will be a lot harder since pages are build dynamically, meaning that the text should be available for the script to include when rendering the page. This means adding variables for displaying whatever it is you want to display, but also creating a place where you can add the information you want to display.

 

Even when you want to keep it simple you're looking at a few hundred $$$ development costs, unless someone has time and sees something in developing a mod for that.

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

If the block is a php block, and you can edit the code of the block, then a simple php echo statement can work.  You can even insert html markup and css styling.  Just place the php echo at the top of the code that generates the content.

Here is an example of heredoc.

// start the string with 3 < it doesn't have to be any particular string or length
// but it's common to make it in all caps.
echo <<< EOT
in here is your string
it has the same variable substitution rules
as a double quoted string.
when you end it, put the indicator word at the
start of the line (no spaces before it)
and put a semicolon after it
EOT;

Geeks, making the world a better place
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.