matsmats Posted July 26, 2015 Share Posted July 26, 2015 Hey guys, i´m new in working with processwire, so please be patient Is it possible to define global variables? For example: In the upper part of my website is the phone-number and adress of a client. It is the same on every page. Usually i would write it static into my template. But is there a possibility that my client can edit it in the backend? Sorry for my bad english. I´m from germany. Best regards Mats Link to comment Share on other sites More sharing options...
tpr Posted July 26, 2015 Share Posted July 26, 2015 Create a Settings page and add these fields to it. 1 Link to comment Share on other sites More sharing options...
kreativmonkey Posted July 27, 2015 Share Posted July 27, 2015 Look at this tutorials: http://wiki.processwire.com/index.php/Basic_Website_Tutorial#Creating_a_Site_Settings_System or https://processwire.com/docs/tutorials/simple-website-tutorials/the-basic-website/page2 Link to comment Share on other sites More sharing options...
FrancisChung Posted August 18, 2017 Share Posted August 18, 2017 Update : The second link works but the first doesn't. So try :https://processwire.com/docs/tutorials/simple-website-tutorials/the-basic-website/page2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now