Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created July 19, 2012 20:06
Show Gist options
  • Select an option

  • Save objectivehtml/3146425 to your computer and use it in GitHub Desktop.

Select an option

Save objectivehtml/3146425 to your computer and use it in GitHub Desktop.
{exp:stash:set name="page_content" process="end"}
<h1>Order History</h1>
<ul class="orders">
{exp:channel:entries
channel="orders"
dynamic="no"
author_id="CURRENT_USER"
}
{if no_results}
<li class="empty">You have no past orders.</li>
{/if}
<li><a href="#">{title}</a></li>
{/exp:channel:entries}
</ul>
{/exp:stash:set}
{exp:stash:get name="page_content"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment