Hi every:<br>
I'm trying to create my first theme and I want to use Twitter Bootstrap
as CSS framework. So I create my <a href="http://comvivem.info">comvivem.info</a> file and wrote this
inside:<br><br>name = Comvivem<br>description = Comvivem theme using Twitter Bootstrap as CSS framework<br>version = 1.0<br>core = 6.x<br>engine = phptemplate<br>stylesheets[all][] = /bootstrap/css/bootstrap.min.css<br>stylesheets[all][] = style.css<br>
stylesheets[all][] = /bootstrap/css/bootstrap-responsive.min.css<br>stylesheets[print][] = print.css<br><br>regions[sidebar_left] = Sidebar Left<br>regions[sidebar_right] = Sidebar Right<br>regions[header] = Header<br>regions[content] = Content<br>
regions[footer] = Footer<br>regions[footer_col_1] = Footer Column 1<br>regions[footer_col_2] = Footer Column 2<br>regions[footer_col_3] = Footer Column 3<br>regions[footer_col_4] = Footer Column 4<br><br>Then after I create a page and call it page.tpl.php and wrote this inside:<br>
<br><!DOCTYPE html><br><html lang="en"><br> <head><br> <?print $head; ?><br> <title><?php print $head_title; ?></title><br> <meta name="viewport" content="width=device-width, initial-scale=1.0"><br>
<?php print $styles; ?><br> <?php print $scripts; ?><br><br> <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --><br> <!--[if lt IE 9]><br> <script src="<a href="http://html5shim.googlecode.com/svn/trunk/html5.js">http://html5shim.googlecode.com/svn/trunk/html5.js</a>"></script><br>
<![endif]--><br> </head><br><br> <body><br><br> <div id="header" class="container-fluid"><br> <?php if ($header): ?><br> <?php print $header; ?><br>
<?php endif; ?><br> </div> <!--./header--><br><br> <div id="page_content" class="container-fluid"><br> <div class="row-fluid"><br>
<?php if ($sidebar_left && !$sidebar_right) { ?><br> <div id="sidebar-left" class="span3"><br> <?php print $sidebar_left; ?><br>
</div><!--/sidebar left--><br><br> <div id="content-center" class="span9"><br> <?php if (!drupal_is_front_page()): ?><br>
<?php echo $content; ?><br> <?php endif; ?><br> </div><!--/content-center--><br><br> <?php } elseif ($sidebar_left && $sidebar_right) { ?><br>
<div id="sidebar-left" class="span3"><br> <?php print $sidebar_left; ?><br> </div><!--/sidebar left--><br><br> <div id="content-center" class="span6"><br>
<?php if (!drupal_is_front_page()): ?><br> <?php echo $content; ?><br> <?php endif; ?><br> </div><!--/content-center--><br>
<br> <div id="sidebar-right" class="span3"><br> <?php print $sidebar_right; ?><br> </div><!--/sidebar right--><br><br>
<?php } elseif (!$sidebar_left && $sidebar_right) { ?><br><br> <div id="content-center" class="span6"><br> <?php if (!drupal_is_front_page()): ?><br>
<?php echo $content; ?><br> <?php endif; ?><br> </div><!--/content-center--><br><br> <div id="sidebar-right" class="span3"><br>
<?php print $sidebar_right; ?><br> </div><!--/sidebar right--><br><br> <?php } ?><br> </div><!--/row--><br> <hr><br>
<footer><br> <div class="row-fluid"><br> <?php if($footer_col_1): ?><br> <div id="footer_col_1" class="span4"><br>
<?php print $footer_col_1; ?><br> </div><!--/footer_col_1--><br> <?php endif; ?><br> <?php if($footer_col_2): ?><br>
<div id="footer_col_2" class="span4"><br> <?php print $footer_col_2; ?><br> </div><!--/footer_col_1--><br> <?php endif; ?><br>
<?php if($footer_col_3): ?><br> <div id="footer_col_3" class="span4"><br> <?php print $footer_col_3; ?><br> </div><!--/footer_col_1--><br>
<?php endif; ?><br> <?php if($footer_col_4): ?><br> <div id="footer_col_4" class="span4"><br> <?php print $footer_col_4; ?><br>
</div><!--/footer_col_1--><br> <?php endif; ?><br> </div><br> </footer> <!--./footer--><br><br> </div><!--/.page_content--><br>
<br> <?php print $closure; ?><br> </body><br></html><br><br>But when I go to admin and activate the theme isn't working because for example in the generated code I see this:<br><br>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>"><br>
<br>
And this isn't in my template so my question is I doing something wrong or what's happening?
<p>Cheers and thanks in advance</p><br><br clear="all">Ing. Reynier Perez Mira<br>eMail: <a href="mailto:reynierpm@gmail.com" target="_blank">reynierpm@gmail.com</a>, <a href="mailto:reynierpm@hotmail.com" target="_blank">reynierpm@hotmail.com</a><br>
Skype: reynierpm<br>Mobile: +58 424.180.5609<br>Site: <a href="http://reynierpm.site90.com" target="_blank">http://reynierpm.site90.com</a><br>