# |
Jan 28th 2014, 16:20 |
jose_zap |
one think is tree hierarchy, another is position in the tree |
# |
Jan 28th 2014, 16:19 |
biesbjerg |
jose_zap: Hmm.. parent_id only says who the parent is (if any), not the position of the node |
# |
Jan 28th 2014, 16:18 |
jose_zap |
so if you change the parent_id the behaviour will do the rest |
# |
Jan 28th 2014, 16:17 |
jose_zap |
biesbjerg: those columns are only dependent on the parent_id |
# |
Jan 28th 2014, 16:11 |
biesbjerg |
Anyone here that ahve worked with jQueryUI sortable and TreeBehavior? More specifically how to update the lft/rght values according to order set with sortable? |
# |
Jan 28th 2014, 15:45 |
lawrence |
thanks :-) |
# |
Jan 28th 2014, 15:40 |
jose_zap |
lawrence: you will need this in your database.php https://gist.github.com/lorenzo/8669768 |
# |
Jan 28th 2014, 15:39 |
lawrence |
sure, thank you! |
# |
Jan 28th 2014, 15:38 |
jose_zap |
let me know if you have question on how that works |
# |
Jan 28th 2014, 15:38 |
jose_zap |
but hopefully that would be trivial |
# |
Jan 28th 2014, 15:38 |
jose_zap |
lawrence: it contains all the logic you need to deal with paypal ipn. The code works with mongo db, so there is some work to do to port it to work with normal cakephp models |
# |
Jan 28th 2014, 15:37 |
jose_zap |
lawrence: I hope this helps https://github.com/lorenzo/cakephp-paypal-ipn |
# |
Jan 28th 2014, 15:34 |
jose_zap |
actually, I'm going to put the code on github, just a moment |
# |
Jan 28th 2014, 15:33 |
jose_zap |
lawrence: can you pm me your email? |
# |
Jan 28th 2014, 15:32 |
lawrence |
oooh that would be wonderful, thank you! |
# |
Jan 28th 2014, 15:31 |
jose_zap |
lawrence: give me 5 minutes, I will be able to help you with some code |
# |
Jan 28th 2014, 15:31 |
rakker |
thats the problem then |
# |
Jan 28th 2014, 15:31 |
Neon1024 |
Or restart explorer.exe |
# |
Jan 28th 2014, 15:31 |
Neon1024 |
rakker: Yes |
# |
Jan 28th 2014, 15:31 |
rakker |
I have to restart wind8 if I change the path var.? |
# |
Jan 28th 2014, 15:31 |
lawrence |
but surely there is some easy-to-use CakePHP component that allows simple paypal integration? |
# |
Jan 28th 2014, 15:30 |
lawrence |
I agree with that |
# |
Jan 28th 2014, 15:30 |
lawrence |
lol |
# |
Jan 28th 2014, 15:29 |
Neon1024 |
Because their website is utter dogshit |
# |
Jan 28th 2014, 15:29 |
Neon1024 |
lawrence: I would, but the PayPal docs give me the rage |
# |
Jan 28th 2014, 15:28 |
lawrence |
as all the ones I found are from 5-10 years ago and they are broken |
# |
Jan 28th 2014, 15:27 |
lawrence |
maybe you know a link that explains step-by-step implementation paypal IPN on the more recent versions of cakePHP |
# |
Jan 28th 2014, 15:27 |
lawrence |
or that's what I assume happens |
# |
Jan 28th 2014, 15:27 |
lawrence |
what I mean is that it can't update the database because the session is lost |
# |
Jan 28th 2014, 15:26 |
rakker |
'php' is not recognized as an internal or external command if I try to run 'cake in the cmd |
# |
Jan 28th 2014, 15:25 |
lawrence |
it does indeed call a script, but because it's called from paypal the script itself is behind an authentication wall it seems |
# |
Jan 28th 2014, 15:24 |
jose_zap |
Oldskool: no need for the link when someone asking a legitimate question in a polite way :P |
# |
Jan 28th 2014, 15:23 |
Neon1024 |
Pretty sure IPN just means, call a script when the transaction is completed |
# |
Jan 28th 2014, 15:23 |
Oldskool |
~tell lawrence about anyone |
# |
Jan 28th 2014, 15:23 |
dereuromark |
jose_zap: rewrite windows :P Win9Jose |
# |
Jan 28th 2014, 15:23 |
lawrence |
I was wondering if there would be anyone here who could give me some advice about paypal IPN integration - I've read numerous posts and guides online about integrating Paypal IPN but nothing seems to work.. |
# |
Jan 28th 2014, 15:22 |
jose_zap |
just for the lulz |
# |
Jan 28th 2014, 15:22 |
jose_zap |
they use the wrong slash |
# |
Jan 28th 2014, 15:22 |
Neon1024 |
Figures that Windows should be backwards eh? eh? |
# |
Jan 28th 2014, 15:22 |
dereuromark |
necessary for the short syntax to work |
# |
Jan 28th 2014, 15:22 |
Neon1024 |
Although props for the proper \ instead of / |