How to create new page using template.

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
tmcguire
Posts: 14
Joined: Thu Aug 21, 2008 1:42 pm
Location: Near the kitchen.

How to create new page using template.

Post by tmcguire »

I am having trouble tracking down how to make a new page which can use the template system. I started by copying /help.php and /template/help.tpl to new files named /disclaimer.php and /template/disclaimer.tpl.

When I goto www.com/disclaimer.php my test page doesn't load.

Can you please point me in the right direction as to how to make a new page which will use the template system?

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

Post by Thorsten »

phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
tmcguire
Posts: 14
Joined: Thu Aug 21, 2008 1:42 pm
Location: Near the kitchen.

Post by tmcguire »

Thanks, That works great.

And real quick,

Near line 147 in inc/constants.php I see an array for $botBlacklist. Is this a list of bots which are NOT allowed to crawl the site? If so then why is there a setting in the admin configurtion to specify keywords for spiders?

-Tom
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

some people want their site to be crawled and some not. phpMyFAQ allows both ways.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
tmcguire
Posts: 14
Joined: Thu Aug 21, 2008 1:42 pm
Location: Near the kitchen.

Post by tmcguire »

So, currently the only way to disable the blocking function is to comment out the bots that I want to allow?

I want to be sure this will allow google to crawl my site.

I did not see a admin configuration option to enalble bots to crawl. Will this be a feature we will see in the future?

Thank you again.

-Tom
Post Reply