wallchopz Posted June 26, 2014 Share Posted June 26, 2014 (edited) Hi, I have followed Nemo's tutorial on adding fields to the contact form. I have successfully created the fields and connected them to the database and mails. However, I can't seem to connect them to the admin panel. What page does message.tpl customize? How can I show the newly created fields under Customer Service (see attached photo)? Edited June 26, 2014 by wallchopz (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted June 26, 2014 Share Posted June 26, 2014 I think you would have to edit AdminCustomerThreadsController and add your new fields to the "fields_list" array. You might also need to edit renderList function depending on where you stored these fields in the database. I would start with editing the core controller file to make sure you can get it to work properly, but ideally you would want to make these changes as an override, and not edit the core controller class directly. 1 Link to comment Share on other sites More sharing options...
wallchopz Posted June 26, 2014 Author Share Posted June 26, 2014 Hi bellini13, Thank you for the reply. What do you mean by 'AdminCustomerThreadsController'? What exact file do I need to allow me to add my new fields to the "fields_list" array? Link to comment Share on other sites More sharing options...
bellini13 Posted June 26, 2014 Share Posted June 26, 2014 The file is located here... /controllers/admin/AdminCustomerThreadsController.php 1 Link to comment Share on other sites More sharing options...
wallchopz Posted June 26, 2014 Author Share Posted June 26, 2014 Hi bellini13, Thank you so much for your help. I just added my new fields to the fields_list array, and didn't edit anything on the renderList function. You helped me with what I exactly needed. Thanks! 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