![]() |
pages.php
Hi,
It's has been a couple of years since my last post and I'm not really familiar with the 4.1.xx branch yet. I'm having some problems displaying static pages. What I done so far: 1) When you click on a static page. The list of static pages show up + the actual static page customer/main/pages.tpl Code:
{* $Id: pages.tpl,v 1.5 2005/11/17 06:55:37 max Exp $ *} 2) What I like to do is call pages.php directly and show the list of static pages. In customer/home_main.tpl the following is stated: Code:
{elseif $main eq "pages"} Unfortunately when I call pages.php only an error message shows up: Page not found! The requested page does not exist or you are not allowed to access it! Can some one point me in the right direction ? Thanks in advance, Gijs |
Re: pages.php
you likely need to prevent pages.php from raising error if no page content found
replace PHP Code:
PHP Code:
|
Re: pages.php
Thanks Victor,
Works like a charme ! Best regards, Gijs |
All times are GMT -8. The time now is 02:21 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.