Re: CakePHP 2.1 Submits Duplicate Array Values

2012-03-16 Thread Travis
I'm still seeing this same behavior with the latest code but in a slightly different context. I'm using Cakephp 2.1 as a backend to an Android app. When I post an array from the Android app cake gives me all duplicated values in $this-request-data as Jeremy explained above. However if I post an

Re: Theme still referring to base webroot css file

2011-10-15 Thread Travis Rowland
My webroot folder in my Theme folder had a capital W -- go figure. On Sat, Oct 15, 2011 at 12:08 AM, Theaxiom travis.rowl...@gmail.com wrote: I am experiencing this same exact issue, what did you do to resolve it? -- Our newest site for the community: CakePHP Video Tutorials

Re: Filter automagic drop down combo box

2010-03-16 Thread Travis
Thanks! Again, sort of off topic, but if anyone knows of a good cakephp book, there are a few on amazon http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dapsfield-keywords=cakephpx=0y=0 but they have mixed reviews, any opinions? Thanks again, Travis On Mar 15, 6:53 pm, Alan Asher

Filter automagic drop down combo box

2010-03-15 Thread Travis
it did when I put in find('list') it populates every field into the drop down which is definitely not what I want. *Note, for now I am using a hard coded date for testing. Also, I was wondering if anyone knew of a good cakephp book? Thanks Travis Marble Check out the new CakePHP Questions site

Inheritable classes? Best Method

2010-01-02 Thread Travis
Travis Marble Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: Doubt in cake php

2009-09-29 Thread Travis L
I don't see it as making the controller fat, really. It's where this call belongs. I usually think of fat controllers as doing some of the models' heavy lifting for them. But in this case, putting the code in your controller is clearly the right thing to do, by Cake's MVC principles. Don't

Re: PHP IDEs

2009-09-10 Thread Travis L
I have to put my vote in for Coda. Simplicity. On Sep 10, 4:05 am, jason m ippatsu.ya...@gmail.com wrote: I have used textmate, coda, eclipse, netbeans, and aptana on Mac. For me, textmate has worked the best with the cakephp bundle. Although it is not free, I feel that I am the most

Re: How i can use after properties in textarea.

2009-08-19 Thread Travis L
Just testing this, and it seems to work. Try: ?php echo $form-input('name',array('type' = 'textarea', 'label'='name','after'='Must be 6 character')); ? Just add the type = textarea and it worked OK for me. On Aug 18, 2:56 am, arif hossen arifhossen2...@gmail.com wrote: Dear all, How i can

Re: Full HABTM Example

2009-08-06 Thread Travis L
Taff, Remember if you want to use Tag::find using conditions from the Dolist table, you can use the Containable behavior. It's kind of like being able to set recursion levels with a high degree of precision, as well. On Aug 5, 10:25 am, Taff taff.law...@googlemail.com wrote: You are the man

Re: Notification emails - how to send them automatically?

2009-08-06 Thread Travis L
Second the recc for using cron. I used a tutorial I found at http://blogchuck.com/?p=22 You will need to define the actions you want performed in a controller file, then add a crontab entry to call it. Your crontab entry will look something like: 0 0 0 0 0 /usr/bin/php

Re: Web hosting company advice

2009-08-05 Thread Travis L
With any shared hosting setup, you're going to notice a pretty significant amount of latency. Cake isn't fast, and shared hosting isn't great. Even moving up to a VPS doesn't improve it that much -- I've got 1.2s page load times, unfortunately. On Aug 5, 3:44 am, Vijay Kumbhar

Re: belongsto relationship not working

2009-07-21 Thread Travis
plural/camel case conventions any ideas? Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email

Re: belongsto relationship not working

2009-07-21 Thread Travis
plural/camel case conventions any ideas? Travis On Jul 19, 2:25 pm, Carlos Lavin carloslavi...@gmail.com wrote: Cake expects it to be called field_id... although im not sure that is whats creating the problem.. give it a shot and let us know 2009/7/19 Travis marbletra...@gmail.com

Re: belongsto relationship not working

2009-07-19 Thread Travis
fields_id is what the FK is called in the table, I have a table called fields, when I created the foreign key in irrigation_events I called it fields_id. Travis On Jul 16, 1:30 pm, Piotr Kilczuk kilc...@gmail.com wrote: Hello, I have successfully set up other belongsto relationships

Re: Tried to install another application inside cakePHP configuration

