Skip to content
Sitemason - Build on Us

Sitemason Blog

Developer Tips: Custom Navigation

No matter how helpful Sitemason Library methods are, sometimes you gotta go custom. One common requirement is to break out from basic navigation menus to customize the display of a site's navigation. A simple example below:

One Level Navigation

<ul>
<?php
    foreach ($content_xml->nav as $nav) { 
        echo '<li';
        if ($nav->currently_displayed || $nav->current_site) {
            echo ' class="active"';
        }
        echo '><a href="' . $nav->link . '">' . $nav->title . '</a></li>'; 
    }
?>
</ul>

Read on for more examples of customizing navigation with PHP

Developer Tips: Custom Queries for Live Testing

Today we're launching a new series for developers to regularly offer tips and tricks for developing in the Sitemason environment. Our first tip is to use custom queries for testing code on a live site. 

One thing that is very different for developers working on the Sitemason platform for the first time is developing in a live production environment. Read more to learn about a great way to easily switch between test and production code. 

Updated: Building Sitemason 6 at BarCamp Nashville Oct 20th

BarCamp 2012 logoUpdate: My BarCamp session slides and notes are available at www.sitemason.com/barcamp

For the sixth consecutive year, Nashville is hosting BarCamp, the defining "un-conference" for our technology community. This year, I have the distinct pleasure of presenting "Adventures In Building Our Dream Interface". Go get signed up for the free day of fun and learning and checkout my session. Details and more about BarCamp after the break!

Sitemason 6 Watch: Actions in Action

Continuing our interface teaser, today we wanted to show off how Actions will work in the new interface. Sitemason defines Actions as any change that modifies the list. Here's a brief video showing off Adding a Page, Reordering the list, editing a Page, Duplicating a Page, and finally deleting that duplicate. Enjoy!

Click Local: Nashville Edition

Griffin, FoxyCart, Emma, Raven, and Moontoast logos togetherNashville is a pretty neat place. It's notable of course for its music, publishing, and healthcare industries. However Nashville has been making quite a name for itself as a technology town. Recently named separately as one of the best cities for startupstech jobs, and as a city of the future, Nashville's star is certainly rising.

A tech town is only as good as it's companies, of course. And today we want to highlight a handful of those that glowingly represent our city and are models and inspirations to us here at Sitemason. Read more...

Come to Live on the Green!

Overhead night time view of Live on the Green 2011

Anyone who's moseyed through downtown Nashville the past couple Thursday evenings knows just how successful Live On the Green has become. The free concert series has grown to be a major attraction in town. With such a large production, a lot of people (fans, bands, the mayors office, sponsors, etc.) depend on the website being an effective communication tool. The last thing promotors need to worry about is their website performance. Learn how Sitemason works with clients and partners and check out the remaining schedule!

Recent Forum Posts

Warning: file_get_contents(https://sitemason.zendesk.com/forums/279545/entries.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /mnt/files/s/sitemason.com/www/smTemplate/inc/support/zendesk-pull.php on line 11 Warning: usort() expects parameter 1 to be array, null given in /mnt/files/s/sitemason.com/www/smTemplate/inc/support/zendesk-pull.php on line 14 Warning: Invalid argument supplied for foreach() in /mnt/files/s/sitemason.com/www/smTemplate/inc/support/zendesk-pull.php on line 17