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

How to use zfTable #1

Closed nikolanovakovic closed 10 years ago

nikolanovakovic commented 11 years ago

I am a beginer in Zend and need a help. How to run examples in module and how to use it in other application. What is needed to do? Could you post few sentences as a guide. Thanks

dudapiotr commented 11 years ago

Hey, If you didn't learn it before (Geetting started zf2) i think it should be your first step (exactly about modules) http://framework.zend.com/manual/2.2/en/user-guide/overview.html,

the next steps

  1. Enabling it in your application.config.phpfile.

    <?php return array( 'modules' => array( // ... 'ZfTable', ), // ... );

    1. From public directory (in sources) copy optional files (js, css and images) to your public. All files are optional (zf-table.js is need to use own engine, but also can use dataTables engine)
  2. Now you can see examples (in source code you have full working examples , call table in controller, table configuration and others).

Look at path in demo: http://zfcrm.laohost.net/table/data-table So try call /table/data-table in appliaction , and it should work.

Good luck

gdemaria commented 11 years ago

It seems that ajaBase get test data ok but is not using default layout, DataTable is using the layout but is not showing any test data

image

dudapiotr commented 10 years ago

Close (New version 2.0 released)