Forum Support

Shape 5
January 23, 2022, 06:33:05 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: 404 Error Page - missing modules  (Read 331 times)
farewe87
Jr. Member
**
Offline Offline

Posts: 9



« on: December 01, 2015, 09:06:01 PM »

Hi there,

I've added an article named "404 Error Page", but then I modified the "error.php" to redirect on an SEF Url (same article, just connected with an menu item).
Now I'm missing some modules (footer, custom_2) on the error-page?

I've also tested it without my own modification as described before. Same problem Sad

Can somebody tell me what wrong here?

Thanks a lot in advance.
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: December 02, 2015, 08:40:47 AM »

Hello,

An error page is not supposed to show modules. A 404 page is supposed to be very minimal so that only the text is seen. The framework automatically disables the positions to achieve this. If you want a specific module on there, which I would not recommend, you would have to modify vertex/module_calcs.php and look for:

if ($position_name != "debug" && $position_name != "bottom_menu" && $position_name != "logo" && $position_name != "top_menu") {
   $$position = 'unpublished';
}

Add your position name to the if statement.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
farewe87
Jr. Member
**
Offline Offline

Posts: 9



« Reply #2 on: December 02, 2015, 08:54:51 AM »

It works great! Thank you! :-)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.