Post by letxob » Tue Aug 15, 2017 11:41 pm

Default the 404 page is rather empty.
If you add a "not found" layout you can add modules to it.

1) add a new layout and call it "not found" or whatever you like
2) set the route to error/not_found
3) add your modules

now you can tease the customers in (hopefully) not leaving so fast.

Newbie

Posts

Joined
Sun Jul 02, 2017 4:36 am

Post by cyclops12 » Wed Aug 16, 2017 1:44 am

Good idea, i like it 8)

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by IP_CAM » Wed Aug 16, 2017 10:42 am

But why create a Custom Module ? Additional PHP/HTML Code could easy
be 'implanted' into the Theme Error File directly, to avoid additional work.
Just an idea... ;)
Ernie

I am no longer active at the Forum. Please do NOT send me Personal Mails,
they will no longer be replied to.
My Github OC Site: https://github.com/IP-CAM
4'300 + FREE OC Extensions, on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by letxobnav » Fri Aug 18, 2017 4:45 pm

I wasn't suggesting to create custom modules, just the ability to add your existing modules to the 404 layout.
Back in the day (oscommerce) I used the 404 page to suggest similar products to the one they were looking for.

so simple, add your current modules as is or write specific modules for the purpose.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by WaxedPerfection » Fri Aug 18, 2017 5:11 pm

Thank you so simple and has a great effect on the page rather than the dull "The page you requested cannot be found!
The page you requested cannot be found."

keep coming with the nice little tweaks.

WP

New member

Posts

Joined
Sun Mar 26, 2017 8:23 pm

Post by sajuk » Sat Jan 16, 2021 7:17 am

Old post.. however..Just used the layout option, in 2021 on OC 2.3.0.2 works great, defiantly a better 404 Page

Used a banner through the banner module to show a 404 Image

Had to also edit the language file "not_found.php" , to deal with the re-wording for the "Heading" and "Text"
// Heading
$_['heading_title'] = ' The page you requested cannot be found!';

// Text
$_['text_error'] ='The page you requested cannot be found.';

catalog/language/en-gb/error/not_found.php

Newbie

Posts

Joined
Tue Feb 07, 2017 7:10 pm

Post by IP_CAM » Sat Jan 16, 2021 8:16 am

BTW: Just to mention it, for Admins, this one would eventually
be of good Use to see/handle Errors: ;)
Visible Error Tab for Admin Form Extension Free
viewtopic.php?f=119&t=221826

I am no longer active at the Forum. Please do NOT send me Personal Mails,
they will no longer be replied to.
My Github OC Site: https://github.com/IP-CAM
4'300 + FREE OC Extensions, on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by fegdeed » Sat Jan 16, 2021 10:01 am

cyclops12 wrote:
Wed Aug 16, 2017 1:44 am
Good idea, i like it 8)
Me too...very simple and productive :)

Active Member

Posts

Joined
Fri Sep 21, 2018 12:01 am

Post by fegdeed » Sat Jan 16, 2021 10:02 am

letxobnav wrote:
Fri Aug 18, 2017 4:45 pm
I wasn't suggesting to create custom modules, just the ability to add your existing modules to the 404 layout.
Back in the day (oscommerce) I used the 404 page to suggest similar products to the one they were looking for.

so simple, add your current modules as is or write specific modules for the purpose.
Good idea for business 👏

Active Member

Posts

Joined
Fri Sep 21, 2018 12:01 am

Post by by mona » Sat Jan 16, 2021 4:59 pm

agreed - what a wonderful idea - :clap:
+1

I hope you are ok and you will be joining us again soon
Happy Holidays and Happy New year
I miss such valued input

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


Spinning Social : Links : Menus : Payments : Socials : Ads : Screen Backgrounds : Galleries : Headers : Banners : Promos


Active Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: No registered users and 28 guests