{writeCategory}

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
dudely
Posts: 12
Joined: Thu Jul 20, 2006 9:39 pm

{writeCategory}

Post by dudely »

Hello,
I'm wondering how I can edit the values of things like {writeCategory} found in the template files. I can't seem to find the file they are defined in. Any help would be appreciated.

Thanks,
Dan
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi Dan,

the corresponding files are always the templte file and the PHP file, for example contact.php and contact.tpl. The variables in the template file were defined in the template array in the PHP file.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
dudely
Posts: 12
Joined: Thu Jul 20, 2006 9:39 pm

Post by dudely »

I found the PHP array $PMF_LANG where I think this is defined, but I can't find where to change it. I checked constants.php, functions.php, and several other files without luck. Basically what I want to do is change "Questions in Category" to "Topics in Category". Not a big deal but it would make more sense in the context of my installation.
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

you can change that in lang/language_en.php.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply