Cargo home Twitter Devlog

Create a tag navigation menu

Last Updated: Jul 22, 2014 10:34AM PDT
Cargo uses Sets and tags to organize and filter projects. These will allow you to categorize your content or build different "views" of your website. Each project can have many tags associated with it, while each project and page can only be placed inside one Set.

Depending on the design you're using and the desired format, you may want to organize your content with a tag menu instead.
 
Inside the project editor, find the “Tag” field inside the project details area and add the relevant tags to each project:
 photography, fashion, 2012
To create a navigation menu containing links to these filtered views, navigate to the root of your admin (/admin) and click on “New Link”. In the field “Link text” define the title of the tag you're linking to and set “Link URL” as the following:
 
With a Cargo URL:
 http://cargocollective.com/your-site/filter/fashion
With a personal domain:
 http://example.com/filter/fashion
Uncheck “Opens in a new window”.

 
An alternate method is to create the menu manually through Custom HTML: this allows for more flexibility with positioning. To do this, add & modify the following to your Custom HTML (Settings → CSS, HTML, Designs → HTML):
 <div id="tag_menu">
    <div class="link_link">
        <a href="http://cargocollective.com/your-site/filter/tag-one">Tag One</a>
    </div>
    <div class="link_link">
        <a href="http://cargocollective.com/your-site/filter/tag-two">Tag Two</a>
    </div>
</div>
You can then style this through custom CSS:
 #tag_menu {
    position: absolute;
    top: 35px; left: 35px;
}

        #tag_menu a { color: #f02; }
        #tag_menu a:hover { color: #555; }
        #tag_menu a:active { color: #999; }

​You can also style them as you would normally style your text nav links, through .link_link a in your CSS.

tickets@cargocollective.com
http://assets1.desk.com/
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
Invalid characters found
/customer/en/portal/articles/autocomplete