floko Posted July 29 Share Posted July 29 Hi everyone, I added a text field (c_element_text) to a template, went to a page which uses this template and then edited the text field's content. Although saved successfully, the text field does not show up in frontend. Any idea where to look to solve this? Thanks a lot in advance! Link to comment Share on other sites More sharing options...
bernhard Posted July 29 Share Posted July 29 Hi @floko and welcome to the forum and processwire. From your other thread it sounds like you don't have access to the template files? So I'm wondering if you added your new field somewhere to the output in the template file? ProcessWire is very open in how anyone develops a website with it, but usually the template file is in /site/templates/[name-of-the-template].php There you should have something like <?php echo $page->c_element_text ?> otherwise only adding fields to templates does not output anything. If you don't have ftp access it might even be possible to modify templates with tracy debugger, see https://processwire.com/blog/posts/introducing-tracy-debugger/#template-editor-panel; But be very careful with that as changes might brake your website and are instantly live - so this should only be your last resort. 1 Link to comment Share on other sites More sharing options...
floko Posted July 29 Author Share Posted July 29 Hi @bernhard and thanks for your warm welcome! Indeed, I will only have access to template files in a few weeks from here. OK, now I see why the changes to the page do not show up in frontend. Seems I will simply have to wait for access via ftp client. Thanks a lot for clarifying! (I am hesitating to fiddle with the templates via tracy debugger, as I am new to both PW and the company I am working at, but thanks anyway for the hint!) 1 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