December 4, 2007 - 7:20pm
I remember something a long time teacher said, "Nick, if you make a suit out of a gorrilla, the arms are too long." I forgot why that was relevent to the topic of theming menu trees.
Moving on, here's a nice little function I wrote to return a themed menu tree by path.
<?php
// will return all menu items under "administration".
print theme('menu_tree_by_path','admin');
// will return links to all node submission forms
print theme('menu_tree_by_path','node/add');
// return the correct menu array by path
function menu_get_mid_by_path($path) {
// oddly, menu_get_item accepts a path, but returns the parent id.
December 4, 2007 - 7:14pm
In fact, the best way for fanboys to get me to replace my BlackBerry with an iPhone is probably to stop trying. Apple's products sell themselves better than an overbearing guy in a "Geek Pride" t-shirt ever will. -Paul Boutin, Valleywag
November 26, 2007 - 6:53pm
November 12, 2007 - 8:59pm
We, the developers of ON Networks released version 1.1 of our website this evening (its built off of drupal of course... if it weren't, than I would go sharing it with the planet, would i?). The notable improvements are ajax comments, tooltips for episodes, and a global navigation.
November 5, 2007 - 8:07pm
The other quote of the day was chic, but this quote of the day is 100X times scarier (for americanski). "When I start seeing rap stars flashing euros instead of U.S. dollars, I know our economy is in trouble." -Mark Olson
November 5, 2007 - 7:58pm
"Once you accept that mushrooms and warp zones can be punishments rather than rewards, you start to question the nature of the game and to ponder strategic gambits you would never have considered while playing the original Super Mario Bros." -Chris Suellentrop, Slate, "Super Mario Bros: The lost levels"
November 5, 2007 - 7:22pm
November 2, 2007 - 8:20pm
November 1, 2007 - 8:58pm
October 22, 2007 - 8:13pm
Back at ON Networks, we just finished upgrading from tinyMCE* to WYMeditor to power the textareas on the backend.
WYMeditor's main concept is to leave details of the document's visual layout, and to concentrate on its structure and meaning, while trying to give the user as much comfort as possible (at least as WYSIWYG editors).
...The end-user defines content meaning, which will determine its aspect by the use of style sheets. The result is easy and quick maintenance of information.
Pages