2009-07-16 Thread Travis L
If you have httpd.conf access, I'd put the directive in there. Alias /pma /var/www/html/phpMyAdmin Directory /var/www/html/phpMyAdmin ... /Directory On Jul 15, 9:11 am, saavedrajj saavedr...@gmail.com wrote: it works with this code IfModule mod_rewrite.c    RewriteEngine on    rewritecond

Re: Root Server: email-component fails sometimes, why?

2009-07-16 Thread Travis L
Anything on your system to suggest it's overloaded and the messages are getting silently dropped? If you increase Cake's debug level you should see some output which could help you out, it'll give you a full stack trace I believe. On Jul 15, 1:17 pm, DigitalDude e.blumsten...@googlemail.com

Re: $_POST

2009-07-16 Thread Travis L
cbhan - I think that Cake will only store data into the Controller::data attribute if the corresponding HTML entity is named according to Cake convention (e.g. data[Field]). Without that data identifier, I don't think you'll be able to access the facebook POST'd values in the controller in that

belongsto relationship not working

2009-07-16 Thread Travis
I have successfully set up other belongsto relationships in this program but one does not work the model code is: class IrrigationEvent extends AppModel { var $name = 'IrrigationEvent'; var $useTable = 'irrigation_events'; var $belongsTo = array( 'Field' = array(

Re: Any dissadvantage to adding Containable behvior to all models

2009-07-15 Thread Travis L
There's the small overhead of linking that behavior to those models, but I suspect it's so minimal as to be not noticed. BTW, I just figured out the Containable behavior, and I love it! Should be more prominent in the Cake book. On Jul 14, 12:38 am, Miles J mileswjohn...@gmail.com wrote: No

Re: Tried to install another application inside cakePHP configuration

2009-07-15 Thread Travis L
I've got PMA installed on all my systems, even those with Cake. I use the httpd.conf to specify an alias in Apache to redirect the request to a different part of the filesystem. Works great everywhere I've done it. On Jul 14, 12:52 am, Dr. Loboto drlob...@gmail.com wrote: Or install them into

Re: Forms with multiple tables

2009-07-04 Thread Travis
name. Travis On Jul 3, 10:13 pm, Paul s...@webprogression.co.nz wrote: Sorry last post sent in error So you have your view with some fields in it, including your forign key - here assuming farm_id views/fields/add.ctp ?php echo $form-create('Field')? ?php echo $form-input('name')? ?php

Forms with multiple tables

2009-07-03 Thread Travis
I am new to cakePHP and am in the process of learning to use it. I am wondering how I can have a form element populated with elements from a different table than the model, for example I am wanting to write a farm manager using cakePHP as the framework, if I have fields that belong to farms,

Re: Simple relationship problem

2009-06-30 Thread Travis L
Carlos is right, but he was a little implicit in his answer. The short answer is that the Agency belongsTo Seller means that each agency belongs to only one seller. It wants a seller_id field in the agency table (which is how the relationship is linked). From what I understand, you want the

Re: cron job question..

2009-06-18 Thread Travis L
I'm not a huge fan of the cake console stuff, for various reasons. However, you can go to http://blogchuck.com/?p=22 and check out the instructions for setting up a cron job in cake without using curl. One note, however, is that you must have command line access to set this up (and php has to be

Re: Route instead of redirect?

2009-06-11 Thread Travis L
Have you tried using App::import('Controller', 'ControllerName') to get an instance of a new controller? You'd then have to initialize it with the bootstrap stuff that Cake automatically does for you (assuming you want the object attributes set correctly). From there I would guess that you

Re: Share a hasMany association ?

2009-06-09 Thread Travis L
. Normally I don't suggest premature optimization, but I've found that primary keys based on non-INT data types can be really slow. HTH, Travis On Jun 8, 9:39 am, iFeghali igor.fegh...@gmail.com wrote: ok this is similar to that question: http://groups.google.com/group/cake-php/browse_thread/thread

Re: The best database setup for this?

2009-06-09 Thread Travis L
Agreed with Brian. It may seem like the table is getting huge (which it eventually will). But you're just keeping record of 2-3 INT data types (depending on how you do the key), so much of it will fit into memory anyhow. I wouldn't worry too much about join tables being a source of slowness

Re: Confirmation Page for Form?

2009-06-09 Thread Travis L
Check out the Wizard component for sure. Otherwise, use a helper or element that will display the data differently -- if the POST'd values are present, it will display it as static, non-editable. If they aren't there, it will display them as input fields. On Jun 8, 9:13 am, brian

Re: Poll: what do you hate about CakePHP?

2009-05-19 Thread Travis L
Upvote for this post. The ACL component was really neat, until I tried to actually use it. It was more difficult to try and use it than to just roll my own. Auth Component works great, I wish ACL worked great with Auth. Also ++ to commenters who asked for more real-world tutorials. The manual

Re: Advanced routing and controller redirecting

2008-05-21 Thread Travis
Thanks, I'll give that a try! On May 21, 12:03 am, Jonathan Snook [EMAIL PROTECTED] wrote: On Wed, May 21, 2008 at 12:49 AM, Travis [EMAIL PROTECTED] wrote: Yes, I would like to display the data differently depending on the attributes passed in. Then set up three different routes

Custom field name in Form helper

2008-05-21 Thread Travis
I was reading through the Form helper for 1.2 and couldn't find anything that allowed you to change the field name. Here is the code I'm using: code echo $form-create('Form', array('action' = $form_id)); foreach($form_data['Attribute'] as $attribute) { echo

Hidden field in Form helper

2008-05-21 Thread Travis
Is there a way to set the value attribute of a hidden in field in the Form helper? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Advanced routing and controller redirecting

2008-05-20 Thread Travis
I am trying to create a controller that acts similar to that of which you find commonly on blogs. I want the user to be able to type http://www.example.com/2008/05/20/, http://www.example.com/2008/05/, and http://www.example.com/2008/ to be directed to an archive for the current day, month, and

Re: Advanced routing and controller redirecting

2008-05-20 Thread Travis
Yes, I would like to display the data differently depending on the attributes passed in. On May 20, 6:16 pm, Jonathan Snook [EMAIL PROTECTED] wrote: On Tue, May 20, 2008 at 7:07 PM, Travis [EMAIL PROTECTED] wrote: I am trying to create a controller that acts similar to that of which you

using saveAll with multiple associated records with hasMany relationship?

2008-03-30 Thread Travis Choma
Using Cake 1.2 tried current stable release and nightly build 03-30-2008 . I have a model Slideshow that has many Photos. I have a view for creating a slideshow with multiple photos: div class=foto h2New Postcard/h2 ?php echo $form-create('Slideshow', array('type' = 'file','action' =

Best practice for SQL data sanitation

2008-03-26 Thread Travis
for the support. -Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED

using a Microsoft Word Template as a view

2008-01-31 Thread Travis
Hi, Does anyone know a way to generate a Micosoft Word document from a Word template and output that document as the view? Thanks, Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post

Re: using a Microsoft Word Template as a view

2008-01-31 Thread Travis
the appropriate headers and then sending HTML will be enough. Similarly saving Word Template as HTML can also help... Word will open html without any problems. On Jan 31, 2008 9:21 PM, Travis [EMAIL PROTECTED] wrote: Hi, Does anyone know a way to generate a Micosoft Word document from

Re: using a Microsoft Word Template as a view

2008-01-31 Thread Travis
documents with cake, and what would be the appropriate direction to proceed in. Forgive me for bothering everyone. Thanks, Travis On Jan 31, 10:11 am, Ron Chaplin [EMAIL PROTECTED] wrote: Hey Travis, I know that this might not be much of use to you or anyone, but I feel the need to say

Re: HABTM Multi Select Box

2008-01-12 Thread Travis
bump ... :D On Jan 11, 11:44 am, Travis [EMAIL PROTECTED] wrote: Hi All, I need to create a multiselect box for a HABTM relationship. I have 5 tables customers, customers_employees, employees, employees_transactions, and transactions. 1 transaction has many employees. 1 Employee Belongs

HABTM Multi Select Box

2008-01-11 Thread Travis
Hi All, I need to create a multiselect box for a HABTM relationship. I have 5 tables customers, customers_employees, employees, employees_transactions, and transactions. 1 transaction has many employees. 1 Employee Belongs to 1 customer. 1 Customer have many transactions. 1 Customer has many

Using 1 cake app to power multiple sites

2008-01-10 Thread Travis
Hi, I was wondering if anyone had any ideas on how to implement this idea in the most effective way. I'm working on a CMS right now for private use that is going to need to power multiple domains (www.site1.com, www.site2.com, www.site3.com, etc) Each site needs its own database, and each

Re: Using 1 cake app to power multiple sites

2008-01-10 Thread Travis
Thanks for all the ideas, but I think everyone misunderstood my question. I only want 1 app directory, running anywhere from 2 - 1000 websites. That way if a bug is found in lets say a blogController, one source code update is made, and all blogs are updated. On Jan 10, 3:28 pm, Robby

Re: Getting Data from 2 tables

2008-01-07 Thread Travis
bump :) On Jan 6, 10:31 pm, Travis [EMAIL PROTECTED] wrote: Hey everyone, I'm trying to generate a list of employees and in that list I want to show the customer which that employee belongs to. In my db I have an employees table and a customers table and each employee has a customer_id

Re: Getting Data from 2 tables

2008-01-07 Thread Travis
Thanks Chris, but the problem is that when I do a findAll() or a pagninate() I'm not getting data from both tables even though I have set my recursive var and my associations. Any suggestions? On Jan 7, 9:13 am, Chris Hartjes [EMAIL PROTECTED] wrote: On Jan 6, 2008 11:31 PM, Travis [EMAIL

Re: Getting Data from 2 tables

2008-01-07 Thread Travis
by default. If you're still not convinced then just write a small sql query and call it like: $data = $this-Customer-query($sql); Adam On Jan 7, 11:27 pm, Travis [EMAIL PROTECTED] wrote: bump :) On Jan 6, 10:31 pm, Travis [EMAIL PROTECTED] wrote: Hey everyone, I'm trying to generate

Can't Get Associations to Work

2008-01-07 Thread Travis
that associations can be turned off, or if you see me following some non-standard convention. And I am on version 1.2.6311 beta. Thanks Travis class Customer extends AppModel { var $name = 'Customer'; var $hasMany= 'Employee'; var $recursive = 1; } class

Using Multiple Models in a Controller?

2008-01-06 Thread Travis
that lists all customers ,so that in the Employee/index file I can generate a dropdown to select the customer to sort the data by. I haven't been able to find any examples of something like this anywhere I have looked. Any help would be appreciated. Travis

FormHelper Labels

2008-01-06 Thread Travis
Hey everyone, I'm trying to style a form a certain way and need to be able to style a label, so I am using the following code ?php echo $form-label('Employee/name','Employee Name', array('class'='prefield'));? ?php echo $form-input('Employee/name',array('label'));? The problem is, is that the

Re: FormHelper Labels

2008-01-06 Thread Travis
that worked. thanks alot! On Jan 6, 1:39 pm, Robby Anderson [EMAIL PROTECTED] wrote: Try adding the false value to the label key in the second parameter, like this: ?php echo $form-input('Employee/name',array('label' = false));? --~--~-~--~~~---~--~~ You

Re: Using Multiple Models in a Controller?

2008-01-06 Thread Travis
you want to access Customer model in employees_controller ? just add : var $uses = array('Customer'); or var $uses = array('Employee', 'Customer'); On Jan 7, 2:00 am, Travis [EMAIL PROTECTED] wrote: Hi everyone, I have two models, Employee and Customer. Employee belongsTo Customer

Re: Using Multiple Models in a Controller?

2008-01-06 Thread Travis
Hey gwoo, you are right. I had commented out an association in my customer_model, when I uncommented it and took out the var $uses, it still worked. thanks for the help On Jan 6, 5:53 pm, gwoo [EMAIL PROTECTED] wrote: No you do not need var $uses if you have associations. $this-Employee-

Getting Data from 2 tables

2008-01-06 Thread Travis
Hey everyone, I'm trying to generate a list of employees and in that list I want to show the customer which that employee belongs to. In my db I have an employees table and a customers table and each employee has a customer_id field. The problem is, I want to show the customer.name field, not

Updating a Record with an auto increment id

2008-01-05 Thread Travis
HI, I'm trying to update a record through the controller action customers/ edit/id_number. This loads a form prepopulated with the customer data associated with id_number. The form posts to customers/edit. The id_number field is an auto increment integer that is the primary key on the table.

Re: Updating a Record with an auto increment id

2008-01-05 Thread Travis
I tried that, but it didn't resolve the problem. On Jan 5, 6:59 pm, Robby Anderson [EMAIL PROTECTED] wrote: In your model declaration, did you use the primaryKey property? var $primaryKey = 'id_number'; On Jan 5, 5:51 pm, Travis [EMAIL PROTECTED] wrote: HI, I'm trying to update

Re: Updating a Record with an auto increment id

2008-01-05 Thread Travis
PM, Travis [EMAIL PROTECTED] wrote: When I use $this-Customer-Save() this is the message I recieve ... Query: INSERT INTO `customers` (`name`,`street`,`city`,`state`,`zip`,`phone`,`id`,`modified`,`created`) VALUES ('thomas','','Lafayette','LA','70517','337-555-','0','2008-01-05 17

using ThickBox and jQuery

2008-01-04 Thread Travis
to be passed, such as test.html?height=300width=300. How do I pass those parameters to a link while using cake? Any help would be greatly appreciated. Thanks, Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake

Re: using ThickBox and jQuery

2008-01-04 Thread Travis
$html-link('Link Title','test.html? height=300width=300'); ? -- Marc Grabanskihttp://marcgrabanski.com On Jan 4, 9:40 am, Travis [EMAIL PROTECTED] wrote: Hi everyone, I'm new to the group here. I have been out of development since 2004, so I'm just getting back into the swing

Pagination and Layout Bug???

2008-01-04 Thread Travis
Ok, So this is completely weird ... anyone ever seen this before, maybe I'm doing something wrong... whenever I go to mydomain.com/employees/index/ the layout that I have selected in the index function of my controller loads, but when I click a pagination link like

Re: Command to count LOCC (Lines of Cake Code)

2007-10-31 Thread Travis Cline
On Oct 31, 10:09 am, keymaster [EMAIL PROTECTED] wrote: For those trivia lovers out there... Here is a simple Lin*x command I found on the web and tweaked for cake, to count the number of lines of cake code you've written. Run it in the app directory. It lists all code files, the number

Re: Can I keep Smarty Syntax with SmartyView (samples are welcome)

2007-10-29 Thread Travis Cline
. -- Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options

Re: Using PHP session with Cake sessions

2007-10-09 Thread Travis Cline
On Oct 9, 3:28 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Cake creates a new session. Check PHP session_name('identifier') function. Check config/core.php file. You will find CAKE_SESSION_STRING constant. Copy the parameter into application script in myfolder like this:

$this-Model-variable, read

2007-09-26 Thread Travis
I am trying to gather profile information in my users controller by using this function: function profile($username) { $this-User-username = $username; $this-set('user', $this-User-read()); } However, when I visit http://localhost/users/profile/ username_goes_here the query

Re: Calling stored procedures

2007-09-17 Thread Travis
I'm interested in this as well, any suggestions? Thanks! On Jul 19, 11:51 pm, Martin Schapendonk [EMAIL PROTECTED] wrote: Hi, What would be a nice way to callstoredproceduresand capture their output/return value from CakePHP? Regards, Martin -- Martin Schapendonk, [EMAIL PROTECTED]

Re: Dynamic views

2007-08-24 Thread Travis Cline
As far as I'm aware there aren't existing helpers/components that would accomplish this. It would require at least a helper and a component to make it work smoothly -- it shouldn't be too hard to accomplish. Do share in a bakery article if you take this path. -- Travis

Dynamic views

2007-08-23 Thread Travis
I was wondering if there were any CakePHP based components that would allow me to build dynamic data entry views based on values in a database such that I can enter data and store it in a generic table. For example, if I have a table 'Attributes' that has an attribute name, and the type of

Re: Dynamic views

2007-08-23 Thread Travis
, but if I'm getting the right impression the ConfComponent:http://bakery.cakephp.org/articles/view/confcomponent-db-based-config... is what you're looking for. I use it extensively, its a great database based configuration tool. On Aug 23, 10:31 am, Travis [EMAIL PROTECTED] wrote: I was wondering

Re: How to build form with multiple records?

2007-08-08 Thread Travis Cline
mean to have the core support for fields in such a format: data[Model][?= $i; ?][id] I don't think it's trivial. I wonder if the devs consider this too edge case, it would surely be slick. -- Travis --~--~-~--~~~---~--~~ You received this message because you

Re: Different layout for admin route?

2007-07-13 Thread Travis Cline
On Jul 12, 6:07 pm, Geoff Ford [EMAIL PROTECTED] wrote: I would use a beforeFilter and test for $this-params['admin']; function beforeFilter(){ if (isset($this-params['admin'])) { $this-layout = 'admin_layout_name'; } } Geoff --http://lemoncake.wordpress.com Yeah, that's

Re: Different layout for admin route?

2007-07-12 Thread Travis Cline
On Jul 12, 3:17 pm, Mech7 [EMAIL PROTECTED] wrote: Yes but is it possible to do this for all admin pages? On Jul 12, 8:45 pm, Michael Augustyniak [EMAIL PROTECTED] wrote: Mech7 wrote: I am using the /admin for tasks like editing / adding / deleting only I am wondering is it possible

Re: Sending an php array value to an javascript array

2007-06-02 Thread Travis Cline
Migurski's json class. See this forum post for a howto: http://extjs.com/forum/showthread.php?t=2362 -- Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

Re: Problem Uploading Files

2007-06-02 Thread Travis Cline
This is not CakePHP specific: see http://www.google.com/search?q=+open_basedir+restriction --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: manage different applications on same cake installation

2007-05-28 Thread Travis Cline
updates much more simple. -- Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Re: Unobtrusive JavaScript validations

2007-05-28 Thread Travis Cline
for the simple stuff but I think if you treated all the fields in the same manner you could gain some simplicity. Anyhow, it seems like most of this could be accomplished with a component and a small method in a controller -- without core modification. -- Travis

MultipleDisplayFields Behavior - possible solution to handling multiple fields in $displayField

2007-05-25 Thread Travis Cline
); } } } return $results; } (in the bin paste as well) Not very clean but as far as I can tell it's what you have to do (aside from putting all the logic in AppModel or in your model directly). Comments encouraged. -- Travis

Re: Quark CMS (testers wanted)

2007-05-21 Thread Travis Cline
addition (or method addition) that'd rock. 6. I'd add in permission checks -- getting it to the state of drop in and hit the browser would be pretty slick. Great stuff! Get a few kinks out, an little install process and you've got a pretty sweet app. -- Travis

Re: Multiple rules of validation per field in CakePHP 1.2? (bakery sucks?)

2007-05-16 Thread Travis Cline
.'), ), ); Rule can be an array as to pass parameters to the method (i'm bet mariano is covering all this though). There doesn't appear to be good control of ordering yet it just uses the last one in -- 'last' isn't being used as far as I can tell. Pretty slick nonetheless. Regards, Travis

