pero-ict-solutions / spree-static-content

Extention to manage the static pages for your spree shop
BSD 3-Clause "New" or "Revised" License
89 stars 398 forks source link

0.10 Beta show in header and footer do not work #10

Closed daretruth closed 14 years ago

daretruth commented 14 years ago

I can directly access pages created in the admin tool, but they do not appear in the header or footer when "visible" and "Show in header" or "Show in footer" are selected.

Thank you,

-Jason

peterberkenbosch commented 14 years ago

mmm, that's not good... :) I will take look and fix this asap.

peterberkenbosch commented 14 years ago

Seems that there could be a misunderstanding. You need to add the content yourself. For example in footer.erb.html:

<% for page in Page.footer_links do -%>
    <%= link_to page.title, page.link %>
<% end-%>
daretruth commented 14 years ago

That's it. :) Ok to close this one.

Thanks,

-Jason

peterberkenbosch commented 14 years ago

Great. Congratz on the new site !