[Solved] I think the layout problem. CRITICAL!

Change your online store into modern look with myStore eCommerce VirtueMart Joomla template - discussion forum.
GK User
Mon Sep 20, 2010 8:25 am
Hi,
until today I used the template Corporate2 with Jomsocial installed. Work only with the Left and the main module. No problem till here. The other day I download the template MyStore, I install it and suddenly a problem in the layout of the frontend Jomsocial. I thought it was some problem with the modules in the left. Disable the left and leave only the main, but nothing. The level of cMain Jomsocial remains under the Sidebar. Out of curiosity, I open the page "friends" and see that the layers are stacked and fixed on the page. In practice, I do not know where or how there is any problem on the template.
Since the critical thing, can someone help me?
Thank you.
User avatar
Senior Boarder

GK User
Mon Sep 20, 2010 11:08 am
ok, but could you show us your website ?
User avatar
Administrator

GK User
Mon Sep 20, 2010 11:15 am
Sure. At this moment are a Corporate2 template. When you see a myStore and the problem, i switch it for you.
User avatar
Senior Boarder

GK User
Mon Sep 20, 2010 11:15 am
User avatar
Senior Boarder

GK User
Mon Sep 20, 2010 11:17 am
Ok, please switch it
User avatar
Administrator

GK User
Mon Sep 20, 2010 11:19 am
Ok.
User avatar
Senior Boarder

GK User
Mon Sep 20, 2010 11:26 am
Ok,I've found a reason of your problem. Could you send me FTP access to your website to dziudek[at]gavick[dot]com ? I've to change code in index.php file and probably some code in the CSS files.
User avatar
Administrator

GK User
Mon Sep 20, 2010 11:30 am
Sorry but i can't send you FTP access. I am sending files via email. index.php template css folder and all ok?
User avatar
Senior Boarder

GK User
Mon Sep 20, 2010 11:33 am
so please try earlier change in template index.php file change function gkCSSReplace to:
Code: Select all
function gkCSSReplace(){
    $buf = JResponse::getBody();
   
    preg_match_all('/<link .* href=".*(modules|components).*/>/', $buf, $matches);
    for($i = 0; $i < count($matches[0]); $i++){
        $buf = str_replace($matches[0][$i], '', $buf);       
    }
   
    $startpoint = strpos($buf, '</title>');
    $startpoint += 8;
    $buf_start = substr($buf, 0, $startpoint);
    $buf_end = substr($buf, $startpoint);
    $buf_links = '';
    for($i = 0; $i < count($matches[0]); $i++) {
        $link_to_add = $matches[0][$i];
        if(preg_match('/styleIE6/', $matches[0][$i])) { $link_to_add = '<!--[if IE 6]>' . $link_to_add . '<![endif]-->'; }
        if(preg_match('/styleIE7/', $matches[0][$i])) { $link_to_add = '<!--[if IE 7.0]>' . $link_to_add . '<![endif]-->'; }
        $buf_links .= $link_to_add;
    }
    $buf = $buf_start . $buf_links . $buf_end;
    JResponse::setBody($buf);
}

I hope it helps without changes in the CSS file
User avatar
Administrator

GK User
Mon Sep 20, 2010 11:43 am
GREAT!!! Ok. Should be ok. For now, thanks!
User avatar
Senior Boarder

GK User
Mon Sep 20, 2010 11:43 am
ok :) I'll include this fix also in todays update ;)
User avatar
Administrator


cron