row/column page not displayed properly
Permalink
We have a web page that uses row/column layout. The edit page looks perfectly fine with 4 rows and 4 columns. However, when viewed "live", the page comes out as one long column. I am trying to help out with the website and sort of new to concrete5, so any pointers would be greatly appreciated.
Well, just to finish this out. We were able to get the row/columsn working by updating one of the php header files.
I modified the following file: elements/header_required.php
I moved ccm.base.css and ccm.base.js out of the isRegistered conditional.
This may not be ideal in the long run, but it does solve our issue.
BEFORE:
<?php
$html = Loader::helper('html');
if ($u->isRegistered()) {
$this->addHeaderItem($html->css('ccm.base.css'), 'CORE');
$this->addHeaderItem($html->javascript('ccm.base.js'), 'CORE');
$this->addHeaderItem($html->javascript('jquery.js'), 'CORE');
} else {
echo '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>';
}
AFTER:
<?php
$html = Loader::helper('html');
$this->addHeaderItem($html->css('ccm.base.css'), 'CORE');
$this->addHeaderItem($html->javascript('ccm.base.js'), 'CORE');
if ($u->isRegistered()) {
$this->addHeaderItem($html->javascript('jquery.js'), 'CORE');
} else {
echo '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>';
}
Have not seen any side effects with this move, so I guess this fixes the problem
I modified the following file: elements/header_required.php
I moved ccm.base.css and ccm.base.js out of the isRegistered conditional.
This may not be ideal in the long run, but it does solve our issue.
BEFORE:
<?php
$html = Loader::helper('html');
if ($u->isRegistered()) {
$this->addHeaderItem($html->css('ccm.base.css'), 'CORE');
$this->addHeaderItem($html->javascript('ccm.base.js'), 'CORE');
$this->addHeaderItem($html->javascript('jquery.js'), 'CORE');
} else {
echo '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>';
}
AFTER:
<?php
$html = Loader::helper('html');
$this->addHeaderItem($html->css('ccm.base.css'), 'CORE');
$this->addHeaderItem($html->javascript('ccm.base.js'), 'CORE');
if ($u->isRegistered()) {
$this->addHeaderItem($html->javascript('jquery.js'), 'CORE');
} else {
echo '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>';
}
Have not seen any side effects with this move, so I guess this fixes the problem
So I dumped the page contents for the edit page and the live page. The edit page loads in many, many more js files associated with ccm. I assume these files have the necessary foo to generated the row/column format properly (lots of ccm-layout on page). What determines which files are needed when generating page?