block does not show in edit mode :S
Permalink
Hi there!
im kinda new here.. my current theme is build by myself and will be used only to learn the basics of this wonderfull CMS system.
things are going pretty fine except one thing and i'm pretty sure that it is something really stupid so sorry for that but i can't find the problem..
i have 3 blocks i want to use:
- navi
- foto
- main
the navi block does not show up in the edit mode of concrete.
heres the default.php:
the style.css navi part is:
any ideas?
i hope you can help me so i can continue with the learning process!
Thanking you in advance!
(p.s. don't mind my english i'm dutch)
im kinda new here.. my current theme is build by myself and will be used only to learn the basics of this wonderfull CMS system.
things are going pretty fine except one thing and i'm pretty sure that it is something really stupid so sorry for that but i can't find the problem..
i have 3 blocks i want to use:
- navi
- foto
- main
the navi block does not show up in the edit mode of concrete.
heres the default.php:
<html> <head> <link href="<?=$this->getThemePath()?>/style.css" rel="stylesheet" type="text/css" /> <?php Loader::element('header_required'); ?> </head> <body> <div id="logo"> <img src="<?php echo $this->getThemePath()?>/images/logo.gif" alt="dottut net"/> </div> <div id="navi"> <?php $content = new Area('navi'); $content->display($c);
Viewing 15 lines of 32 lines. View entire code block.
the style.css navi part is:
#navi { width:465px; height: 123px; background: url(images/menu.gif) no-repeat 0 0; position: absolute; top: 25px; left: 388px; }
any ideas?
i hope you can help me so i can continue with the learning process!
Thanking you in advance!
(p.s. don't mind my english i'm dutch)
thank you for the reply!
my new default.php:
and my stylesheet:
thats all if have except for the footer.php but that shouldnt be important.
i cant find how it should be blocked by some css :S
could you please take another look?
thank you!!
my new default.php:
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); ?> <html> <head> <link href="<?=$this->getThemePath()?>/style.css" rel="stylesheet" type="text/css" /> <?php Loader::element('header_required'); ?> </head> <body> <div id="logo"> <img src="<?php echo $this->getThemePath()?>/images/logo.gif" alt="dottut net"/> </div> <div id="navi"> <?php
Viewing 15 lines of 33 lines. View entire code block.
and my stylesheet:
#logo { width:363px; height: 123px; background: white; position: absolute; top: 25px; left: 25px; } #navi { width:465px; height: 123px; background: url(images/menu.gif) no-repeat 0 0; position: absolute; top: 25px; left: 388px;
Viewing 15 lines of 32 lines. View entire code block.
thats all if have except for the footer.php but that shouldnt be important.
i cant find how it should be blocked by some css :S
could you please take another look?
thank you!!
Problem solved!!
my mistake.... my editors thing in edit mode was on top of the block:S
thank you !!!
my mistake.... my editors thing in edit mode was on top of the block:S
thank you !!!
has to be at the top of the page before anything else. Don't put it anywhere else if all your code is in one file (i.e. in the default.php).
It should also be at the top of the footer.php if you are calling that as an 'include'.
Second: Is the navi area output in the page source code, being hid by some css?
steve