Page 1 of 1
Customizing a template
Posted: Tue Sep 10, 2013 5:17 pm
by Godslayer
Hi,
I'm adding a new field to the add.tpl and while I had no issue adding a new column in the database I was wondering if anyone had a list of all of the .php files that would have to be changed so that the arrays for add/delete/edit etc would be update as well.
Thanks in advance.
Re: Customizing a template
Posted: Wed Sep 11, 2013 7:22 pm
by Thorsten
Hi,
if it's add.tpl, just check inc/PMF/Faq.php
bye
Thorsten
Re: Customizing a template
Posted: Mon Sep 16, 2013 4:51 pm
by Godslayer
Ok, I see the insert and update queries in /inc/PMF/Faq.php but doesn't something like record.add.php feed data into this so it know's what to insert into the DB or am I looking in the wrong place?
Re: Customizing a template
Posted: Tue Sep 17, 2013 6:36 pm
by Godslayer
Nvm, I found the issue was the post wasn't in ajaxservice.php and now the new field is in there and adding to the database properly.
Re: Customizing a template
Posted: Fri Sep 20, 2013 8:38 am
by Thorsten
Hi,
is it working now?
bye
Thorsten
Re: Customizing a template
Posted: Mon Sep 23, 2013 4:03 pm
by Godslayer
I have the add.tpl updated as well as the new insert working so the data is going into the database. Now I am working on updating the pages that display FAQS and edit them so I can view/edit the new field.
Any suggestions you have on places to start would be appreciated but I think I can find it given time.
Re: Customizing a template
Posted: Tue Sep 24, 2013 8:01 pm
by Thorsten
Hi,
that's artikel.php and artikel.tpl
bye
Thorsten
Re: Customizing a template
Posted: Tue Sep 24, 2013 8:42 pm
by Godslayer
Thanks for the information. I'll look into those now.