| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||||
|
|||||||||
![]() 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:
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:
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 |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() you likely need to prevent pages.php from raising error if no page content found
replace PHP Code:
PHP Code:
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Thanks Victor,
Works like a charme ! Best regards, Gijs |
|||||||||
|
|||
X-Cart forums © 2001-2020
|