⚠ 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

Edit from list



Nico
  • profile picture
  • Member

Posted 04 June 2013 - 21:36 PM

Hi,

 

I have a good question regarding more programming around CRUD than CRUD itself!

 

I'm searching for a way to "quick-edit" fields directly from the list. (A bit like PhpMyAdmin)

 

Any ideas?

 

Obviously, it will need some jQuery/Ajax, which is quite easy! But, to make it work with CRUD?!??

 

Don't tell me I'll have to "hack" into CRUD's core!?!?
-- Edit --
In fact, no need of the core there...I think I would only have to go into the themes template and add some code. Then use some good ol' jQuery...

----------


davidoster
  • profile picture
  • Member

Posted 04 June 2013 - 22:36 PM

Yes. No need to hack the code!

Search on the forum for the fancybox solution it might give you a few ideas.


Nico
  • profile picture
  • Member

Posted 05 June 2013 - 01:05 AM

I was more thinking of something around EditableGrid, which I just discovered but wouldn't work with CRUD at this point.

 

I think at some point I saw a post on this forum of someone asking more or less the same as me but someone else answered something like "It should be added in CRUD in some version", I don't really remember when, who and what.

Anyways, I'm at the point where I have to try to make something like that work without having to wait for a maybe future version which might have it, but I don't have the knowledge of our good friend kabadabra, able to work around CRUD to make something work!! Or even Johnny who created that cool system!

 

During the last few hours, I tried to find a way to do some workarounds Ajax...but, I'm having difficulting finding a way to get enough required data from the list to run DB queries...and I don't even know how to add those data from the core to the theme template...


davidoster
  • profile picture
  • Member

Posted 05 June 2013 - 05:28 AM

Well to be honest we can't really help you with this.

If someone tries to do it is like making it from scratch.

It might take a good 2 days work to get a fully working paradigm for this.

And talking for myself, I haven't got that much spare time to do it. Sorry.


Nico
  • profile picture
  • Member

Posted 05 June 2013 - 22:39 PM

Well, not really asking for someone to do it for me :)

Else i'd better stop calling myself programmer...

 

Just some directions would be ok.

 

But if you can't it's ok, I thank you for your answers anyways :)


davidoster
  • profile picture
  • Member

Posted 06 June 2013 - 11:49 AM

You welcome! I am sorry I couldn't help you.