Pages

Trying to add a custom page to phpBB 3.2 - Pages

Trying to add a custom page to phpBB 3.2

by gmwylie » Fri Aug 16, 2019 8:47 pm

I installed this extension but the page link to my custom page is not found because it is calling the .php page without the .php extension -- the result is I just see the raw .html template code. I try to use a template file in my style template folder, but the "Select a Template" template switches to "pages_default.html instead. Please, tell me what I'm doing wrong...

Thanks,

Gina Marie
gmwylie
Registered User
Posts: 6
Joined: Tue Jul 19, 2005 9:04 pm
Location: Arizona
Contact:

Re: Trying to add a custom page to phpBB 3.2

by VSE » Fri Aug 16, 2019 11:44 pm

Did you follow the FAQ?
https://www.phpbb.com/customise/db/exte ... s/faq/1396

A .php page is never called by this extension because it does not have a .php page (well except for the fact that the page is rendered by symfony's app.php script). The links are just path routes... /to/my/page

Custom HTML templates won't be useable unless they are named correctly, as per the FAQ.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.
User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4940
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact: