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!


Shipwreck Pinta
Type:
shipwreck, freighter, Netherlands
Name:
The Pinta was one of three sister ships named for Columbus' original three vessels, the Nina, the Pinta, and the Santa Maria.
Built:
1959, Denmark
Specs:
( 194 x 31 ft ) 1000 gross tons, 12 crew
Sunk:
Wednesday May 8, 1963
collision with freighter City of Perth ( 7547 tons) - no casualties
GPS:
40°13.827' -73°50.625' (AWOIS 1988)
Depth:
85 ft, starts at 55 ft