Re: Creating zip file on the fly

2006-04-04 Thread AD7six
addFile becoming addData and addFile adding a file are great improvements, IMO. I look forward to testing and using this. Good work shaunster et al. :o) AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: lurking for controler

2006-04-06 Thread AD7six
[0]) ? Array('class'='active') : NULL)./li; 6)name again The PHP4 fix, only changes the case of the variable it is set by cake to be the name of the controller - echo it out if in doubt. After a little refining, I think I'll put it on the wiki ;) Cheers, AD7six Looking for CakePHP info? Find

Re: Make database calls inside of component

2006-04-08 Thread AD7six
) { $this- model = new NameOfModel; // Not sure if there's a way to tie this in automagially } function calculate( ??? ) { $this-myarray[$itemcost]=100; $this-model-save($this-myarr); } Cheers, AD7six Looking for CakePHP info? Find it faster here: http://www.cakephp.org/search

Re: Problem with extends - no access to parents var?

2006-04-10 Thread AD7six
('User')); } And for your group: debug ('currentUser=' . $currentUser-getId()); should be debug ('currentUser=' . $this-currentUser-getId()); Cheers, AD7six Looking for CakePHP info? Find it faster here: http://www.cakephp.org/search

Re: bug in dispatcher.php ?

2006-04-14 Thread AD7six
Interesting problem, just so you don't feel alone: Note that the Wiki isn't built on cake, and the main site, which is (http://www.cakephp.org/%CE%B5%CE) breaks too ;o). Setting debug to 0 as RosSoft suggests, may prevents such errors - http://www.noswad.me.uk/%CE%B5%CE fails nicely, but on my

Re: Simple HABTM Question

2006-04-25 Thread AD7six
); } $this-set('data', $data); } else { $this-set('data', Array()); } This gives me an opportunity to ask a question of my own: There is no sort order applied at all to the sql for this kind of search - how can the results be sorted. Cheers, AD7six --~--~-~--~~~---~--~~ You

Re: Simple HABTM Question

