Closed jcdwyer1 closed 10 years ago
@jcdwyer1 this is definitely a task for us. I'm on it.
@jcdwyer1, I solved this problem by adding code that reacts to the "type" frontmatter variable by placing the zip code widget in the page header.
If you look at snapshot-texas.md, you'll notice there's a new variable in the header called "type" that has the value "zip-widget". Adding the "type" variable to any other page that uses the "page" layout and specifying the value of "zip-widget" will cause the zip code widget to appear in the header as you see on the SNAPSHOT Texas page:
http://feedingtexas.org.s3-website-us-east-1.amazonaws.com/learn/communities/snapshot-texas.html
Excellent solution, thanks
Update to this ticket necessary to get other things working...
You now add the zip code widget to the header by using a frontmatter variable called zip-widget
and give it a value of true
.
http://feedingtexas.org.s3-website-us-east-1.amazonaws.com/learn/communities/snapshot-texas.html
This page needs to include a zipcode lookup box like the home page. not sure how to do this within the confines of a page layout.