Maximenu CK is strange when page error 404

More
11 years 7 months ago - 11 years 7 months ago #26057 by hungmei
Hi,yes, there is "<jdoc:include type="head" />" inside .
Code:
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-7" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <jdoc:include type="head" />

So, is it possible other questions?
Last edit: 11 years 7 months ago by hungmei.

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago - 11 years 7 months ago #26069 by Georgie
Hi (bonjour) !

I have the same problem, also with SlideshowCK.

It is not very beautiful...

Here for example :
driihm.fr/example_error_zlkjziohiud

I have added "<jdoc:include type="head" />" but without changes...

I have an error :
Uncaught ReferenceError: jQuery is not defined

What do you think about ?
Last edit: 11 years 7 months ago by Georgie.

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #26073 by ced1870
@hungmei : I can not tell you why your error page is not loading the css, this is not really related to the module. The module uses the joomla API to load the css files that should be called by

<jdoc:include type="head" />

you have to investigate into your error.php page, why the css are not loaded here

@georgie : for sure, in the error.php page of protostar the <jdoc:include type="head" /> is not present. You must add it yourself in the file, like already explained :)

Joomlack Webmaster and Developer
The following user(s) said Thank You: Georgie

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #26075 by Georgie
Ok thanks

But I just include it properly, without change...

______________________
Code:
<head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title><?php echo $this->title; ?> <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8'); ?></title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <jdoc:include type="head" /> <?php // Use of Google Font ?> ...
______________________


You see here : driihm.fr/example_error_zlkjziohirtgfhy


Please note this error in the 404 :
Uncaught ReferenceError: jQuery is not defined

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #26079 by ced1870
wow, I have never taken care about the fact that

Note that jdoc:include elements are not parsed in these error pages


so you have to include the file manually. Look at the source code of the normal page and copy/paste the needed code into the error.php page

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #26080 by ced1870
or you have some tips here
docs.joomla.org/Custom_error_pages

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.221 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1383 guests and one member online