Quote from: nilskaspersson at Feb 08, 2012, 05:05 PMAll right, thanks for the tip.
I have one final question; I want to make an easy way for my client to update her, say, mail adress so that it changes at the contact page, footer and mail form at the same time.
What element can I use for this?
There are many ways to accomplish this, here is what I do:
1. Create a template for the Home Page, then apply that template for the website Home Page.
2. Add a Template Variable "settings-email" and give it access to the Home Page template.
3. Install the
Snippet GetResourceField from Package Management.
4. Add the GetResourceField Call where I want my email to appear, for example:
<div id="footer">
My email is: [[getResourceField? &id=`1` &field=`settings-email` &processTV=`1`]]
</div>
The &id=`1` is the id of my Home Page, so what I need to do is just open the Home Page and edit my email, and it will change in the footer and anywhere else I want it to change.