Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Exclude Left Panels: /infusions/news/news.php Not working

Exclude Left Panels: /infusions/news/news.php Not working
I will issue for now, https://github.com/php-fusion/PHP-Fusion/issues/1793
Hi Falk,

the params are not working like this


but on the main /infusions/news/news.php works
hello Falk,

I think it's my theme problem. this is what am doing

    $left_span = 3;
    $right_span = 3;
    $main_span = 12;

    $_right_status = (defined('RIGHT') && RIGHT) ? TRUE : FALSE;
    $_left_status = (defined('LEFT') && LEFT) ? TRUE : FALSE;

    if (LEFT && !RIGHT) {
        $main_span = $main_span - $left_span;
    } elseif (!LEFT && RIGHT) {
        $main_span = $main_span - $right_span;
    } elseif (LEFT && RIGHT) {
        $main_span = $main_span - $left_span + $right_span;
    } elseif (!LEFT && !RIGHT) {
        $main_span = $main_span - $_right_status - $_left_status;

    // row 2 - fluid setitngs depending on panel appearances
    echo "<div class='row'>\n";
        echo "<div class='col-xs-12 col-sm-".$main_span."'>\n";
            echo CONTENT;
        echo "</div>\n";

        if (defined('LEFT') && LEFT) {
            echo "<div class='col-xs-12 col-sm-".$left_span."'>\n";
            echo LEFT;
            echo "</div>\n";
        if (defined('RIGHT') && RIGHT) {
            echo "<div class='col-xs-12 col-sm-".$right_span."'>\n";
            echo RIGHT;
            echo "</div>\n";
    echo "</div>\n";

Heya !

Yes I saw RobiNN tested with variables successfully.
I am not sure why it would break variables for you there, but default full center render should be

Please try with that.
Yes, I see it is not excluded with variables. But you also made some cutomization to the theme.
When you render your content you only do

try with

I don´t know why it would matter, but worth a shot.
I did add

Does the exclusion with variables work on default themes on your server?
No, If i use in Version 7 works perfect
What is your PHP version?
PHP not PHP Fusion (System Admin>PHP Info: PHP version)
Webserver software Apache
PHP version 5.6.30
PHP interface fpm-fcgi
MySQL Server version 5.5.52-MariaDB
PHP-Fusion version 9.0
Ok, I re-open and ask for some ideas, version should be OK. https://github.com/php-fusion/PHP-Fusion/issues/1793
Hi Falk,

I got the solution. replace line 413 on private static function check_panel_status($side); and it worked fine

$script_url = explode("/", FUSION_REQUEST);

Replaced with

$script_url = explode("/", $_SERVER['PHP_SELF']);

ok I will update, thank you.
Thread Information
17 posts
1,777 times
Last Post
Last updated on 3 years ago
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.