On my home office I got a development machine running windows XP with apache as webserver and mysql 5.
I´m facing a weird problem with page blocks module. All pageblock content insert is not shown on the main painel of this module.
I can see the page with 'Add Block' button, but the inserted blocks are never shown.
When I test with my host server (with linux + apache) everything works fine.
I saw and compare the rendered source and find out that locally a piece of code is being generated, check this out:
Local code (windows ):
Code: Select all
<__script__ language="JavaScript" type="text/javascript"><!--
function populateHiddenVars() {
return true;
}
//-->
</__script>
Code: Select all
<__script__ language="JavaScript" type="text/javascript"><!--
function populateHiddenVars() {
document.getElementById('parent45ListOrder').value = Sortable.serialize('parent45');
return true;
}
//-->
</__script>
And this is the piece of code:
Code: Select all
<?php
foreach($this->lists as $list) {
?>
document.getElementById('<?php echo $list['input'];?>').value = Sortable.serialize('<?php echo $list['list'];?>');
<?php
}
?>
regards
Israel