C5 Edit Bar is hidden!
Permalink
Hi everyone!
Im Omzke, im new in c5, and i think that c5 is amazing
i started making a custom theme 2 days ago based on an html page
everything went good exept because the edit bar is not shown when i activate my theme, i've looked for answers in this forum and anything worked, the more common mistake was the jquery and javascript codes interfering with the bar, but in my pages i dont have any javascript code, so.. whats my error?
Check my codes here, and thanks in advance! :)
This is header.php
This is default.php
I apologize 4 my bad english, but is not my main lang :)
Im Omzke, im new in c5, and i think that c5 is amazing
i started making a custom theme 2 days ago based on an html page
everything went good exept because the edit bar is not shown when i activate my theme, i've looked for answers in this forum and anything worked, the more common mistake was the jquery and javascript codes interfering with the bar, but in my pages i dont have any javascript code, so.. whats my error?
Check my codes here, and thanks in advance! :)
This is header.php
<?php defined('C5_EXECUTE') or die(_("Access Denied."));?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <head> <?php Loader::element('header_required'); ?> <meta name="robots" content="index, follow"/> <meta name="keywords" content="Apprenticeship Toronto,Electrician schools,Plumbing School Toronto,Construction school,Plumbing School Cambridge,Electrician School toronto,Apprenticeship,construction school,toronto,Apprenticeship Cambridge,Electrician school cambridge,gas training, gas license, network cabling"/> <meta name="description" content="PAT Institute is Industry recognized and prepares students to succeed in skilled trades. Graduates qualify for the YASC job link service, which links graduates with employers.There is no need to look for a job after you graduate!"/> <link rel="stylesheet" href="<?=$this->getThemePath()?>/images/system.css" type="text/css"> <link rel="stylesheet" href="<?=$this->getThemePath()?>/images/general.css" type="text/css"> <link rel="stylesheet" href="<?=$this->getThemePath()?>/images/style(1).css" type="text/css"> </head> <style type="text/css"> body {
Viewing 15 lines of 18 lines. View entire code block.
This is default.php
<?php $this->inc('elements/header.php'); ?> <body> <div id="cuerpo-page"> <div id="contenido" > <div id="header"> <div id="menu-top"> <?php $a = new Area('Header Nav'); $a->setBlockLimit(1); $a->display($c); ?> </div> <div id="menu"> </div> </div>
Viewing 15 lines of 56 lines. View entire code block.
I apologize 4 my bad english, but is not my main lang :)
This needs to go just above the closing body tag, like this: