Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 12:46:35 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155557 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: no doctype - wrong design in internet explorer  (Read 270 times)
thdrummer

Offline Offline

Posts: 6


« on: January 22, 2012, 06:45:47 PM »

Hello everybody,

I beg for help with a problem I'm dealing with for a while now: I use Websitebaker and some modules (event calendar, news 2.5, ...). On the pages without these modules, everything is ok and the design looks the same in firefox and internet explorer. But on the pages with one single module, the design in internet explorer isn't the way it should be. By using Firebug I discovered that one the pages with one module enabled (and wrong design in internet explorer), that there is no doctype-declaration on these pages.

Could you please tell me how to "enable" doctype-declarations on these pages?

Thanks a lot in advance,
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #1 on: January 22, 2012, 07:17:26 PM »

Hi, give us a link to the problem.
Logged

Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2298



WWW
« Reply #2 on: January 22, 2012, 10:45:29 PM »

A doctype is declared in the first output line of your template and will be the same on all pages of your website.
It cannot be that a page with another module is changing or removing your doctype.

Your problem between FF and IE must be found somewhere else.
Logged

Professional WebsiteBaker Solutions
thdrummer

Offline Offline

Posts: 6


« Reply #3 on: January 29, 2012, 02:27:15 PM »

Hello dbs and Ruud,

thanks a lot in advance for your help! Please take a look at this site both in internet explorer and Firefox:

In Firefox, it looks the way it should be. In Internet Explorer, the vertical, purple bar on the left of the page is missing...

Thanks a lot in advance!
« Last Edit: January 29, 2012, 05:43:51 PM by thdrummer » Logged
maverik

Offline Offline

Posts: 1568



WWW
« Reply #4 on: January 29, 2012, 02:55:44 PM »

http://www.html-seminar.de/html-seitenaufbau.htm

then have a look to sourcecode of your site and see what is different  grin

Logged

Signatur wird geladen...
thdrummer

Offline Offline

Posts: 6


« Reply #5 on: January 29, 2012, 05:48:54 PM »

Solution:

Go to addon file editor, choose your template, edit "index.php" and make sure the doctype declaration is written in the first line...

Thanks a lot maverik.
Logged
maverik

Offline Offline

Posts: 1568



WWW
« Reply #6 on: January 29, 2012, 07:51:45 PM »

only the half solution, you haven´t read it careful.

these

Code:
<link href="http://www.stein-musik.de/modules/anynews/frontend.css" rel="stylesheet" type="text/css" media="screen" />
<link href="http://www.stein-musik.de/modules/event/frontend.css" rel="stylesheet" type="text/css" media="screen" />

must stand between <head> and </head>.

the normal way is to do it with

Code:
<?php }
if(
function_exists('register_frontend_modfiles')) {
        
register_frontend_modfiles('css');
    
register_frontend_modfiles('js');
?>

before </head>. if you need jQuery for a modul or so you must write

Code:
<?php }
if(
function_exists('register_frontend_modfiles')) {
    
register_frontend_modfiles('css');
    
register_frontend_modfiles('jquery');
    
register_frontend_modfiles('js');
?>

that´s the right solution.
Logged

Signatur wird geladen...
thdrummer

Offline Offline

Posts: 6


« Reply #7 on: January 30, 2012, 08:39:00 AM »

Hello maverik,

thanks for that comment! I've read it carefully, but this last modification is still in progress.

Thanks a lot, again!
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!