dudapiotr / ZfTable

*Not supported*ZfTable 3.1. Awesome ZF2 table / grid (and much much more) generator with huge possibilities of decorating and conditioning. Integrated with DataTables, Doctrine 2, Bootstrap 2.0 and 3.0.
http://dudapiotrek.laohost.net/
MIT License
75 stars 59 forks source link

Layout Problem #2

Closed gdemaria closed 10 years ago

gdemaria commented 11 years ago

Hi dudapiotr: I´m viewing the example and is like Application´s layout is "overwritten", because the table doesn´t have styles and pagination dont work image I think is something that I misunderstood, I followed the Readme steps

Regards

GMD

dudapiotr commented 11 years ago

Did you add the files (css and js) from Public directory to your layout or add them somewere else?

gdemaria commented 11 years ago

Hi dudapiotr , thanks for the response, yes I added the files in the layout, I overwritten my public files, my question is Zftable module can overwrite default application layout in some way?

This is a extract of layout.phtml

    <?php echo $this->headLink(array('rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/img/favicon.ico'))
                    ->prependStylesheet($this->basePath() . '/css/bootstrap-responsive.min.css')
                    ->prependStylesheet($this->basePath() . '/css/style.css')
                    ->prependStylesheet($this->basePath() . '/css/bootstrap.min.css') 
                    ->prependStylesheet($this->basePath() . '/css/jquery.dataTables.css')
            ?>
    <!-- Scripts -->
    <?php echo $this->headScript()->prependFile($this->basePath() . '/js/html5.js', 'text/javascript', array('conditional' => 'lt IE 9',))
                                  ->prependFile($this->basePath() . '/js/bootstrap.min.js')
                                  ->prependFile($this->basePath() . '/js/jquery.min.js') 
                                    ->prependFile($this->basePath() . '/js/jquery.dataTables.min.js') 
                                   ->prependFile($this->basePath() . '/js/zf-table.js') 

            ?>

Regards

GMD

gdemaria commented 11 years ago

Sorry I post more info on Issue #1

dudapiotr commented 10 years ago

Close (New version 2.0 released)