Skip to content

Instantly share code, notes, and snippets.

View johnbacon's full-sized avatar
🤓
Hello, World!

John Bacon johnbacon

🤓
Hello, World!
View GitHub Profile
@johnbacon
johnbacon / gist:3967849
Created October 28, 2012 06:11 — forked from kmgdevelopment/gist:3024481
Low Variables Single Tag
{exp:channel:entries channel='external_link'}{exp:low_variables:single var='{external_link}'}{/exp:channel:entries}
{exp:channel:entries channel='external_link'}{exp:low_variables:single var='{external_link:var}'}{/exp:channel:entries}
@johnbacon
johnbacon / gist:2137375
Created March 20, 2012 15:51 — forked from croxton/gist:2135481
Stash embeds
I have a new tag {exp:stash:embed} which allows you to include Stash template files and store
in the database. Files can be fully or partially parsed when read before saving (set), OR
saved and then parsed on retrieval (get). Stash variables can be accessed in the Stash
template files as {stash:variable} and of course all the usual {global_variables} work as
expected.
An example:
{exp:stash:embed
name="news_listing"