Pullfolio-theme-howto is a project mainly written in ..., it's free.
Information on how to create custom themes for Pullfolio.com
This repository provides information of how Pullfolio custom themes work. After upgrading to a trial or purchasing a pro subscription, you will be able to clone one of the provided themes and modify from there. You have complete control of the look and feel of your Pullfolio site by customizing the theme files.
[theme name] |__ assets |__ layouts |__ templates
The assets folder contains your CSS stylesheets:
The layouts folder contains 3 partials:
The templates folder contains templates for your site:
In all pages, you have access to the follow variables:
portfolio - current or default portfolio
user
photos - essentially the same as portfolio.photos, you would typically use a for loop to list all of them in portfolio.liquid, each of these photos contains:
in contact.liquid, you have access to:
in about.liquid, you have access to:
display_galleriffic(portfolio) - display gallerrific code block for a given portfolio, you invoke this by
{ portfolio | display_galleriffic }
asset_url(asset) - this provides a URI to something in the assets folder
link_to_page, link_to_portfolio - provides links to page or portfolio, see _header.liquid for how to use them
This is the code of our Signature on Black theme, it uses our helpers (aka Liquid filters) to provide optimized performance by utilizing MemCached.
This is the same signature-on-black theme with a re-written portfolio.liquid to show how to go through the photos of the portfolio to generate the HTML block:
<div id="thumbs">
<ul class="thumbs noscript">
{% for photo in photos %}
<li>
<a class="thumb" href="{{ photo.url_large }}" title="{{ photo.title }}">
<img src="{{ photo.url_square }}" alt="{{ photo.title }}" />
</a>
<div class="caption">
<div class="flickr-link">
<a href="{{ photo.photopage_url }}" target="_blank" title="Go to Flickr page of this photo">Flickr link</a>
</div>
<div class="title">{{ portfolio.name }} : {{ photo.title )}}</div>
</div>
</li>
{% endfor %}
</ul>
</div>
You can download these theme examples in either zip or tar formats:
You can also clone the project with Git by running: $ git clone git://github.com/ayn/pullfolio-theme-howto
You can also view the source code on GitHub.
© 2009 Pullfolio.com, themes examples are released under the MIT license