EllisLab text mark
Advanced Search
23 of 23
23
   
v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD
Posted: 19 November 2012 09:09 AM   [ Ignore ]   [ # 331 ]   [ Rating: 0 ]
Joined: 2012-10-05
8 posts

Hello sir im new totally new to CI and i use your CRUD works perfect and smooth to my project, i just want to ask for help because i have 33 fields on my table, like id, fname, lname, middle,, address1, address2, campus, college, etc..etc… my question is how can i select only and display id, fname, Lname, middle on my grocery crud table.. thank you so much

 
Posted: 19 November 2012 09:19 AM   [ Ignore ]   [ # 332 ]   [ Rating: 0 ]
Joined: 2012-10-05
8 posts

sir i alredy solved i read your documentation again.. thnx   by using this..
    $crud->columns(‘Fname’,‘Lname’);

but my question again sir how can i change my field name on crud table example Fname i want is First Name, and Lname i want Last Name.

 
Posted: 19 November 2012 02:52 PM   [ Ignore ]   [ # 333 ]   [ Rating: 0 ]
Avatar
Joined: 2012-09-06
49 posts

Hi all! I created library which simplifies creation of the dependent dropdown.
If you have some dependent dropdowns this library for you.
When you made selection in a “Parent” dropdown it library allow to refresh a “child” dropdown.
More info here : http://www.grocerycrud.com/forums/topic/1087-dependent-dropdown-library/

 
Posted: 19 November 2012 02:56 PM   [ Ignore ]   [ # 334 ]   [ Rating: 0 ]
Avatar
Joined: 2012-09-06
49 posts

but my question again sir how can i change my field name on crud table example Fname i want is First Name, and Lname i want Last Name.

you can use the “display_as”. more info here: http://www.grocerycrud.com/documentation/options_functions/display_as

 
Posted: 19 November 2012 09:04 PM   [ Ignore ]   [ # 335 ]   [ Rating: 0 ]
Avatar
Joined: 2010-12-18
244 posts

I think a good start for you would be these tutorials grin

1. Tutorial basic methods

2. Tutorial basic methods 2nd part

3. Tutorial using callbacks

 Signature 

- grocery CRUD - a codeigniter CRUD library - user guide and download
- Web and Development - personal Blog

 
Posted: 20 November 2012 02:53 AM   [ Ignore ]   [ # 336 ]   [ Rating: 0 ]
Joined: 2012-10-05
8 posts

thnx for rep sir.. ^^. by the what code to select my database table
ex. ‘Select my table_name where Campus like’ to show on specific item on my crud table.

and second question sir..

how can i put a drop down on my fields..

example i want to add or edit one of my datafield example Employee i want to select dropdown list faculty,contractual..

 
Posted: 20 November 2012 03:33 AM   [ Ignore ]   [ # 337 ]   [ Rating: 0 ]
Avatar
Joined: 2010-12-18
244 posts

1. This is the like method. This works exactly with the same way as codeigniter’s like.

2. the dropdown you can do it with field_type and dropdown option.

 Signature 

- grocery CRUD - a codeigniter CRUD library - user guide and download
- Web and Development - personal Blog

 
Posted: 20 November 2012 10:25 PM   [ Ignore ]   [ # 338 ]   [ Rating: 0 ]
Joined: 2012-10-05
8 posts

thanks you so much for the help..you save my project.. but another problem abot my 2 tables relation
i have 3 tables named:

table_1 with colums
id
studNo
Lname
Fname

table_2
id
StudNo (relation to my table_1)
address1

table_3
id
StudNo
address2

how can i relate my table_2 and table_3 to my table_1 when i click edit on my GC table it shows like this.
StudNo
Lname
Fname
address1
address2

 
Posted: 22 November 2012 03:45 AM   [ Ignore ]   [ # 339 ]   [ Rating: 0 ]
Avatar
Joined: 2010-12-18
244 posts

I am afraid that this is the functionality set_relation_1_1 that I don’t have it in grocery CRUD right now but I want to add it in the future.

 Signature 

- grocery CRUD - a codeigniter CRUD library - user guide and download
- Web and Development - personal Blog

 
Posted: 22 November 2012 06:55 AM   [ Ignore ]   [ # 340 ]   [ Rating: 0 ]
Joined: 2012-10-05
8 posts

thank you for your reply sir.. ^^ ill wit for your update.. thnx for your GC it help me a lot..

 
Posted: 01 December 2012 12:18 PM   [ Ignore ]   [ # 341 ]   [ Rating: 0 ]
Joined: 2012-10-05
8 posts

good day sir, please help me on how to add Copy button on your crud, example i search one of my data on my crud table, after that i click copy button and that data that i copy will go to another table on my database.. is possible sir?

this is the example to my question..
i have 2 tables on my db. table1 and table2..

i create GC on my table1.. and example i have data called dog, cat, bird
then i search dog, after that i click copy button and the data dog will copy to my table2. is that possible?

 
Posted: 02 December 2012 08:22 PM   [ Ignore ]   [ # 342 ]   [ Rating: 0 ]
Avatar
Joined: 2007-07-14
170 posts

Great CRUD! The best I’ve seen!

 Signature 

Hell Horror - CodeIgniter Community for Horror Movie Fans

 
Posted: 19 February 2013 12:39 PM   [ Ignore ]   [ # 343 ]   [ Rating: 0 ]
Joined: 2012-01-30
22 posts

Hi web-johnny, recently I try use gcrud, but only we can use it with mysql, I use PostgreSql database for my projects, what crud I can use? I use gcrud for PostgreSql?

Please help me?

 
23 of 23
23