Re: Pagination

2007-05-16 Thread Travis Cline
.x pagination information while 1.2 has pagination integrated -- if you bake a default controller and views you can see an example of the 1.2 pagination in action. -- Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: what is the webroot's controller?

2007-05-16 Thread Travis Cline
directory. You can either re-implement a different pages controller, copy and modify the existing one, or name your controller something else. Happy Baking, -- Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

More succinct Textile Helper and Component

2007-05-15 Thread Travis Cline
of the main methods (TextileThis and TextileRestricted). -- Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group

Re: Multiple rules of validation per field in CakePHP 1.2? (bakery sucks?)

2007-05-15 Thread Travis Cline
but discarding it because of tone isn't cool. Why not, yeah it's a workflow problem, you might check trac for a feature ticket and create one if it doesn't exit or the like. Just kind of disappointed at the tone of the response I guess =/ -- Travis --~--~-~--~~~---~--~~ You

Re: How can I fetch fields of the $hasAndBelongsToMany joinTable?

2007-05-15 Thread Travis Cline
data. You may have a compelling reason but you would be able to simplify your current models sustaintially if you follow convention for table names and relationship field names. -- Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: HowTo: Linked Combobox ?

2007-05-15 Thread Travis Cline
Wouldn't it be better to preload the data into JSON (or similar) than to make an additional round trip to the server for every change of a combo box? For small sets of data, yeah. Generating a new request allows for greater expansion though. -- Travis

Re: SmartyView+SmartyHelpers

2006-11-05 Thread Travis Cline
an optional __show_call=true parameter to var_dump $parameters before the call. I put some initial doc here (feel free to email me with additions/changes to the article): http://bakery.cakephp.org/articles/view/138 Travis --~--~-~--~~~---~--~~ You received this message

Re: SmartyView+SmartyHelpers

2006-11-02 Thread Travis Cline
. http://cakeforge.org/snippet/download.php?type=snippetid=257 Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: SmartyView+SmartyHelpers

2006-11-02 Thread Travis Cline
On 11/2/06, Travis Cline [EMAIL PROTECTED] wrote: Whoops! Whoops again. A couple problems/enhancements. If there are parameters after the array parameter that are passed in the order in the actual call is off. Hopefully you get the idea, feel free to up a new version seb. It might make sense

Re: SmartyView+SmartyHelpers

2006-11-02 Thread Travis Cline
approach the $html-css issue, just require rel be passed if you want additional parameters? Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php

Re: SmartyView+SmartyHelpers

2006-11-01 Thread Travis Cline
) Thoughts? Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options