⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

themes... bug or not bug



marc
  • profile picture
  • Member

Posted 11 December 2017 - 15:07 PM

HI,

 

I copy/paste the datatable theme.

 

I set this in controller : 

$crud->set_theme('marc_display');

It works but, I want to modify a css line in datatable.css.

 

And then in the view, the bug is that path of datatable.css is the original path of datatable theme and not the datatable.css of marc_display theme.

 

Are you an explication ? and the solution  :D

 

Thanks a lot

Marc


Amit Shah
  • profile picture
  • Member

Posted 12 December 2017 - 04:05 AM

Well you can copy up the whole of datatables theme in the marc theme of yours and then make whatever necessary changes you need to do in the same. That should work out for you perfectly fine.

 

Happy GCing :)


marc
  • profile picture
  • Member

Posted 12 December 2017 - 08:52 AM

Hi,

 

Thanks for your answer, but my path/link is still the worst way to my private theme.

 

I think I save the original "datatable theme" and to modify a copy of this.

 

....

 


Amit Shah
  • profile picture
  • Member

Posted 12 December 2017 - 09:07 AM

Well thats what i told you to do - copy / paste from the original datatables theme in the GC and modify as per your needs. Thats the way to create the new theme of your own :)