Theme problem?

Permalink
Hi,
i'm pretty new to c5, i just did my first theme installation as a test, everything is fine and smooth, however when i add an area, the border of the area is visible, but as soon as i mouseover it goes red, and STAYS red, no hand cursor appears, and when i click nothing happens, any idea on what might be the cause of this problem?
Thanks!

 
madeforspace replied on at Permalink Reply
madeforspace
Can you tell us what code you have used for the editable areas on your pages?
Is it like this?

<?php
$a = new Area('Banner');
$a->display($c);
?>
irsah replied on at Permalink Reply
irsah
Hi Turtler,

Sometimes it is due to certain div's/ elements is not closed properly. And there were times if a pagetype is not available, c5 themes will use the default.php/view.php file to render the view for that page. Try to change to a different pagetype which you have installed in your themes.

So, might as well check the div id's and classes for the view.php file which has a code like this; <?php print $innerContent; ?> for the main area to print it's contents.

You could also provide us with a link to your test site (if its live) and people could hop over to take a look.

Use Firebug to see if any error occurs and detect the possible culprit.

Hope it helps.
Irsah

*edit* also take a look madeforspace given code. and making sure there are no duplicates of Area_Names within that code in a certain pagetype file.
Turtler replied on at Permalink Reply
@madeforspace my code at the moment looks like this
<?php  $a = new Area('Main'); $a->display($c); ?>
Turtler replied on at Permalink Reply
Thanks for the fast replies
@irsah
i checked and i have no unclosed div, no area duplicates (it's the only area). I'll have a look if firebug throws any errors, but in chrome i wasn't getting any JS errors, nor anything in the console!
madeforspace replied on at Permalink Reply
madeforspace
I was going down the route that irsah went in checking you don't have two areas with the same name, which can cause this problem.

Do you have a URL we could take a look at?
Turtler replied on at Permalink Reply
@madeforspace not yet but i'm working on it, i understand it would be an hell lot easier indeed
madeforspace replied on at Permalink Reply
madeforspace
I doubt it is this but you never know.
Is your theme in this file structure root/theme/yourtheme/files.php

I am trying to remember exactly what happened but I think I had a similar problem when I forgot to add a yourtheme folder.

Can you do some scree grabs? Chrome preferred for me with Inspect Element.
Turtler replied on at Permalink Reply
Yes, i have that folder structuring, i posted a screenshot 2 posts below
irsah replied on at Permalink Reply
irsah
Thanks for heads up madeforspace, yeah agreed, possible look thru would be best.
Thanks.
Turtler replied on at Permalink Reply
Does this helps?
http://i.imgur.com/jkDBwfj.png

Thanks!
irsah replied on at Permalink Reply
irsah
Hmm.. nothing much I could offer here (based on image), I see the c5 edit mode classes and js is available. The contents (edit mode) is a bit unstyled. Possible loose ends, styles or additional js call with theme???...usually what I encounter mostly when theme conversions...