Bigger Than I Thought

After programming some really neat new features, I built the structure for the Marine Biology section. To my surprise, it ended up being larger by page count than the Artificial Reefs section, which I always thought was second after Dive Sites. So far, the total is 925 pages, including these blog posts.

After setting the Biology section, I found that the natural sidebar menu cutoff level for that section is one deeper than Dive Sites and Artificial Reefs. After applying my massive intellect ( ha ha ) to the problem for a while, I came up with a neat solution. It works on a per-page basis, can be used alongside the global setting, and took all of ten lines of new code. That's how I like to program !!!

I've seen a lot of foreign programmers who think that the best solution to any problem is to drown it in as much code as possible. That is so wrong, although it is an excellent way to fleece the client. Ten lines, that's all it took. And another ten minutes to make the necessary database entries. Then I set the global cutoff one deeper, and everything works great!


The Half Way Girl
No print of the movie exists
Type:
shipwreck, freighter, USA
Built:
1919, Portland OR USA
Specs:
( 267 x 49 ft ) 2992 gross tons, no crew
Sunk:
Tuesday June 16, 1925
deliberate - for film "The Half Way Girl"
Depth:
140 ft

Printed from njscuba.net