⚠ 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

Quick question



Robert
  • profile picture
  • Member

Posted 14 August 2013 - 09:16 AM

I see in GC 1.4 the add/export/print have been change to blue .. i like the change since they are easy to spot now. Can some1 tell me where can i find them in 1.3 GC so i can add the change to ? I have look a bit but cant find them.

 

 

Thanks


Robert
  • profile picture
  • Member

Posted 15 August 2013 - 05:28 AM

anyone ?

 

 

Thanks


Amit Shah
  • profile picture
  • Member

Posted 17 August 2013 - 06:38 AM

Hi Robert,

 

If you notice, all styling is defined in CSS. You can right-click on the same (in firefox installed with firebug) and click on inspect element - there u will be able to find the relevant css file, line number of the same. Once you have it - you can go and change the respective.


Robert
  • profile picture
  • Member

Posted 19 August 2013 - 10:56 AM

Thanks for the tip.


Robert
  • profile picture
  • Member

Posted 21 August 2013 - 07:58 AM

I have one more quick question. GC was any function order ? i mean how you set the elements or you can use any order you like. 

 

 

 

Thanks


Amit Shah
  • profile picture
  • Member

Posted 21 August 2013 - 08:21 AM

$crud->order_by  - is surely a function available in GC

checkout on http://www.grocerycrud.com/documentation/options_functions/order_by


Robert
  • profile picture
  • Member

Posted 21 August 2013 - 08:33 AM

I express my self wrong what i wanted to say is this :

$crud->set_relation .........

$crud->where ...........

$crud->unset_delete ......

$crud->edit_fields .......

$crud->add_action ......

 

 

this have to be set in a order ? or is no problem if lets say i use set_relation at the end.

 

 

 

Thanks


Amit Shah
  • profile picture
  • Member

Posted 21 August 2013 - 10:00 AM

there is no issue as in what order and where u set it.. u have to do it all before u run - render method..!!


Robert
  • profile picture
  • Member

Posted 22 August 2013 - 07:07 AM

Thanks for the info.