(SOLVED BUT THERE IS A SIZE PROBLEM) Trouble adding Code!

Yes I have!
MerlinX.zip (42.1 KB)

So i did some progress… I managed to place the searcher on the middle of the page as it should be but still doesn’t load right!

I know I just need a good samaritan that will help me figuring it out and make it work!

I added this code to a brick:

<?php  
    require_once 'rwdGate.php'; 
    $rwdgate = new rwdGate('0a3a46aa60a6f8'); 
?>
<?php  
    $widgets =  array(132182304); 
    $rwdgate->fetch($widgets);  
?> 
<?php  
    if ($rwdgate->isRawResult()) 
    { 
          $rwdgate->printRawResult(); 
          die(); 
    } 
?> 
<?php  
    $list = $rwdgate->getSectionsList();  
     
    if (in_array('132182304', $list )) 
    { 
        echo '<div>'.$rwdgate->getSection('132182304').'</div>'; 
    }  
?> 
<?php $rwdgate->getSection('BODY'); ?>
<?php  
    if (in_array('BODY', $list )) 
    { 
        echo $rwdgate->getSection('BODY'); 
    }  
     
    else 
    { 
        echo 'elementy strony głównej';     
    } 
?> 

There is some code missing as I don’t know where to place it cause is giving me fatal error no matter where I will add it!

Header implementation in the head section:

<?php echo $rwdgate->getSection('HEAD'); ?>

Footer implementation (after implementation of every other element/widget)

<?php $rwdgate->getSection('FOOTER'); ?> ďżź

here is the .htaccess code:

#php_flag display_startup_errors on
#php_flag display_errors on
#php_value error_reporting -1

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?_url=/$1 [QSA,L]
</IfModule>

Hope anyone can help me pleaseeeeeee!!! :confounded::nerd_face:

@Stewie_Griffin I think you are looking at having to pay someone to sort it for you. Post it in the Freelance section for someone to pick up. I had a quick play, but I, probably like others can’t spend time on it.

Ohhhhh!!! I didn’t knew about this freelance section! Now it make sense why no one is really helping… :joy:
This forum has lost its value hehe

HAHA - if only we got paid for the help we gave people. I would be able to afford to pay others to help me.

I figure it out!!! :see_no_evil:

But now Im having some sizing problems. The Search engine looks good in chrome and firefox but not in safari.

Good one

In safari

Any one knows how to fix it? I think there are some CSS problems!

@Stewie_Griffin nice well done man.

Might just have to use the safari dev tools and play a little with the CSS then.