Hi Prit,
1. I just moved all my Alpha1 customization into the new Beta1 release. For now, everything seems to work ok. If I find any bug I let you know.
2. I used YSlow to measure performance: beta1 just shows a rating of 68 (+1% improvement). My db has only 2 posts :)
By the way your new beta1 demo gets only 66 points in YSlow !
It seems to me that server performance and even ISP has strong impact on results.
My ISP (cable) is known for its DNS problems, sometimes I enable a small freeware called FastCache from AnaloX to use dns from a different neighborhood to solve the problem. FastCache also builds a local cache to speeds up access.
Will try at different times of the day and see what happens.
3. The changes I did to readapt the script to look as my previous Alpha1 design:
- pasted my alpha1 "layout" (code from <!DOCTYPE to </html>) into beta1
- added execution time code
- added case contacto in mainlogic, and function contacto() for mail form
- copied javascripts and include folders
- uploaded .htaccess
- updated listPosts() and viewEntry() functions for post presentation
- updated newEntry() and editEntryForm() functions for char limiting in title and cat
4.
Question A: what's the purpose of the following code ?
<?php
if (trim($_SESSION['notice']) !== "") {
?>
<script src="<?php echo $blogPath.'/javascripts/addremove.js' ?>" type="text/javascript"></script>
<script type="text/javascript">
Event.add(window, 'load', function() {
var i = 0;
var el = document.createElement('p');
el.innerHTML = "<?php echo $_SESSION['notice'] ?>";
el.setAttribute("id","notice");
el.setAttribute("class","error");
Dom.add(el, 'noticehd');
var t=setTimeout("Dom.remove('notice');",3300);
});
</script>
<?php
unset($_SESSION['notice']);
}
?>
<div id="noticehd"></div>
Question B: it seem you now load nicEdit locally. What about the nicEditIcons.gif ?
Thanks in advance :) My test blog > http://enbaires.com/pritlog_test/