I am using GroceryCRUD and have some pages that have forms that are not using GroceryCRUD.
Those pages need some css and javascript entries loaded in the header.
How do I add entries to $css_file and $js_file so they do not interfer with pages that are using GroceryCRUD?
I tried looking at $_SERVER['REQUEST_URI'] for my page, then declaring $css_files as global, and adding my strings. This worked for my non-groceryCRUD pages, but broke the groceryCRUD pages.
What is the best way to add css and js entries for pages that are not using groceryCRUD, but are using the same header with the $css_files and js_files loops?
Many thanks for any ideas!
$css_file and $js_file
Started by wclark, 24 May 2012 - 23:57 PM
- Single Page
Posted 24 May 2012 - 23:57 PM
Posted 31 May 2012 - 09:02 AM
create the CRUD in a different view then just Include the file in the actual view(each with its own CSS).that will work