# |
Jul 3rd 2017, 14:15 |
devito |
nice. how did you go about doing it? |
# |
Jul 3rd 2017, 14:14 |
neon1024 |
..and it’s not broken yet! |
# |
Jul 3rd 2017, 14:13 |
neon1024 |
Yes, I just finished doing that. It went live on production this morning :) |
# |
Jul 3rd 2017, 14:11 |
devito |
has anyone done dynamic form field adding with the form helper and jquery? |
# |
Jul 3rd 2017, 14:10 |
devito |
hello all |
# |
Jul 3rd 2017, 14:01 |
frent |
@admad well it worked fine in the past with my regular routes and so far it's working as well for my plugin. I noticed if I remove " $routes->fallbacks('DashedRoute'); " from my similar build up in my regular routes file, that it can find the controlled. but how to fix this then? |
# |
Jul 3rd 2017, 13:57 |
adriencs |
did the Security::encrypt() have changed between Cake 2 and Cake 3 ? Can't decrypt old data now |
# |
Jul 3rd 2017, 13:55 |
admad |
you might find my i18n goodies helpful https://github.com/admad/cakephp-i18n#i18nroute |
# |
Jul 3rd 2017, 13:53 |
admad |
it has to be a static string |
# |
Jul 3rd 2017, 13:53 |
admad |
@frent you can't use a placeholder for 1st argument of Router::scope() |
# |
Jul 3rd 2017, 13:51 |
neon1024 |
Could just be a case sensitivity issue perhaps |
# |
Jul 3rd 2017, 13:50 |
neon1024 |
Have you defined your language routing tokens regex? |
# |
Jul 3rd 2017, 13:46 |
frent |
my link creates following url : `/nl/tbapi/import` as expected |
# |
Jul 3rd 2017, 13:45 |
slackebot |
but still doesn't load the controller... |
# |
Jul 3rd 2017, 13:45 |
frent |
Hi Guy's, trying to get a routes for a plugin to work but keep getting a "Controller class Tbapi could not be found." error `Router::scope('/:language', function (RouteBuilder $routes) { $routes->plugin('TBApi', ['path' => '/tbapi'], function ($routes) { $routes->connect('/import', ['controller' => 'ProductGroups', 'action' => 'import'], ['_name' => 'import']); }); });` I have a link to this action, and it does change to the path 'tbap |
# |
Jul 3rd 2017, 13:19 |
Martin` |
I also seaching for the solution of a problem, when I asked it I found it in a few minutes :P |
# |
Jul 3rd 2017, 13:17 |
dereuromark |
:slightly_smiling_face: ok |
# |
Jul 3rd 2017, 13:17 |
jarard01 |
ignore me |
# |
Jul 3rd 2017, 13:17 |
jarard01 |
opps i got it |
# |
Jul 3rd 2017, 13:16 |
jarard01 |
what am I missing, I've checked over the docs severla times |
# |
Jul 3rd 2017, 13:16 |
jarard01 |
hi dereuromark I am getting Error: AuthUserHelper could not be found. in my views |
# |
Jul 3rd 2017, 12:56 |
dereuromark |
yeah, with slack you have a nice interface, also for mobile app and co. at least easier to use for most. |
# |
Jul 3rd 2017, 12:29 |
inoas |
but they are falling probably due to slack adoption |
# |
Jul 3rd 2017, 12:29 |
inoas |
I was just interested in the health of the community ;) cause obviously the numbers on the irc channel are falling |
# |
Jul 3rd 2017, 12:28 |
inoas |
over the years I ditched skype, whatsapp, telegram and threema for just signal email and irc <3 :p |
# |
Jul 3rd 2017, 12:28 |
inoas |
not unless I have no good choice ;p |
# |
Jul 3rd 2017, 12:27 |
dereuromark |
get your account man :) |
# |
Jul 3rd 2017, 12:26 |
inoas |
1692 unique users? |
# |
Jul 3rd 2017, 12:26 |
inoas |
1692? I cant see numbers for slack on irc ;) |
# |
Jul 3rd 2017, 12:09 |
jarard01 |
how should I name the create on the form, I thought I might be able to create as $image where foreach $property_image as $image |
# |
Jul 3rd 2017, 12:08 |
jarard01 |
https://gist.github.com/spacebiscuit/c493b4e513167f3491a0a0cbdb34e898 |
# |
Jul 3rd 2017, 12:08 |
jarard01 |
if i have Properties hasMany PropertyImages. On my Property edit page I display all the images along with an option to set an 'order' field as follows: |
# |
Jul 3rd 2017, 12:06 |
dereuromark |
cant you see the numbers? 1692 it says |
# |
Jul 3rd 2017, 12:04 |
inoas |
I just want to know if the channel is overall growing ;) |
# |
Jul 3rd 2017, 12:04 |
inoas |
How much guys are on Slack? |
# |
Jul 3rd 2017, 11:56 |
lorenzo |
I guess the slow part is not reading the file but saving it |
# |
Jul 3rd 2017, 11:28 |
neon1024 |
Might try with XMLReader instead of SimpleXML |
# |
Jul 3rd 2017, 11:26 |
neon1024 |
Or, if an XML file can be converted into a Collection |
# |
Jul 3rd 2017, 11:25 |
neon1024 |
I don’t know how to release memory |
# |
Jul 3rd 2017, 11:25 |
neon1024 |
Sorry, I don’t understand how that would speed things up |
# |
Jul 3rd 2017, 11:24 |
juststeveking |
run through chunks and release memory as you go |