Posts filed under 'Development'
From some early reports, beta 1 is pretty stable and well worth checking out. I will be testing this at home - and then possibly at work to check our sites are ok in it.
Grab it from the Firefox 2 download page.
July 13th, 2006
Lifehacker recently ran a competition for Windows tips, and some of them are pretty good.
Three-Key Shutdown: Hit the Windows key, the U key, then U once more to shut down your computer.
Execute full commands directly from the Run box with /k, like “cmd /k ipconfig”
And a couple more form me:
Lock Computer: Windows key and “L”
Run (combine with the command line tip above :-)) Windows Key and “R”
Anything that makes your life easier has got to be good!
July 11th, 2006
I can type at 43 wpm (199 cpm) according to Joshua Rennert’s typing gadget.
Thats classic 2 finger looking at the keyboard typing - I like many people intend to learn to touch type and never do anything about it.
Now I need to find an open source (or simply free) typing tutor type program.
EDIT: I have decided to give stamina typing tutor a try - done the first 2 lessons and it seems to do the job.
July 4th, 2006
This theme you see here, Blix, doesnt have the sidebar shown by default on pages. This doesn’t suit me, as I need the navigation that lives in the sidebar for my pages. Blix is setup for a few pages which automagically appear in the horizontal menu under the header graphic - fine for some, but I will end up with 20-30 pages in several levels.
Since I couldnt find a great deal of help from the wordpress codex / forums etc, I thought I would write the process down here for posterity.
2 Things need changing to add a sidebar to the blix pages -
1.) Header Template
change the following line
<body><div id="container"< ?php if (is_page() && !is_page("archives")) echo " class=\"singlecol\""; ?>></div></body>
You want to add a # in front of the if statement to stop it executing -
<body><div id="container"< ?php # if (is_page() && !is_page("archives")) echo " class=\"singlecol\""; ?>></div></body>
This prevents the content div getting the class “singlecol” which is normally used to expand the main content div to take up all the available space, which would leave no room for the sidebar and break the layout.
2.) Pages Template
At the bottom of this file:
<!-- /content -->
< ?php get_footer(); ?>
Add the get sidebar code:
<!-- /content -->
< ?php get_sidebar(); ?>
< ?php get_footer(); ?>
At the most basic level thats it - you should have a sidebar on your pages. Right now it will be a little empty, as many of the sidebar features are inside if statements that only show on certain types of pages. You can either edit these or put seperate if statements to format the sidebar just for dispay on pages - its up to you.
February 9th, 2006
Just what I was looking for - nested menus for my pages in Wordpress. I have a lot of static content that needs to be ported over as a mixture of pages and blog posts from my old site (which is still hiding behind this blog).
I dont want a huge list of pages in the sidebar, what I wanted was just to display the main pages, and have sub-pages shown when you are on the parent page or other sub-page. Fold Page List Plugin does just that - and its a single php file to boot. I guess I missed it as I would not have called this folding - expanding or collapsing page menus possibly.
Go grab it here.
February 8th, 2006
X-Ray is a new firefox extension that allows you to view the underlying HTML code on the page. Its simpler than going to view source, but shows less information, presumably to prevent long tags breaking the layout etc. For example you see <a> in front of a link and not the link.
One installed the X-Ray command is available by right-clicking as well as in the Tools menu. When applied to a page it can help you see how the document was constructed without having to go back and forth between the sourcecode and the page in your browser. Is that list made of li dd or p elements? Is that an h3 tag or just some bolded text? X-Ray shows you what’s beneath the surface of the page.
All in all well worth a look, but it would be nice if it was hosted by Mozilla and not on a blog, it works for me but YMMV.
Grab X-Ray here.
January 12th, 2006
IE tab is a Firefox extension that allows you to run Internet Explorer within a tab in Firefox. It uses the embedded IE system, so it will use whatever version of IE that you have installed on your machine. All you need to do is right click on a tab or link etc, and click “view this page in IE”. IE is then loaded up within that tab and you can continue browsing in IE as long as you need. Then simply close the tab and you are back to normal Firefox.
The beauty of this is it makes testing web pages that bit simpler - no running IE, no extra windows (I like my tabs). Since I only ever resort to using IE to check webdesign work or if a site (windows update springs to mind) refuses to work in Firefox. All the normal firefox buttons work so the UI is the same.
Download it here
A simpler alternative to this is the older View In IE extension, which simply adds a shortcut to the context menu which launches IE witg the page you are currently on.
December 14th, 2005
Programmers note pad is a free text editing application. It features all the usual text editing features, with a powerful find and replace system and much more. It handles multiple documents via a clean tabbed interface as well.
It comes with syntax highlighting for common file formats such as html, php and perl files, making editing easier on the eyes. Finally you can collapse elements - so you can hide an entire div or loop. This is a great help for tying to debug old school html table in table layouts.
The software can be found here.
December 11th, 2005