Home » Blog

Bing

It’s taken a few months but eandhbaxendale.com is finally back in Microsoft’s search index, at last count there were 100 indexed pages, so they have approximately another 100 – 200 to go.  Hopefully we will start to see a slight increase in the number of visitor’s to the site, because when we disappeared from the Microsoft search index, the number of visitors did tail off a bit, luckily the majority of our visitors come via google and yahoo any way.

Web Server Move Completed

This morning I moved eandhbaxendale.com from a windows server to a Linux server which will allow me more control over a few things including redirecting old pages, the Linux platform also has better support for php which is the direction the site is moving in now.  Hopefully the downtime didn’t cause to many problem, that’s why I did it Sunday morning when visitor numbers are at their lowest.

Trussed Rafter Enquiry Form Update

It’s taken most of the day but I have finally finished updating (streamlining) the trussed rafter enquiry form, previously there were three separate forms, one for each roof shape.  Well now there is a single (SMART) form, I have utilised the spry accordion widget to break the form up into smaller sections, with each panels content being drawn from a separate include file (easier to update individual sections that way). 

 The form validation is now handled by tmt.spry.widget.AccordionForm by massimocorner.com this validates each panel as you move between them and reports any errors in a div located above the accordion.  So what makes it SMART, well panel one includes three building shapes, picking a shape updates the next panel with the matching roof shapes, which intern updates the next panel with the correct form fields to collect the necessary measurements for the building and roof shapes selected.

I am planning on updating the other forms on the website with similar features and layouts, maybe next week if I get chance, definitely won’t be Thursday though as I am going to Wolf Systems in Coventry to attend a Software Focus Group.

Site-wide Changes

After a few hours trying to get a php if… else statement working I was finally able to extend the dynamic highlighting effect for the navigation panel into the blog, so if you are on the 2006 archive page the 2006 archive will be highlighted in the navigational panel.  I have also moved the header, search box, menu, and page footer for the main site into separate files, to make it easier to update them and to reduce the size of the individual pages.  At the same time I have converted most of the site to php rather than html, this means if I need to include something from the blog in the main site I can without any problems, the only part of the site that isn’t php now are the error pages which will remain asp for now.

WordPress update

I have just completed updating wordpress from version 2.7.1 to version 8, there was a slight problem during the update which meant that the blog, the eandhbaxendale.com home page and the successful enquiry page were down for a while.  To fix the incomplete automatic update I had to manually install the update which was a slow process given that Adobe Dreamweaver kept dropping the connection to the web server, but I got there in the end and all is well again.

New Theme Switched On

So after a bit of tweaking I have decided to bite the bullet and switch the new theme on, I have managed to sort out a few issues, some remain but at the moment I am not to concerned about them.  I will however continue to tweak a few things every so often until I am completely happy with it.  If anyone has any suggestions please feel free to use to comment form (if it works) or  the general enquiry form to send them in.

Blog Theme Update

So a couple of weeks ago I mentioned that I had started working on a new theme for the blog, a theme based upon the rest of eandhbaxendale.com, well with some help from Luke over at lunamedia.co.uk I can tell you that it is getting closer to being finished, everything seemed to be working when I took it for a test drive earlier today, however I have decided not to switch it on just yet. 

There are a few issues to sort out first, which are mainly to do with the styles used.  There is also an issue with left aligned images and the post meta data floating up into the image, if the image extends past the last line of text in the post, the temporary fix is to right align them but I would like to find a better solution if possible.  Time permitting I would like to have it up and running by next week, I would also like to finish off the trussed rafter types and trussed rafter eaves details pages as well which I started to update a few weeks ago but got distracted by other jobs at work.

Building the villa’s the easi-way

Today we delivered the easi-joist floor package and trussed rafter roof package for another Kensington Developments Villa, bringing the total delivered so far to 9.  We actually visited the site to measure up for the next set of garages, and whilst we were there, we found out that the first two villa’s which are nearing completion are to be handed to over to their owners in four weeks time.

To find out more about easi-joist visit the flooring section of our main site and to find out more about the Villa Collection at Lytham Quays visit the Kensington Developments page in our portfolio section of our website.

News Page to be Deleted

Now that the blog is up and running properly, the only change still to make is to switch the theme to a theme based upon the rest of eandhbaxendale.com, I have moved all the news articles from the existing news page into the blog and later today I will delete the news page and setup a 301 redirect to the blog.

I have also removed the latest new articles from the home page and replaced them with excerpts from the four latest blog posts, this has meant changing the home page (index.html) from an html page into a php page so it would work with the blog. This change however should not cause any problems though because all links to the home page should be addressed as http://www.eandhbaxendale.com/ which automatically displays any page named index whatever  the extension.

Dynamic Site Navigation

Someone recently saw one of my previous posts about the changes I have made to the site’s navigation panels and suggested that I should write another post going into more detail, so here I go.  For the navigation panels I am using a dreamweaver spry accordion, so the first step is to modify the accordion stylesheet so the panel looks how you want it to, in my case I set a width and added background images to the accordion panels.

Next you need to add an unordered list to each panel, so you will have a bullet point for each page that looks something like this

    <div id=”Menu” class=”Accordion”>
      <div class=”AccordionPanel”>
        <div class=”AccordionPanelTab”>Company</div>
        <div class=”AccordionPanelContent” >
          <ul>
            <li><a href=”about.html”>About Us</a></li>
            <li><a href=”contactus.html”>Contact Us</a></li>
          </ul>
        </div>
      </div>

Now you need to style that list, to remove the bullets etc.

#Menu ul {
 list-style: none;
 margin: 0;
 padding: 0;
}
#Menu li {
 width:180px;
 height:20px;
 background-image: url(../Images/back4.png);
 line-height: 20px;
 text-indent: 5px;
 font-family:arial, verdana, sans-serif;
 font-size:0.6em;
 cursor:pointer;
}
#Menu li a {
 display: block;
 color: #000;
 text-decoration: none;
}

That will give your menu the look your after but now I want the active page to be highlighted in someway or another, so this is what makes it dynamic.  The first step is to add a unique id to the opening body tag of each page e.g. <body class=”twoColFixLtHdr” id=”company1″> and then you need to add unique ids to the links in your menu e.g.

            <li><a href=”about.html” id=”c1″>About Us</a></li>
            <li><a href=”contactus.html” id=”c2″>Contact Us</a></li>

Now you need to go back to your stylesheet and create a new style like this:

#Menu li:hover { font-weight:bold; }
body#company1 a#c1, body#company2 a#c2{
 display: block;
 background-image:url(../Images/openpage.png);
 font-weight: bold;
}

What those two styles do are change the text to bold and the background of the link for the open page, the main advantage this has is that you can use the same code for the menu on each page without having to manually change the style for each pages own link.