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.
Customizing a template
Moderator: Thorsten
Re: Customizing a template
Hi,
if it's add.tpl, just check inc/PMF/Faq.php
bye
Thorsten
if it's add.tpl, just check inc/PMF/Faq.php
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Customizing a template
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
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
Hi,
is it working now?
bye
Thorsten
is it working now?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Customizing a template
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.
Any suggestions you have on places to start would be appreciated but I think I can find it given time.
Re: Customizing a template
Hi,
that's artikel.php and artikel.tpl
bye
Thorsten
that's artikel.php and artikel.tpl
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Customizing a template
Thanks for the information. I'll look into those now.