Skip to content

Instantly share code, notes, and snippets.

{exp:cartthrob:customer_info}
{exp:cartthrob:save_customer_info_form return=""}
<p>
Select a country: {exp:cartthrob:country_select name="customer_country_code" selected="{customer_country_code}"}
</p>
<p>
current selected country code: {customer_country_code}
</p>
<p>
<input type="submit" name="Submit" />
@jamiepittock
jamiepittock / gist:2708107
Created May 16, 2012 06:42
An old Jambor-ee article: A future recipe for ExpressionEngine?

Written by Simon Rudkin (@simonrudkin), this article was originally published on the now defunct, mythical EE fansite Jambor-ee (beautifully crafted by @jamiepittock for at least 3 weeks) back in January 2009.

I was reminded of it after reading the recent chatter on Twitter and various blogs about ExpressionEngine and themes so thought it was worth republishing.

A future recipe for ExpressionEngine?

January 28th 2009

I’ve just finished making a really tidy events calendar using ExpressionEngine. It keeps the events in one weblog, venues in another, uses custom fields to add a Google Maps link for each venue, and pulls it all together in a template group that splits events into upcoming and archived. Just the kind of project that EE handles with aplomb, and I’d love to share it with you but, erm… w

@jamiepittock
jamiepittock / gist:1360275
Created November 12, 2011 09:09
Update profile form
{embed="layout/_start"
body_class=""
section=""
{!-- BETTER META OPTIONS BELOW --}
title=""
title_suffix=""
title_prefix=""
description=""
keywords=""
robots_index=""
@jamiepittock
jamiepittock / gist:1360274
Created November 12, 2011 09:07
Update password form
{embed="layout/_start"
body_class=""
section=""
{!-- BETTER META OPTIONS BELOW --}
title=""
title_suffix=""
title_prefix=""
description=""
keywords=""
robots_index=""
======================================================
Setting up Django using Apache/mod_wsgi on Ubuntu 8.10
======================================================
This article will cover setting up Django using Apache/mod_wsgi on Ubuntu
8.10. The article is targeted at a production environment, but keep in mind
this is a more generalized environment. You may have different requirements,
but this article should at least provide the stepping stones.
The article will use distribution packages where nesscary. As of 8.10 the
#!/usr/bin/env python
from __future__ import with_statement # needed for python 2.5
from fabric.api import *
from fabric.contrib.console import confirm
# ================================================================
# NOTE:
# using this fabfile expects that you have the python utility
# fabric installed locally, ssh access to reamea.com, and your
# ssh public key associated with the account 'mboza@reamea.com'
{exp:weblog:entries}
{exp:my_module:my_method}
{if alt_title != ""}{alt_title}{if:else}{title}{/if}
{/exp:my_module:my_method}
{/exp:weblog:entries}