Edit Page button does not work - this is my first Theme
Permalink 1 user found helpful
Hi,
I'm new to Concrete5, having downloaded it and installed it on my server yesterday. I'm pretty excited about what I've seen so far but I've come up against a brick wall in my first Theme. I wanted to convert the design I have on my website into a theme and have been somewhat successful with it. I have the theme up on my site, but for some reason the Edit Page button doesn't work. I get the rollover on both the Edit Page and Add Page buttons but neither lets me edit my page.
I've worked through a tutorial Theme and was successful with that so I'm not sure why I can't get my own custom made theme to work.
I do notice that when I activate the theme it pulls content from the default theme, its only the fact that I can't edit it that seems to be the issue. This is the link to my test site:
http://www.lostdoggrafix.com/concrete5/...
Below is my code for the header.php, footer.php and default.php, I'd appreciate any help in understanding what I've done wrong. Thanks in advance :]
header.php:
default.php:
footer.php:
I'm new to Concrete5, having downloaded it and installed it on my server yesterday. I'm pretty excited about what I've seen so far but I've come up against a brick wall in my first Theme. I wanted to convert the design I have on my website into a theme and have been somewhat successful with it. I have the theme up on my site, but for some reason the Edit Page button doesn't work. I get the rollover on both the Edit Page and Add Page buttons but neither lets me edit my page.
I've worked through a tutorial Theme and was successful with that so I'm not sure why I can't get my own custom made theme to work.
I do notice that when I activate the theme it pulls content from the default theme, its only the fact that I can't edit it that seems to be the issue. This is the link to my test site:
http://www.lostdoggrafix.com/concrete5/...
Below is my code for the header.php, footer.php and default.php, I'd appreciate any help in understanding what I've done wrong. Thanks in advance :]
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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="keywords" content="web design, web designer, website, designer, html, CSS, illustration, comic books, comic illustrator, artist" /> <meta name="description" content="Lost Dog Grafix is a small web design studio. Our focus is on clean minimalist design that meets the goals of our clients. " /> <style type="text/css" media="screen">@import "<?php echo $this->getStyleSheet('main.css')?>";</style> <style type="text/css" media="screen">@import "<?php echo $this->getStyleSheet('typography.css')?>";</style> <?php Loader::element('header_required'); ?> <link href='http://fonts.googleapis.com/css?family=Amaranth:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
Viewing 15 lines of 53 lines. View entire code block.
default.php:
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); /*adds the header*/ $this->inc('elements/header.php'); ?> </div> <div id="comics-list"> <ul> <h3>Comic Book Art</h3> <li class="callout"><a href="http://www.lostdoggrafix.com/historyofodd/" target="_blank">History of Odd</a></li> <li class="callout"><a href="http://www.lostdoggrafix.com/marvelous/marvelous.html" target="_blank">Marvelous 1</a></li> <li class="callout"><a href="http://www.lostdoggrafix.com/marvelous2/marvelous2.html" target="_blank">Marvelous 2</a></li> <li class="callout"><a href="http://www.lostdoggrafix.com/chaos-mayhem/final/CnM-final.html" target="_blank">Chaos and Mayhem</a></li> <li class="callout"><a href="http://www.lostdoggrafix.com/fringe/fringe-fin.html" target="_blank">Fringe Dweller 1</a></li> <li class="callout"><a href="http://www.lostdoggrafix.com/fringe/issue-2/fringe-issue2.html" target="_blank">Fringe Dweller 2</a></li>
Viewing 15 lines of 29 lines. View entire code block.
footer.php:
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); require(DIR_FILES_ELEMENTS_CORE . '/footer_required.php'); ?> </div> <!--END MAIN-CONTENT--> </div><!--END WRAPPER ---> <div id="footer"> <ul> <li><a href="index.php" target="_self">Home</a></li> <li><a href="portfolio.php" target="_self">Portfolio</a></li> <li><a href="resume.php" target="_self">Resume</a></li> <li><a href="about.php" target="_self">About</a></li> </ul> <div id="columns"> <div class="col">
Viewing 15 lines of 80 lines. View entire code block.
Im guessing a z-index or javascript issue, also use
Hmmm, I commented out the JQuery links and that seemed to fix it. I'll have to do some research on using javascript in C5. thanks for your suggestion Mnkras, that helped alot
yeah, jquery is included by default in c5 so you shouldn't have it in a theme
That's good to know. I'll have to figure out a work around for the jQuery I have in my website to work in my theme. I still need them for my portfolio images or something similar.