2006-04-25 Thread AD7six
There´s a reason I wrote something like :). I use code very similar to this, but I wrote it here off the top of my head. Try: $result = $this-Contractor-Service-findById($service_id); Note the lowercase D, I don`t know if that's the reason for the underscore, but it could be. Cheers, AD7six

Re: custom queries

2006-04-30 Thread AD7six
the SQL queries at the bottom of your page. Cheers, AD7six --~--~-~--~~~---~--~~ 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

Wiki Future and Wiki Search

2006-04-30 Thread AD7six
, AD7six --~--~-~--~~~---~--~~ 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: Can cakephp do association save? Please help...

2006-04-30 Thread AD7six
support right now, but I'd be glad to be corrected ;o) Cheers, AD7six --~--~-~--~~~---~--~~ 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: data from multiple 'model' definitions in one 'view'

2006-04-30 Thread AD7six
); function index(); $allStuffs = $this-Stuff-findAll(); $allThingies = $this-Thingy-findAll(); $allThoughts = $this-Thought-findAll(); ... Hope it helps, Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Session variables won't save on windowsXP, apache 2.0 and PHP 4.4.0

2006-04-30 Thread AD7six
at the end of your index.php file): echo session id is .session_id(); and the id keeps changing, it's quite likely that there is a problem setting cookies rather than a cake specific problem. Hope you find the problem, AD7six PS. I develop on XP, Apache 2.0.55, PHP 4.4.2, cake security set to high

Re: List files in a directory

2006-05-03 Thread AD7six
]); //Reterns a 2D array, 0 is Dirs 1 is files. Should you need a recursive listing, $folder-findRecursive() is pretty useful. Points of reference: http://api.cakephp.org/class_folder.html#1e48cd2cad566f031f81aca2854b7514 http://www.cakephp.org/search/index/folder Cheers, AD7six

Re: get database configuration

2006-05-06 Thread AD7six
']./.$config['database']; Cheers, AD7six --~--~-~--~~~---~--~~ 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: Extending the blog tutorial to include login?

2006-05-06 Thread AD7six
a chance to access the login page if you do this ;) ) Hydra12, I'm curious if there are any benefits we can glean from each other's code with regards to the Ajax chat example. Comments welcome, AD7six --~--~-~--~~~---~--~~ You received this message because you

Re: Missing controller - 100% brand new install

2006-05-07 Thread AD7six
Hi rainchx, Try looking at http://top-40.net/test/ instead. If you look at http://top-40.net/test/cake/ you are requesting a controller named cake which needs to be defined before you can use it ;) Cheers, AD7six --~--~-~--~~~---~--~~ You received this message

Re: problem with data storage using cake

2006-05-07 Thread AD7six
Cheers, AD7six --~--~-~--~~~---~--~~ 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

Re: Session issue

2006-05-09 Thread AD7six
Hi Alberto, And nothing...I get always that favicon.ico. What exactly does this mean? Are you saying that h1?php echo $customers_id; ?/h1 ... rest of file ... in your view file outputs h1favicon.ico/h1 ... rest of file ... ? AD7six --~--~-~--~~~---~--~~ You

Re: Missing Model Missing Model - No class found for the model sanitize

2006-05-10 Thread AD7six
'); // Name of model. Needed if you are running PHP4, as it may not be capitalized correctly function index(){ $this-set('data',$this-User-findAll()); }// eof index } Note the difference between the method and the variable named uses. Happy coding, Cheers, AD7six

Re: cake without htaccess need

2006-05-10 Thread AD7six
there isn´t a seperate download - you need only follow the steps documented in /app/config/core.php (BASE_URL defenition) regards, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post

Re: Using routes to change the controller

2006-05-10 Thread AD7six
try searching the wiki home page for the text Plugins ;) AD7six --~--~-~--~~~---~--~~ 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: Session issue

2006-05-11 Thread AD7six
rel=shortcut icon href=favicon.ico type=image/x-icon / Cheers, AD7six --~--~-~--~~~---~--~~ 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: Session weirdness with IE

2006-05-11 Thread AD7six
that this is IE at it´s best and not a Cake problem; if you find your cause I´d be interested to know what it is. Cheers, AD7six for reference: http://groups.google.com/group/Professional-PHP/browse_thread/thread/7ae6afd3ad4f7361/0de6c9c4ddea3c5e?hl=en#0de6c9c4ddea3c5e

Re: Following blog tutorial.... problem

2006-05-12 Thread AD7six
I would guess that you may have created a Database table named Post wherease cake is expecting a table called Posts which doesn't exist (as the message says). If this isn't the problem, I would check your plurals (and I'll eat my hat) Cheers, AD7six

Re: Database retrieval problem

2006-05-14 Thread AD7six
If that's from your index page, no search was performed and you haven't set the variable (or it has been set with something that isn't an array) which you later use in your view. You need to put $this-Post-findAll() back in your code somewhere Cheers, AD7six

Re: Funny data output - Cake vs. phpMyadmin

2006-05-15 Thread AD7six
-ordinates in your post would be: Latitude: 41.31 Longitude: -19.45 (see http://en.wikipedia.org/wiki/Geographic_coordinate_conversion) Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group

Re: Funny data output - Cake vs. phpMyadmin

2006-05-15 Thread AD7six
Longitude: -19.45 Ooops, that should be Longitude: 19.45 But I'm sure you get the idea, AD7six --~--~-~--~~~---~--~~ 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: After completing blog tutorial, and adding

2006-05-15 Thread AD7six
Hi Drew, If you change the debug settings for your site to 1, you will get specifc cake errors rather than the Page Not Found error (for Debug = 0, this is the only error ever displayed). Hopefully then you can see and correct what the problem is. Cheers, AD7six

Re: After completing blog tutorial, and adding

2006-05-15 Thread AD7six
Hi Drew, if mod_rewrite works for every url except users/login if you do not have a folder named users in your document root then maybe it's worth asking your host if that is in some way reserverd. Can't think of anything else right now ;) Cheers, AD7six

Re: Automatically generating table's?

2006-05-16 Thread AD7six
There's probably some form of the above code that will cope with what you are looking for. Hope it helps, cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send

Re: Automatically generating table's?

2006-05-16 Thread AD7six
You shouldn't dismiss suggestions so quickly ;) AD7six --~--~-~--~~~---~--~~ 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: Automatically generating table's?

2006-05-17 Thread AD7six
Great comments Siegried brandbags, Personally I avoid tables like the plague, and welcome a css solution, espeically one as simple in principle as using floats, and which can be seen to look pretty damn good. :) AD7six --~--~-~--~~~---~--~~ You received

Re: Prime form with current DB values?

2006-05-17 Thread AD7six
are: setFormTag(); tagValue(); Cheers, AD7six --~--~-~--~~~---~--~~ 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: Adding custom folder to the webroot

2006-05-18 Thread AD7six
in the folder turning mod rewrite off. Although it might be useful to create an assets controller to check for snoopers in any case. Hope that´s helpful, cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake

Re: unset($this-params['data']) Not Working???

2006-05-18 Thread AD7six
of some sort of session problem that will bite eventually. Hope you find a solution, cheers, AD7six --~--~-~--~~~---~--~~ 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: Controllers Linked to model names?

2006-05-21 Thread AD7six
to /views/adword. check http://wiki.cakephp.org/#cake_conventions for more info. Cheers, AD7six NOTE: I don't think it's a good idea to change the variable $name to be anything other than the correctly capitalized text of the controller name. In fact I'd go as far as to say it's a very bad idea

Re: unset($this-params['data']) Not Working???

2006-05-22 Thread AD7six
of the Session component, method setFlash @anyone: http://www.noswad.me.uk/demos/Posts/add , and if it does what you want (uses cake methods) - click the download source link and browse away ;) Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you

Re: unset($this-params['data']) Not Working???

2006-05-22 Thread AD7six
In fact, to save myself some bandwidth, and make use of the wiki see: http://wiki.cakephp.org/tutorials:i18n#messages_dynamic_content Cheers, AD7six X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.11.53.63 with SMTP id b63mr116216cwa; Mon, 22 May 2006 00:58:51 -0700 (PDT) X

Re: Help: Advanced Setup: Alternative Installation Options

2006-05-22 Thread AD7six
('ROOT', dirname(dirname(__FILE__)).DS.mysite); } Cheers, AD7six PS. It might help if you defined (or rather restore to the original definition of) the constant APP_DIR ;). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: How to avoid the 'EDIT' action 'ADD' a new record when you changed PK.

2006-05-23 Thread AD7six
, AD7six --~--~-~--~~~---~--~~ 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: HABTM setup, allow for extra colimns in join table

2006-05-23 Thread AD7six
/thread/729d7feae5f61825/5dab44a87864d277?q=habtm+joinrnum=2#5dab44a87864d277 Cheers, AD7six PS: Isn´t that you in the reference thread all those moons ago ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

Re: How to avoid the 'EDIT' action 'ADD' a new record when you changed PK.

2006-05-23 Thread AD7six
I don´t think it´s wise to trust the referrer ;) One of many links: http://www.mustap.com/phpzone_post_62_how-to-bypass-the-referer-se Still thinking (or hoping that one of the CakeGods will chip in), AD7six --~--~-~--~~~---~--~~ You received this message

Re: How to avoid the 'EDIT' action 'ADD' a new record when you changed PK.

2006-05-24 Thread AD7six
, AD7six --~--~-~--~~~---~--~~ 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, visit

Re: Circularity with beforeFilter calling redirect

2006-05-24 Thread AD7six
the controller defined in the cake libs. You can know where a page request came from the referrer ($this-referrer(DefaultUrlIfNoReferrer);) Cheers, AD7six * AFAIK error messages (missing controller etc.) use an instance of the appController

Re: Looking for examples

2006-05-24 Thread AD7six
it is either already included in Cake, is planned for, or is expandable to include your requirements in a scalable not-a-hack kind of way. The IRC is a good place to pick up hints if you can´t find an answer pretty quicky to concept type questions. Cheers, AD7six

Re: Looking for examples

2006-05-24 Thread AD7six
/SOAP Cheers, AD7six --~--~-~--~~~---~--~~ 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

Re: Acccessing Helpers from Layout

2006-05-24 Thread AD7six
) with a clean install. Can you explain a little more how you arrived at your error, what version of cake are your running, and what other changes if any have you made? If there's any code to post, save it here to avoid cluttering the group messages. http://www.cakephp.org/pastes/add Cheers, AD7six

Re: AppController not registering Helpers

2006-05-25 Thread AD7six
Ah, it's always a simple thing ;) Cheers, AD7six --~--~-~--~~~---~--~~ 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

Re: Many2Many on 2 tables

2006-05-25 Thread AD7six
the foreign key to use and a name. If you scaffold it first, you can see results (and errors if appropriate) as you go. Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post

Re: read/find relations problem

2006-05-25 Thread AD7six
Hi Jacek, I think a workable solution would be to override the Model contstructor, set the finderQuery as appropriate, and call the parent. That way it is set as you want it ;) Hope it helps, cheers, AD7six --~--~-~--~~~---~--~~ You received this message

Re: Simple HABTM Question

2006-05-26 Thread AD7six
(service_name = 'Web Design'); Happy coding, Cheers, AD7six --~--~-~--~~~---~--~~ 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

Re: Global variables?

2006-05-26 Thread AD7six
Hi All, This is on the Wiki now (http://wiki.cakephp.org/tutorials:css_menus) , Hope it's useful and if there are any updates, I don't own it - feel free to enhance it ;). Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you

Re: prevent expiration of session info?

2006-05-26 Thread AD7six
session time out problems, or even if the user closes the browser and wants to be back where they were etc. Hope it's useful, Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post

Re: cache @ favicon

2006-05-26 Thread AD7six
disappears Then The relavent layout doesn't have an absolute favicon path. If you look in the contents of movies_edit_2136.php it will also show the favicon path. Cheers, AD7six PS. How many time will the url /movies/edit/2136 be accessed? If it's 1 or 2 there isn't much if anything to be gained

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread AD7six
It's the least I can do; I would prefer to see new features earlier by taking some of the load of you chaps ;). And I learn from reading the q's that are out of my current scope ( I cached some of my views for the first time today). Cheers, AD7six Off topic, chipped in for comment

Re: Multi-Step Form

2006-05-27 Thread AD7six
to and from a url and displaying the query in words on the results page. All to keep individual controller code to a minimum. More soon :), AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group

Re: prevent expiration of session info?

2006-05-29 Thread AD7six
-php/browse_frm/thread/5395c72c008ab2dd/3b80490729e934ee?q=session+ad7sixrnum=1#3b80490729e934ee Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake

Re: Scaffold vs. Baking

2006-05-29 Thread AD7six
Might be worth your time looking again ;) http://cakeforge.org/frs/?group_id=23release_id=96 AD7six --~--~-~--~~~---~--~~ 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: Important topic ::derived fields in model ?

2006-06-01 Thread AD7six
be more-so that there is no OO encapusulation of our tables (that I know of), hence no ability to extend the properties of our records. Models :) Cheers, AD7six http://manual.cakephp.org/chapter/6 --~--~-~--~~~---~--~~ You received this message because you

Re: Important topic ::derived fields in model ?

2006-06-01 Thread AD7six
A Model represents a table, I don't see how a table could be better encapsulated. Try the link to the manual chapter I put in my previous post ;). Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: redirecting

2006-06-01 Thread AD7six
::redirect($url,$status); } But, for curiosity if nothing else, how come you don´t want to include the controller name in the redirect..? Cheers AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group

Re: You wrote about me. What is your problem?

2006-06-06 Thread AD7six
) all of this bad feeling could have been avoided. Anyway, sites to break, and code to write.. ;) AD7six --~--~-~--~~~---~--~~ 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: about table prefixes

2006-06-06 Thread AD7six
and join tables to be: ModelName1._.ModelName2 rather than Inflector::singularize(tableName1) . _.Inflector::singularize(tableName2) ? It would make my model defenitions easier if that is the case :) Cheers, AD7six --~--~-~--~~~---~--~~ You received

Re: about table prefixes

2006-06-06 Thread AD7six
fantastic! thanks for the clarification. AD7six (One of the unaware) --~--~-~--~~~---~--~~ 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

Re: othAuth -- Where put files?

2006-06-08 Thread AD7six
Helpers are helpers ;) http://manual.cakephp.org/chapter/9 See Using your Custom Helper Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake

Re: Models and multiple tables

2006-06-08 Thread AD7six
, AD7six --~--~-~--~~~---~--~~ 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: File Not Found When Trying To Scaffold

2006-06-08 Thread AD7six
what does the error message say, and does the file exist? Cheers, AD7six --~--~-~--~~~---~--~~ 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

Re: popular framework?

2006-06-08 Thread AD7six
Hi Mika, There are only 3 ;), and if you are running in a production type setup, there is only one that counts and it´s the one in your webroot. http://manual.cakephp.org/chapter/3 (section Production Setup or Alternative Installation Options) Cheers, AD7six

Re: File Not Found When Trying To Scaffold

2006-06-08 Thread AD7six
are getting a cake error (an actual web page that says Missing controller You are seeing this error because controller AsdfController could not be found. or something similar) What is the error message. Cheers, AD7six --~--~-~--~~~---~--~~ You received

Re: File Not Found When Trying To Scaffold

2006-06-09 Thread AD7six
I like that idea, not that that matters ;). only problem is that not all installations permit .htaccess files, which is something else to check for. Might be worth submitting an enhancement ticket to see if one of the core bakers picks it up. Cheers, AD7six

Re: 3 dimension set

2006-06-09 Thread AD7six
Hi Shaf, All the method set does is allow you to pass data (of whatever from) from the controller to the view. It's not clear what you are wanting to do/needing help with. Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you

Re: Where do I put custom validators?

2006-06-13 Thread AD7six
Hi Brandon, A good place is probably your app/config/bootstrap.php file. It will always be empty (I think) so you can safely leave it in place when you upgrade cake without worrying that you are missing a new constant/feature needed for the Cake core. Cheers, AD7six

Re: custom session name

2006-06-13 Thread AD7six
I think you should maybe read what that constant is for before effectively deleting it ;) http://manual.cakephp.org/chapter/4 Possibly (as I also don´t know what you are wanting to do) you want to change CAKE_SESSION_COOKIE or CAKE_SESSION_STRING. Cheers, AD7six

Re: first site

2006-06-13 Thread AD7six
what you want to do. For any pages that don't contain any logic - put them in /app/pages/NAME.thtml and you can see them by calling /pages/NAME. Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake

Re: first site

2006-06-13 Thread AD7six
#269a1d8d8f839aac http://cakephp.org/search/index/uses%20null Cheers, AD7six --~--~-~--~~~---~--~~ 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

{Seeking} Overview for Dummies

2006-06-17 Thread AD7six
' of mod_rewrite/cake pretty urls and the URL requested may not directly relate to what is expected (routes; using one edit.thtml for add edit methods etc.). Any help or comments most welcome, Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you

Re: Cake Tutorial: Books Title Example (With hasOne)

2006-06-17 Thread AD7six
pretty friendly around here ;) Cheers, AD7six --~--~-~--~~~---~--~~ 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

Re: Delete multiple Rows / Empty Table?

2006-06-18 Thread AD7six
for a request on this point, cheers, AD7six ps. How come this message has hijacked the Moo.fx thread? --~--~-~--~~~---~--~~ 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: Delete multiple Rows / Empty Table?

2006-06-19 Thread AD7six
Right-e ho, I think if anyone wishes to add to this topic it´s best done stuck on the end of: https://trac.cakephp.org/ticket/1034 Hope that covers this topic sufficiently. Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you

Re: Saving fields by column id

2006-06-19 Thread AD7six
(http://manual.cakephp.org/chapter/18) if you haven't already. Cheers, AD7six ps. Why not name rather than number the fields in your configuration table...? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

Re: Fuctions url?

2006-06-20 Thread AD7six
Bigdog, Russ, If you only have a few pages, you could simply create a route for each one.. $Route-connect('/about', array('controller' = 'intros', 'action' = 'about')); Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Plural forms and user preferences

2006-06-20 Thread AD7six
use accented characters it's probably better to be consistent. Hope that helps, and hope I´m not wrong ;) Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send

Re: WEBROOT_DIR in Dispatcher::baseUrl()

2006-06-21 Thread AD7six
think that should be a problem. Cheers, AD7six --~--~-~--~~~---~--~~ 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

Re: FCK eventually sorted out - For AD7Six (and those interested)

2006-06-21 Thread AD7six
Cool. Olivier - glad you found a solution. Maybe we/someone could mock up a test app for each of the editors so that they can easily be compared/ripped ;). Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: HABTM involving 3 tables

2006-06-21 Thread AD7six
LetUsPrey, Half way through reading the sql I get lost. I-m assuming you have already created the associations etc? with the model associtions defenitions or a picture it might help. cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you

Re: component function not found

2006-06-21 Thread AD7six
What is the error ;) [EMAIL PROTECTED] ha escrito: I got an error calling a component function from a controller I got this error since version 1.1.5.3148 For exemple I got this on the $this-Email-send(); function showed in the email tutorial. Did already someonelse get this problem ?

Re: component function not found

2006-06-22 Thread AD7six
is. Cheers, AD7six --~--~-~--~~~---~--~~ 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

Re: component function not found

2006-06-22 Thread AD7six
There will be a very simple explenation for this, if you have a recent version of cake (e.g. v 3000 or more) I think it-s time to stop by the irc ;) Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: component function not found

2006-06-22 Thread AD7six
Hi wluigi: go here, and if you are lucky I _might_ be able to help: http://www.noswad.me.uk/demos/chat/ I don´t know what the explenation might be, and having conversations via the google group is slow and probably frustrating for you ;) Cheers, AD7six

Re: component function not found

2006-06-22 Thread AD7six
PS. I should have mentioned if you have a java enabled browser, you can just go here http://irc.cakephp.org/irc.html I will wait on my page, incase you show up ;) Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: findAll order throws error inexplicably

2006-06-22 Thread AD7six
Hi Ian, Set your app/config/core.php debug to 2 and you'll see the sql statements at the foot of the page, and I guess you will also see that two fields with the name of ui_name are included (from an association). if you specify model.field = ASC that should do it for you. Cheers, AD7six

Re: $ajax-link not to load default.thtml

2006-06-22 Thread AD7six
RequestHander seems to go part way to meeting the first point on this list: https://trac.cakephp.org/wiki/Proposals/4.0ToDoList :) Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group

Re: beforeFilter bug?

2006-06-26 Thread AD7six
Hi Carlosrg, I would suggest putting else { pr ($this-action); die; } In your before filter and calling the delete method, seeing what it says and go from there. Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: model controller plur problem...

2006-06-26 Thread AD7six
Hi Vladiq, I don´t know why it would be different between bake and running your app, but in your /app/config/inflections.php file you can define $irregularPlural = array('stove' = 'stoves'); and in this way this plural will be handled correctly. Cheers, AD7six PS. Who is cakeshop

Re: beforeFilter bug?

2006-06-26 Thread AD7six
, AD7six --~--~-~--~~~---~--~~ 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: View cache

2006-06-26 Thread AD7six
AD7six wrote: Hi all, if you have define ('CACHE_CHECK', true); // in app/config/core.php cache in your list of helpers // in your controller var $cacheAction = true; //in your controller Cake will generate cache files for your views. However (as I understand it ) cacheAction

Re: route don't work

2006-06-27 Thread AD7six
If the below is incorrect, it should at least point you in the right direction ;). You can nolonger call admin methods directly (as if you could, so could your website users!). $Route-connect ('/admin/', array('controller'='posts', 'action'='index', 'admin'=1)); Cheers, AD7six

Re: route don't work

2006-06-27 Thread AD7six
Hi Lorenzo, See this ticket, and the fix for it, it will indicate when the change was made and why: https://trac.cakephp.org/ticket/823 Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

Re: Mutliple database Session into model

2006-06-27 Thread AD7six
(/)); } else { $this-Session-write(Database.Source, $source); $this-redirect($this-referer(/)); } } } ? Cheers, AD7six --~--~-~--~~~---~--~~ You received

Re: Upgrading from 0.10

2006-06-27 Thread AD7six
app files in place BUT Step five check your app/config files, there are new parameters in them that you may be missing (you'll get error messages if you don't) HTH, Cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed

  1   2   3   4   5   6   7   8   9   10   >