sorry for english, traduct google
Hi all, I would like to display the block mx tabs in all modules, then more particularly in the homepage and forum.
The problem is that the block c mx tabs can display only if the block up or down, that they are visible on that page Home The problem for my forum module.
In seeking a little j I change this variable:
Code:
$ echo = ob_get_contents ();
ob_end_clean ();
if ($ block ['position'] == "c" | | $ block ['position'] == "d") {
$ content = $ echo;
}
else {
$ content = "Where am I? <br /> Here I Have not enough space. <br /> <b> I am a centerblock </ b> ";
}
AC
Code:
$ echo = ob_get_contents ();
ob_end_clean ();
if ($ block ['position'] == "c" | | $ block ['position'] == "d") {
$ content = $ echo;
}
else {
$ content = $ echo;
}
is a good solution or it has another way of doing things?