Re: 3.x: SessionHelper deprecated, what's the new version of this?

2015-04-23 Thread Joe Theuerkauf
Thanks guys. Looks like that did the trick. Guess i expected it to be more complicated, since before it mixed Session Flash. On Wed, 22 Apr 2015 at 00:34 Anthony GRASSIOT antograss...@gmail.com wrote: http://book.cakephp.org/3.0/en/views/helpers/flash.html Le 22 avr. 2015 06:17, Andras Kende

Re: 3.0b3 - label[for] input[id] discrepancies

2014-12-02 Thread Joe Theuerkauf
the 'for' attribute and for checkbox() the 'id' attribute. When using the input() function, the label and the checkbox will be generated for you with a matching id for both tags On Tuesday, December 2, 2014 5:21:47 AM UTC+1, Joe Theuerkauf wrote: i'm a little confused about how labels inputs

3.0b3 - label[for] input[id] discrepancies

2014-12-01 Thread Joe Theuerkauf
i'm a little confused about how labels inputs are assigned for/id pairs in FormHelper. Here's the code i have (it's inside a foreach of an entity collection): $attrId = 'Listing.ItemAttr.' . $attr-id; echo $this-Html-div('columns small-16 medium-8', $this-Form-label($attrId, // [for]

Re: Conditionally set defaultConnectionName

2014-11-03 Thread Joe Theuerkauf
controller under the admin namespace do: public function beforeFilter() { parent::beforeFilter(); \Cake\Datasource\ConnectionManager::alias('default', 'admin'); } On Sunday, November 2, 2014 4:44:16 PM UTC+1, Joe Theuerkauf wrote: Sorry, what i meant was, i don't plan to use

Re: Conditionally set defaultConnectionName

2014-11-02 Thread Joe Theuerkauf
Thanks for that tip, Mark. i don't plan to use defaultConnectionName in this scenario (as i did for the Captcha thread where the table i needed is in a different database). i can see where aliasing the connection will make it hard to access the original connection. Which is why i asked for

Re: Conditionally set defaultConnectionName

2014-11-02 Thread Joe Theuerkauf
Sorry, what i meant was, i don't plan to use defaultConnectionName the same WAY i was using it for the Captcha question. If it's a legit option, i'll use it, but i see your point about not using defaultConnectionName AND a connection alias. On Sunday, 2 November 2014 10:40:20 UTC-5, Joe

Re: Conditionally set defaultConnectionName

2014-11-01 Thread Joe Theuerkauf
of default for ALL tables used in that request? On Thursday, October 30, 2014 4:25:30 AM UTC+1, Joe Theuerkauf wrote: i may be overthinking this - if so, tell me. i'd like to have a DB config for the general website user, who needs only SELECT for most things, and a separate config

Re: Conditionally set defaultConnectionName

2014-10-30 Thread Joe Theuerkauf
tables used in that request? On Thursday, October 30, 2014 4:25:30 AM UTC+1, Joe Theuerkauf wrote: i may be overthinking this - if so, tell me. i'd like to have a DB config for the general website user, who needs only SELECT for most things, and a separate config for the Admin side

Re: Make Apache ignore actual directory for route?

2014-10-20 Thread Joe Theuerkauf
on that first try? Can someone help? i know it sounds confusing to describe, but i'd be grateful for ideas. -joe t. On Sunday, 19 October 2014 00:45:35 UTC-4, Joe Theuerkauf wrote: Forewarning: i'm not great with Apache. Usually i can fumble my way around, but it doesn't take much to throw me off

Make Apache ignore actual directory for route?

2014-10-18 Thread Joe Theuerkauf
Forewarning: i'm not great with Apache. Usually i can fumble my way around, but it doesn't take much to throw me off. i've done all my development using Cake's built-in server, and things have been mostly smooth. i'm now working toward migrating to a LAMP server (testing locally in Windows),

Re: CakePHP 3.0.0-beta2 released

2014-10-05 Thread Joe Theuerkauf
Excellent work guys. It's been great following the progress of this new major release. For all the challenges frustrations (of my own making), i'm glad i picked Cake as a learning experience. The framework the team are awesome. -Joe T. On Sunday, 28 September 2014 09:49:02 UTC-4, José

Re: 3.0: Entity get/set mutators

2014-09-22 Thread Joe Theuerkauf
UTC+2, Joe Theuerkauf wrote: i have several tables with an `active` column, and the Admin should be able to de/activate records to determine whether they related records are available in the application. Instead of constantly converting T/F or 1/0 to Active/Inactive, i wrote an Entity

3.0: Entity get/set mutators

2014-09-21 Thread Joe Theuerkauf
i have several tables with an `active` column, and the Admin should be able to de/activate records to determine whether they related records are available in the application. Instead of constantly converting T/F or 1/0 to Active/Inactive, i wrote an Entity getter: protected function

Re: DebugKit 3.0 installation

2014-09-10 Thread Joe Theuerkauf
with composer On Wednesday, September 10, 2014 11:13:56 AM UTC+2, Bprd Codin wrote: Hi, the best way is to install it manually ?? for me under linux it's working probably your composer is not update ? codeindev Le jeudi 4 septembre 2014 07:13:31 UTC+2, Joe Theuerkauf a écrit : Dumb

Re: DebugKit 3.0 installation

2014-09-09 Thread Joe Theuerkauf
/ On Friday, September 5, 2014 1:46:45 AM UTC+2, Joe Theuerkauf wrote: i junked everything inside */vendor*. Empty directory. *composer install* Everything installed cleanly. DebugKit is in /plugins Here are the clone hashes composer listed: - Installing cakephp/plugin-installer (dev

Re: DebugKit 3.0 installation

2014-09-09 Thread Joe Theuerkauf
To composer.json to make it install as per instructions on Github but that is to be expected... T On Wed, Sep 10, 2014 at 6:40 AM, Joe Theuerkauf thoo...@gmail.com javascript: wrote: Well, more digging around on my own i got DebugKit to run. However, the config is pretty different from the Github

Re: DebugKit 3.0 installation

2014-09-05 Thread Joe Theuerkauf
If that's where it's supposed to install, why do i get the error from my original post? i can't start the application if i try to load DebugKit. What other info can i put up to help diagnose this? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

Re: DebugKit 3.0 installation

2014-09-04 Thread Joe Theuerkauf
On Thursday, 4 September 2014 03:18:15 UTC-4, José Lorenzo wrote: Do you have the latest cakephp 3 code? Debugkit is installing fine for me On Thursday, September 4, 2014 7:13:31 AM UTC+2, Joe Theuerkauf wrote: Dumb question # 3,582,697: Why is composer installing DebugKit (3.0.*-dev

Re: DebugKit 3.0 installation

2014-09-04 Thread Joe Theuerkauf
- Installing cakephp/cakephp (3.0.x-dev b35cc28) Cloning b35cc28793a5e6a6f8f730fd03c4368d7aa0fdb5 - Installing cakephp/debug_kit (3.0.x-dev 0dde466) Cloning 0dde4663d9df811b2b8660c05a72c29b903386c3 So, any ideas? :) -joe On Thursday, 4 September 2014 19:31:43 UTC-4, Joe Theuerkauf wrote

DebugKit 3.0 installation

2014-09-03 Thread Joe Theuerkauf
Dumb question # 3,582,697: Why is composer installing DebugKit (3.0.*-dev) to /plugins rather than /Plugin? When i follow the idiot-simple (and i should know!) instructions for the DK3 branch, i end up with this: *Fatal error*: Uncaught exception 'Cake\Core\Exception\MissingPluginException'

Re: 3.0.x - defaultConnectionName not working in Plugin

2014-08-31 Thread Joe Theuerkauf
the patience in trying to help me. At least i'm trying to figure it out on my own while i wait for help, right? :) -joe On Saturday, 30 August 2014 12:28:50 UTC-4, Joe Theuerkauf wrote: @José: Here's what i'm using that works on the Contact page where i need to load the Captchas model to grab

Re: 3.0.x - defaultConnectionName not working in Plugin

2014-08-30 Thread Joe Theuerkauf
to the intended URL. Instead i get Controller not found (App\Controller\ThookController). i'll keep trying, but anything toward helping me understand this better would be hugely appreciated. -joe On Saturday, 30 August 2014 01:04:22 UTC-4, Joe Theuerkauf wrote: i wasn't. My mistake. However, i

Re: 3.0.x - defaultConnectionName not working in Plugin

2014-08-30 Thread Joe Theuerkauf
@José: Here's what i'm using that works on the Contact page where i need to load the Captchas model to grab a question: Works: Plugin::loadAll([ [ 'Thook/Websites' = ['routes' = true] ] ]); Also works: Plugin::load('Thook/Websites'); Doesn't work: Plugin::load('Thook/Websites',

3.0.x - defaultConnectionName not working in Plugin

2014-08-29 Thread Joe Theuerkauf
A while ago i created this thread: https://groups.google.com/forum/#!topic/cake-php/A5WHkiWCPd4 i was trying to hook up tables from a second database, using a different Datasource connection from *app.php*. My default is kodiak, the other is websites. It's a general-use set of tables, like

Re: 3.0.x - defaultConnectionName not working in Plugin

2014-08-29 Thread Joe Theuerkauf
04:00:35 UTC-4, José Lorenzo wrote: How did you load your plugin? On Friday, August 29, 2014 9:32:48 AM UTC+2, Joe Theuerkauf wrote: A while ago i created this thread: https://groups.google.com/forum/#!topic/cake-php/A5WHkiWCPd4 i was trying to hook up tables from a second database, using

Re: 3.0 - composer update failing

2014-08-13 Thread Joe Theuerkauf
appreciate the help. -joe On Wednesday, 13 August 2014 04:11:39 UTC-4, José Lorenzo wrote: delete the vendors/cakephp folder and run composr update again On Wednesday, August 13, 2014 4:16:44 AM UTC+2, Joe Theuerkauf wrote: Running *composer update* is currently failing, claiming i have local

Re: 3.0 - composer update failing

2014-08-13 Thread Joe Theuerkauf
for your help. -joe On Wednesday, 13 August 2014 10:51:34 UTC-4, José Lorenzo wrote: Have you changed the core.autocrlf config for git? It might be that after cloning, git is changing the line endings in the repo On Wednesday, August 13, 2014 2:50:24 PM UTC+2, Joe Theuerkauf wrote: /facedesk i

3.0 - composer update failing

2014-08-12 Thread Joe Theuerkauf
Running *composer update* is currently failing, claiming i have local edits that conflict with the remote. However, i haven't done any edits to Cake source files. i tried discarding the changes so the remote could overwrite the files, and still got a failure. Getting the same problem if i go

Re: CakePHP 3.0.0-alpha2 released

2014-08-04 Thread Joe Theuerkauf
Quick correction: routes.php link is 404. Should be (i think): *https://github.com/cakephp/app/blob/master/config/routes.php* On Monday, 28 July 2014 03:13:14 UTC-4, José Lorenzo wrote: The CakePHP core team is proud to announce the immediate availability of CakePHP 3.0.0-alpha2

Re: 3.0: defaultConnectionName doesn't create correct connection

2014-07-23 Thread Joe Theuerkauf
them On Wednesday, July 23, 2014 5:33:18 AM UTC+2, Joe Theuerkauf wrote: Okay, i fixated on this tonight i think i got it to work. i put CaptchasTable back in App/Model/Table, and behold the class loads correctly (i forgot to adjust the namespace in the previous message). However, before i

Re: 3.0: defaultConnectionName doesn't create correct connection

2014-07-22 Thread Joe Theuerkauf
: what is returned if you call $this-Captchas-defaultConnectionName() ? On Sunday, July 20, 2014 6:29:33 PM UTC+2, Joe Theuerkauf wrote: i tried this topic before, but the only response was for an older version of Cake... i'm following this documentation: http://book.cakephp.org/3.0/en/orm

Re: 3.0: defaultConnectionName doesn't create correct connection

2014-07-22 Thread Joe Theuerkauf
of a popular front-end framework i use. Lots of other unrelated crap too. To say the least, it's been a long month. On Tuesday, 22 July 2014 21:26:20 UTC-4, Joe Theuerkauf wrote: José: Sorry for the delayed response. i've been getting burned out (and burned up with the weather), so i took a day

Re: 3.0: defaultConnectionName doesn't create correct connection

2014-07-22 Thread Joe Theuerkauf
... Can this be done at all? On Tuesday, 22 July 2014 21:26:20 UTC-4, Joe Theuerkauf wrote: José: Sorry for the delayed response. i've been getting burned out (and burned up with the weather), so i took a day to breathe. i called $this-Captchas-defaultConnectionName() from inside

3.0: defaultConnectionName doesn't create correct connection

2014-07-20 Thread Joe Theuerkauf
i tried this topic before, but the only response was for an older version of Cake... i'm following this documentation: http://book.cakephp.org/3.0/en/orm/table-objects.html#configuring-connections i'm trying to keep a few tables that would be application-agnostic in a different database. i'm

Using multiple databases with defaultConnectionName

2014-07-06 Thread Joe Theuerkauf
Maybe i'm getting in over my head, but i'm trying to learn as much as i can... i'm attempting to keep a few tables in a different database. My current project will use them, but i want them to be more generally available for other projects down the road (things like mime-types, captcha

Re: Using multiple databases with defaultConnectionName

2014-07-06 Thread Joe Theuerkauf
:18:19 AM UTC+8, Joe Theuerkauf wrote: Maybe i'm getting in over my head, but i'm trying to learn as much as i can... i'm attempting to keep a few tables in a different database. My current project will use them, but i want them to be more generally available for other projects down

3.0alpha1: Recent commit removes default Routes

2014-07-05 Thread Joe Theuerkauf
i did a Composer update last night my project exploded. Turns out a [recent commit https://github.com/cakephp/cakephp/commit/a30f1c505c4a69bb4abb94d5b1d7aec1ffbd7015] removed /src/Config/routes.php. Being new to programming within a framework, comprehending dealing with routes is still a