Custom Theme

Permalink
Im having some issues with this theme that i created However i cannot find out what i have done wrong... In the Preview window in the dashboard for the theme all i can see is

">" symbol where the theme should start

I have attached the theme bellow... If anyone could offer any assistance it would be Great. i just got started with Concrete5 TY

1 Attachment

 
shadowcomputers replied on at Permalink Reply
shadowcomputers
In your header.php you have:
<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>


Do you want to try and use:
<style type="text/css" media="screen">@import url("<?php echo $this->getStyleSheet('main.css');?>");</style>
<style type="text/css" media="screen">@import url("<?php echo $this->getStyleSheet('typography.css');?>");</style>
SourceC0de replied on at Permalink Reply
I replaced the code, and there is no change in what im seeing...
Mnkras replied on at Permalink Reply
Mnkras
In the footer use:
Loader::element('footer_required'); instead of that required,

and there really is no reason to use @import
SourceC0de replied on at Permalink Reply
After I altered the Line "required" with your code i get this PHP error

Fatal error: Uncaught exception 'Exception' with message 'Access Denied' in /home/millerti/public_html/concrete5/concrete/tools/themes/preview_internal.php:19 Stack trace: #0 /home/millerti/public_html/concrete5/concrete/startup/tools.php(11): include() #1 /home/millerti/public_html/concrete5/concrete/dispatcher.php(129): require('/home/millerti/...') #2 /home/millerti/public_html/concrete5/index.php(2): require('/home/millerti/...') #3 {main} thrown in /home/millerti/public_html/concrete5/concrete/tools/themes/preview_internal.php on line 19
shadowcomputers replied on at Permalink Reply
shadowcomputers
Can you post or PM url?
SourceC0de replied on at Permalink Reply
If your available i use Gmail as my IM

qualls.james@gmail.com
shadowcomputers replied on at Permalink Reply
shadowcomputers
Will IM you now
SourceC0de replied on at Permalink Reply
However a Link to the site is here

http://concrete5.millertimberservices.com/...

I have the theme active so its showing what im getting
shadowcomputers replied on at Permalink Reply
shadowcomputers
Found the problem:

<div class="top-nav">
         <?php
            $menu = new Area('Menu');
            $menu->setBlockLimit(1);
            $menu->display($c);
            ?>>  </div>
    </div>


should be:

<div class="top-nav">
         <?php
            $menu = new Area('Menu');
            $menu->setBlockLimit(1);
            $menu->display($c);
            ?>  </div>
    </div>
Mnkras replied on at Permalink Reply
Mnkras
and your css is invalid and don't use @import
SourceC0de replied on at Permalink Reply
Im glad we found that, that was part of the issue, but now im not able to see anything at all...

It just removed the > symbol i was seeing =|
Mnkras replied on at Permalink Best Answer Reply
Mnkras
use <?=$this->getThemePath()?>/main.css without the @import instead
SourceC0de replied on at Permalink Reply
AWESOME... That solved my ISSUE
Thank you vary much MATE!
shadowcomputers replied on at Permalink Reply
shadowcomputers
You might want to use the HTML and CSS validator to iron out any other possible problems and invalid code.
shadowcomputers replied on at Permalink Reply
shadowcomputers
Looks like your footer.php is ending body and html elements before you finish the rest of your HTML
shadowcomputers replied on at Permalink Reply
shadowcomputers
CSS Validator:http://jigsaw.w3.org/css-validator/...
HTML Validator:http://validator.w3.org/

Hope this helps too
shadowcomputers replied on at Permalink Reply
shadowcomputers
Could you also remember to select which response best answered your question - might help others. Thanks, Steve