How to create custom pages with navigation-blocks

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
remuze
Posts: 12
Joined: Tue Oct 03, 2006 2:49 pm

How to create custom pages with navigation-blocks

Post by remuze »

Hi,

I'm looking for a manual or some help to make custom pages.
I want do design those pages with the upper-block and the left-block (categories).
In the middle I want to use html or php-code.

I'm thinking about a page to subscribe/unscribe for a newsletter, completely in the layout of the existing faq-site.

Thank you to help me a bit. :wink:
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
remuze
Posts: 12
Joined: Tue Oct 03, 2006 2:49 pm

Post by remuze »

Whoow, that's fast.
Thank you for the tip. :lol:
Is the used method also correct for version 2.0.1 ?
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,
remuze wrote:Is the used method also correct for version 2.0.1 ?
yes.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
timcappalli-lyndon
Posts: 13
Joined: Thu Dec 15, 2011 4:13 am

Re: How to create custom pages with navigation-blocks

Post by timcappalli-lyndon »

What is the correct way to do this with 2.7? I can't seem to find constants.php.

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

Re: How to create custom pages with navigation-blocks

Post by Thorsten »

Hi,

yes, only constants.php was moved to conig/constants.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
timcappalli-lyndon
Posts: 13
Joined: Thu Dec 15, 2011 4:13 am

Re: How to create custom pages with navigation-blocks

Post by timcappalli-lyndon »

This was working great until I turned on clean urls. Now none of the custom pages work. For example, http://it.lyndonstate.edu/index.php?action=itspolicy, is shown as http://it.lyndonstate.edu/itspolicy, which cannot be resolved and shows a 404 error.

I am using IIS 7.5 and using the URL rewrite import from the .htaccess. Everything else is working correctly.
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: How to create custom pages with navigation-blocks

Post by Thorsten »

Hi,

I think you have to add your custom pages to the rewirte rules in the .htaccess file

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