Jump to content


themes... bug or not bug

theme path

  • Please log in to reply
3 replies to this topic

#1 marc

marc

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 11 December 2017 - 03: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



#2 Amit Shah

Amit Shah

    grocery CRUD Master

  • Advanced Member
  • PipPipPip
  • 1,192 posts
  • LocationMumbai, India

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 :)



#3 marc

marc

    Newbie

  • Members
  • Pip
  • 8 posts

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.

 

....

 

Attached Thumbnails

  • theme.PNG
  • theme2.PNG


#4 Amit Shah

Amit Shah

    grocery CRUD Master

  • Advanced Member
  • PipPipPip
  • 1,192 posts
  • LocationMumbai, India

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 :)







Also tagged with one or more of these keywords: theme, path

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users