Forum Support

Shape 5
March 29, 2024, 09:44:05 AM *
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 in 2 languages  (Read 919 times)
AquaClub
Jr. Member
**
Offline Offline

Posts: 35



« on: March 24, 2016, 07:29:17 AM »

Hi,

Is it possible to publish two 404 Error pages for 2 different languages?

Also, when I publish the 404 page, the language flags disappear which causes the menu to shift upwards. How can I fix this? (When the menu moves up, it overwrites my header background image which I don't want it to happen)

Thank you for your quick responses by the way, great job! Smiley

Gozde.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: March 24, 2016, 11:30:43 AM »

Hello,

Unfortunately it can only do 1 language but we figured since its a 404 page it doesn't need multi languages since 404 is universal. You can just remove the text below the 404 text to make sure no other language translation is needed.

Can you post a URL of this so I can see the language flag issue?
Logged

Jonah Hall
------------
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
AquaClub
Jr. Member
**
Offline Offline

Posts: 35



« Reply #2 on: March 24, 2016, 12:16:35 PM »

I'm currently working on a wamp server, but will move the site to a web server soon. I'll write the URL when I do so.

Thank you.
Logged
AquaClub
Jr. Member
**
Offline Offline

Posts: 35



« Reply #3 on: April 06, 2016, 01:18:43 PM »

Here is the URL for you to check 404 page:

aquaclub.net/en

By the way, I have noticed that some websites complete an incomplete URL automatically. I was wondering if there is an extension to do that or we do it by 301 redirect. Do you have any idea? That would solve my problem with 404 errors in incomplete URL cases.

Thank you.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #4 on: April 07, 2016, 11:31:51 AM »

When I visit the URL the site shows up fine with no 404 error?
Logged

Jonah Hall
------------
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
AquaClub
Jr. Member
**
Offline Offline

Posts: 35



« Reply #5 on: April 07, 2016, 11:44:35 AM »

Sorry for that, I need to give you a missing URL. Please try:

http://aquaclub.net/en/dive-trips-ankara/diving

Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #6 on: April 08, 2016, 12:29:29 PM »

Oh ok I see, to modify you would need to add a position to the line of positions here:


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

In the file /vertex/module_calcs.php at about line 29.  Each of these positions are ones that will show on the 404. The language file positions is custom_2 so you would just need to add this
Logged

Jonah Hall
------------
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
AquaClub
Jr. Member
**
Offline Offline

Posts: 35



« Reply #7 on: April 08, 2016, 12:53:07 PM »

I think language position is "language" for this template. But custom_2 was also needed. I appreciate.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #8 on: April 11, 2016, 01:36:06 PM »

Opps sorry, yes correct Smiley
Logged

Jonah Hall
------------
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
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.