On Jan 18, 2008 6:39 PM, foxmask <[EMAIL PROTECTED]> wrote:
>
> Good evening,
> I would like to test if my database table exists or not
> If no, i will display a message to suggest to install the software
> If yes, i will "Route::connect()" to the main page of the software.
>
> I digged on the
On Jan 17, 2008 2:26 PM, Raistlin Majere <[EMAIL PROTECTED]> wrote:
>
> I meant {n}, not (n).
>
This was discussed very recently on the list. I've searched the archives for
you:
http://groups.google.com/group/cake-php/browse_thread/thread/1b0b0fa943a96e66/4e29a489b61da82d?lnk=gst&q=%7Bn%7D#4e29a
On Dec 18, 2007 9:30 PM, peterhf <[EMAIL PROTECTED]> wrote:
>
> In an html textarea object, the default value is set between the begin
> tag and the end tag, i.e. default value. How does
> one set the default value of $html->textarea(...)? $html->extarea()
> does not recognize a 'value' attribute
On Nov 15, 2007 12:47 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> I am trying to encourage colleagues to check out Cake and one was put
> off by these two issues:
>
> http://cakephp.org/maps : no map and a Javascript error
> http://cakephp.org/maps/markers : most of the recent entries ar
On Nov 15, 2007 1:18 PM, Repsah <[EMAIL PROTECTED]> wrote:
> Yes, ok, all true, the framework works fine, butno need to flame who
> points out some website failure, I would rather thank him and look at it.
> As a matter of fact appearing nice does count toward new public, and if
> developers d
On Nov 13, 2007 11:19 AM, Rey Tugade <[EMAIL PROTECTED]> wrote:
>
> Does anyone know how to disable the copy paste function?
> i mean to disable ctrl+v for re-enter password in a sample
> registration form. if possible that is.
>
> thank you.
>
> im quite fuzzy if this is possible.
>
This isn't r
On Nov 10, 2007 3:23 PM, dandreta <[EMAIL PROTECTED]> wrote:
>
> Hi!
> I have one table called products and another table called soldproducts
> in my database. The table products has these fields:id, name. And the
> table soldproducts:id, name, date. I have a view in products where
> there is a pr
On 10/5/07, Kaj Kandler <[EMAIL PROTECTED]> wrote:
>
>
> Gee! This is an ugly monster.
>
> I have done my homework (googled) and found the supposed solution is
> to give 777 permission to the app/tmp dir. Didn't help! What helped
> was to set the ownership of the directory also to the process that
On 9/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Yes, I did. Like below.
>
> var $name = "Members";
> var $helpers = array('Html', 'Form');
I could be wrong, but I think the "create" function, as well as "end" ,
"input", etc... are in 1.2, not 1.1.x. The FormHelper in 1.1.x is fairl
On 8/10/07, Unite <[EMAIL PROTECTED]> wrote:
>
>
> I know this isnt really a CakePHP problem but I need help in my logic
> mathematically and since most of you reading this are Maths geniuses
> heres the question.
>
> I have a array and want to make each set have the highest value in the
> set. (se
On 8/2/07, Anna P <[EMAIL PROTECTED]> wrote:
>
>
> [..snip..]
>
> Now, how can I name that submits as 'action' (like in pure html
> ) - I want both forms
> to use the same function 'account' in customers controller and there
> check if 'action'='save data' or if 'action'='save pass'... I tried to
On 8/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> what usename, password, certificate file and environment this error
> referring to?
>
> ERROR: API Username, Password, Certificate File and Environment must
> all be set
I haven't used this component myself, but maybe you could s
On 7/29/07, rtanz <[EMAIL PROTECTED]> wrote:
>
>
> Id
>
> Name
>
> Model
>
You might want to provide the other relevant parts of your view code.. like,
the foreach loop surrounding the text above.
- Gonzalo
--~--~-~--~~--
On 7/29/07, chess64 <[EMAIL PROTECTED]> wrote:
>
>
> >From a search-engine optimization standpoint, the first option is
> better, otherwise when the search engine tries to access any of the
> private pages, it will get the login form, which is probably not what
> you want. By using the first option
Hi All,
I'm working on a private site (ie. all pages are only accessible to logged
in users) and I'm trying to figure out if it's best to redirect the user to
a login URL or keep the URL as is and display the login form. Here are the 2
scenarios:
1) User requests /resources/list (since it is in t
On 7/24/07, onechaos <[EMAIL PROTECTED]> wrote:
>
>
> Hi everyone,
> here I am posting a link to the brief so it describes project better.
> http://noidea.eu/doc/scms_brief.pdf
>
> Let me know if anyone interested in taking this job.
Hi,
Try:
http://withcake.com
Regards,
Gonzalo
--~--~---
On 7/13/07, badi3 <[EMAIL PROTECTED]> wrote:
>
>
> Bonjour,
>
> Je dois faire le re développement d'un portail web à fort trafic
> (1000 de page vu par mois) et je voulais savoir si c'est possible
> de gérer ce genre de site avec la framework cakephp.
>
>
> Merci pour votre conseil
I love it
On 7/12/07, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
>
> $my_ego++
ERROR: Integer too large to fit in memory
(sorry, couldn't help it) ;-)
- Gonzalo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" gro
On 7/12/07, rtconner <[EMAIL PROTECTED]> wrote:
>
>
> This is a great little function to drop into your app_controller. I
> use it all the time, makes life just a little bit easier. Thought I'd
> share it with you all.
[..snip..]
Thanks for sharing that. It would be nice to have a section on Cak
On 7/8/07, sTb <[EMAIL PROTECTED]> wrote:
>
>
> Read the fucking manuall!
> if you want to use more models in your application read
> http://manual.cakephp.org/chapter/models
I don't think it was the most polite way of replying to the original poster,
and besides you didn't understand his questio
On 7/7/07, francky06l <[EMAIL PROTECTED]> wrote:
>
>
> Actually only the fields that are in this->data will be saved. To
> limit the update you have 2 ways :
>
> 1) if you do not need to show/edit certains fields in the form, just
> read what you need for the form using an array of field names.
> 2
On 7/4/07, hi and hello <[EMAIL PROTECTED]> wrote:
> Yes, and I found it at cake/config/config.php.
There's also cake/VERSION.txt
- Gonzalo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post
On 7/1/07, Andreas <[EMAIL PROTECTED]> wrote:
>
>
> I'm using CakePHP 1.1 with phpGACL. I've only tried out Cake for the
> last days and now I've finally got an sign up form to work as
> expected. But how do I update the corresponding phpGACL tables when a
> new user signs up?
[..snip..]
phpGACL
On 7/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> I use typical function:
[..snip..]
>
> Interesting: one host, 4 copy of code (different folders, DB). But in
> one copy does'nt work validation.
> When I type: /posts/add I see message: "Post was added" and get empty
> record in table
On 6/15/07, Arendp <[EMAIL PROTECTED]> wrote:
>
>
> Probably a simple question with a simple answer, but I can't find the
> answer: I have made several TD's in a tableCells function. How can I
> set the TD width for each individual TD?
I'm not sure if you can do it for each individual TD. You can
On 6/14/07, aniston <[EMAIL PROTECTED]> wrote:
>
>
> [..snip..]
> as for now does this method of submission look correct (already posted
> above)
>
> method="post">
>
> hidden('Member/id',$nome_cercato)?>
>
> submit('PDF');?>
>
On 6/14/07, francky06l <[EMAIL PROTECTED]> wrote:
>
>
> What you would have to do using this way it to reformat the data into
> the URL of your html->link, but that can be a very long URL.
> You could also show (after displaying the result) a second submit for
> the same form that will call your pd
On 6/12/07, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
>
> On 6/12/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
> >
> > Can we stop answering this thread? It's been covered *several*, and I
> mean
> > *SEVERAL* times on this group before. All it does now is add more
> traffic to
> > our already
On 6/10/07, pbland <[EMAIL PROTECTED]> wrote:
>
>
> Pablo,
>
> Great, that worked! Thanks for the help. Can you tell me where $html-
> >css() is described in the Manual? I looked on the Helper page and I
> see mention of $html functions, but it mentions 4 parms for the css
> function, so I don't kn
On 6/6/07, Penfold <[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
> You can you check to see if the session is valid $this-session-
> >valid() (i think) if the session is has timed out, it will be
> invalid.
Hi,
I looked into this topic quite a bit as well, as I wanted to display a
similar message to the
Hi All,
Sorry to post again about this but a few days have gone by, only got one
reply which didn't quite get me the info I need to move on with a solution.
I'm desperate for some feedback so I'd really appreciate some!
Thanks for your time.
- Gonzalo
On 6/2/07, Gonzalo
On 6/4/07, cake_learner <[EMAIL PROTECTED]> wrote:
>
>
> [..snip..]
>
> I want the data to be inserted into database with comma inbetween so,
> in the controller i have written the code,
>
>
> $langArr=$this->data['Client']['languages'];
> $imp=implode(',',$langArr);
>
On 6/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hey Gonzalo,
>
> Couple of ideas for you...
> 1st - I have no idea if this is viable, but it seems to me that the
> cake cache might be a good way to index and search your content. I
> would start by looking at the API. You would probabl
Hi Bakers,
Some of you may recall an email I sent to the list a month or so ago on how
to integrate a search engine into a CakePHP app. Someone suggested I use the
Lucene stuff from the Zend framework and that seemed like a good solution.
It used a shell script (written by an author whose name I c
On 5/31/07, StinkyTofu <[EMAIL PROTECTED]> wrote:
>
>
> I am calling $this->Member->findAll(null, 'Member.id') on a database
> of 8000 records and am receiving the following error:
>
> Allowed memory size of 16777216 bytes exhausted (tried to allocate 782
> bytes) in /home/web88/html/cake/libs/mode
On 5/29/07, Howard Glynn <[EMAIL PROTECTED]> wrote:
>
> Slightly bad karma to reply to one's own post so soon, but after
> continuing to investigate,
> I'd like to provide a solution for the mail archives. I just didn't fully
> understand the route handling up until this point, but the light is sta
Hi All,
I've noticed this behaviour only when debug = 0 (ie. production mode). I had
an Ajax call that worked fine in dev but failed in production. After lots of
troubleshooting, I looked at the Apache logs and noticed that when sending
via POST, it would send a 404. When the EXACT same request go
Hi,
I've just discovered that the problem I just posted about may be related to
the fact that the content I was looking at had some links to non-existant
images (eg. /img/blah.gif). After digging through a lot of CakePHP code, I
found where the dispatcher makes some calls to fire up controllers an
Hi All,
I've been using PHPGACL with CakePHP (using Mariano's plug-in) and I'm
experiencing some strange behaviour in regards to the flash messages. I'll
explain what I mean, but first, my app_controller.php 's relevant parts:
var $gacl = array(
'get' => array(
On 5/22/07, Larry E. Masters aka PhpNut <[EMAIL PROTECTED]> wrote:
>
>
> Just for your info: http://phpnut.cakephp.org/itemizr/itemizr.png
>
>
> Demo application:
>
> http://itemizr.cakephp.org/
>
> Nothing has been done with the site since the php throwdown, but we will
> release that code once th
On 5/18/07, BoSc <[EMAIL PROTECTED]> wrote:
>
>
> A bit of a cryptical description, but here goes.
>
> Suppose I use a Cake app. to show the content of different cities,
> Normally I would use a city controller dat accepts some parameters
> like: domain.com/citys/show/newyork (to show city 1)
>
> W
Hi All,
I've had a read of the cake/libs/router.php file and noticed a handy route
connect:
$this->connect('/bare/:controller/:action/*', array('bare' =>
'1'));
I could use this, even more so if it respected the CAKE_ADMIN prefix. Any
ideas if it can be done or how I'd need to mod
On 5/14/07, Enchy <[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
> I have seen it before where you dont have to create a index.thtml or
> edit.
> You just setup your controller and model and it automatically goes to
> a page where you can edit any column in your table.
> How is this done?
Are you talking
On 5/11/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
>
>
> You are grumpy today. Polls are probably the best way of telling what the
> general sense in the developer community is. Naturally it depends on the
> poll, its audience, and how easy it is to hack it, but anyway, you get the
> idea... S
On 5/10/07, Greg Cerveny <[EMAIL PROTECTED]> wrote:
>
>
> Definitely helps.
>
> Generally speaking though, do you could an else statement in
> regardless if it doesn't need the view or message setting just for
> styles sake?
I always put in an else as the saving could fail (and as we all know,
an
On 5/10/07, Greg Cerveny <[EMAIL PROTECTED]> wrote:
>
>
> Which is better?
>
> if ($this->User->save($this->data)){
> $this->flash('Password updated, please login
> again.','/users/logout');
> } else {
> $this->render();
> }
>
> or just:
>
> if ($this->User->save($this->data)){
>
On 5/9/07, John David Anderson <[EMAIL PROTECTED]> wrote:
>
> Dear friends,
> I only provide this link because at the time of this writing, ZF is ahead
> in the poll. Please, please do as your conscience requires.
>
>
>
> http://www.php-mag.net/magphpde/magphpde_news/psecom,id,27201,nodeid,5.html
>
On 5/9/07, Harro <[EMAIL PROTECTED]> wrote:
>
>
> I thought it would be possible to access form submited data using
> $this->data['Model']
>
> However I get the following error:
>
> Notice: Undefined index: User in E:\Server\htdocs\app\models\user.php
> on line 15
>
> Anyone have any ideas? Thanks,
On 5/9/07, AD7six <[EMAIL PROTECTED]> wrote:
>
> >
> > I had one problem with it which I was able to fix pretty easily. I had
> an
> > old installation of Cheesecake in the plugins dir which had an
> > UsersController. My CakePHP app also has an UsersController so it
> clashed.
> > You'd have to be
On 5/9/07, Sliv <[EMAIL PROTECTED]> wrote:
>
>
> Well, I used PhpGACL 3.3.7 installed into APP_DIR . /vendors/
>
> After extraction, I did have to make a symbolic link to the
> phpgacl-3.3.7 folder called 'phpgacl' because the plugin was looking
> for that folder.
>
> For the plugin:
>
> app_dir .
On 5/7/07, Arndtinho <[EMAIL PROTECTED]> wrote:
>
>
> What's your problem?
> If you have a usefull answer post it.
Actually, I thought his answer was well suited for your vague question.
Perhaps you should take the time to explain properly what you're trying to
do (or, better yet, Google around f
On 5/1/07, John David Anderson (_psychic_) <[EMAIL PROTECTED]> wrote:
>
>
> On Apr 30, 2007, at 9:19 PM, Gonzalo Servat wrote:
>
> I created a search engine using a few classes from the Zend "Framework."
> They've got a nice port of the guts of Lucene, a
Hi All,
So I've gotten to a point in my app that I need to implement some sort of
(basic) search engine functionality. It wouldn't be that hard to do if all
the content was housed in database tables (as I could do something similar
to what gwoo suggested in
http://groups.google.com/group/cake-php/
On 4/30/07, Sliv <[EMAIL PROTECTED]> wrote:
>
>
> [..snip..]
> If it helps provoke a response, there's still months of dev left in
> this current app; it's just me working on it and I don't consider
> myself an expert by any stretch of the imagination, but I have built
> some basic apps and scripts
On 4/27/07, Dr. Tarique Sani <[EMAIL PROTECTED]> wrote:
>
>
> > if (!empty($this->modelNames)) {
> > foreach($this->modelNames as $model) {
> > if
> > (!empty($this->{$model}->validationErrors)) {
> >
> > $this->__viewClass->va
-
> >
> > Remember, smart coders answer ten questions for every question they ask.
> > So be smart, be cool, and share your knowledge.
> >
> > BAKE ON!
> >
> > blog: http://www.MarianoIglesias.com.ar
> >
answer ten questions for every question they ask.
> So be smart, be cool, and share your knowledge.
>
> BAKE ON!
>
> blog: http://www.MarianoIglesias.com.ar
> ----------
>
> *De:* cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] *En
> nombre de *G
Hi All.
For the purpose of my question, I'll post a similar scenario to what I've
got (to avoid confusion):
Let's say I have the following structure:
User -> Member -> SpecialMember
A person is only a member if he/she is a User, and the person can't be a
SpecialMember unless he/she is a Mem
On 4/22/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
>
>
> You are right, view vars will be passed along to elements, but he was
> asking
> about vars directly passed from the view to the element. Otherwise you are
> right, and there's no more he has to do than simply use the view variable.
I
On 4/22/07, Gonzalo Servat <[EMAIL PROTECTED]> wrote:
>
> On 4/22/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
> >
> >
> > Try:
> >
> > tagErrorMsg('User/Member/field')
>
>
> I tried this before posting actually, as I thoug
On 4/22/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
>
>
> Try:
>
> tagErrorMsg('User/Member/field')
I tried this before posting actually, as I thought it was worth a shot. Then
I went and looked at the tagErrorMsg() code to see how it uses the first
argument, but eventually gave up as I wasn'
Hi All,
I have a situation where my main User model will also save one of 3 other
Models. The very first model that needs to be saved is "User" and then 0 or
more other models get saved. For example:
if( $this->User->save($this->data) &&
$this->User->Member->save($this->data))
{
// success
}
On 4/21/07, Samuel DeVore <[EMAIL PROTECTED]> wrote:
>
>
> one of my favorite php functions these days is http://php.net/compact
>
Thanks for the suggestion. I'm not quite sure how compact will help me,
though. Lets consider this example:
$this->renderElement('element', array('arg1' => 'val1', 'a
Hi All,
Say I have:
$this->renderElement('element', array('arg1' => 'val1', 'arg2' => 'val2'));
Once inside element.thtml, how could I render another element and pass
whatever arguments were passed onto the main element? (ie. arg1, arg2 in
this case)
I thought of a (untested) workaround, but, i
On 4/18/07, beetlecube <[EMAIL PROTECTED]> wrote:
>
>
> For those who have done PHP development for a client, and used cakePHP
> to build their sites, a question:
>
> Have you received complaints from the client, when they have tried to
> add a page on their own, ? like:
>
> "This cakephp stuff is
On 4/13/07, rajasekhar <[EMAIL PROTECTED]> wrote:
>
>
> Hallo,
>
> i want to add tracking code in new flash layout, how to add it, and
> how to access it.
>
Rajasekhar,
Please don't take this in a bad way, I just thought I'd give you a word of
advice since you're fairly new to the group and you
On 4/12/07, rajasekhar <[EMAIL PROTECTED]> wrote:
>
>
> Dear Gonzalo,
>
> if I create new flash layout instead of predefined layout, how to use
> both of them one after another depending upon the situation.
>
You can use something like:
$this->Session->setFlash( 'error message goes here', 'la
On 4/12/07, rajasekhar <[EMAIL PROTECTED]> wrote:
>
>
> Dear Gonzalo,
>
> i don't know how to use it, because am a basic beginner.
> if you know any thing please post it.
>
> thanking you,
>
See:
http://manual.cakephp.org/chapter/session
It talks about the flash and setFlash functions.
Rega
On 4/12/07, rajasekhar <[EMAIL PROTECTED]> wrote:
>
>
> How to know information about flash function in CakePHP and how it is
> used for tracking code.
One way to get an up-to-date look at how it works (at least as up-to-date as
your version of CakePHP is) is to do a simple:
[path/to/your/cak
On 4/12/07, redhex <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
> Under the config core.php. line 64 there is this line:
> define('LOG_ERROR', 2);
> The manual does not state what LOG_ERROR does or what the constant
> means. Hence I am asking what does it do? Any changes that is required
> for
On 4/10/07, nate <[EMAIL PROTECTED]> wrote:
>
> [..snip..]
> > just my 2 cents worth
>
> And you can keep them.
>
> Gay Perry:"Look up idiot in the dictionary. You know what
> you'll find?"
> Harry Lockhart: "A picture of me?"
> Gay Perry:"No! The definition of idiot. Which you f
Hi All,
As the subject says, I'm looking for a freelance CakePHP developer to join
an existing project. At the moment I'm the only one coding the site, and I
have an approaching deadline so I need a developer for 2-3 weeks to help in
finishing some sections off. The good thing is, if things work w
On 3/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> On Mar 30, 10:36 am, "savagekabbage" <[EMAIL PROTECTED]>
> wrote:
> > > link($u['User']['username'], '/Users/edit/'.$u['User']
> > > ['id'])?>
> >
> > I think you also
> > need to place an echo before the link so it will actually show u
On 3/29/07, lukemack <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> Can anyone recommend a class/script which handles video file uploads,
> preferably with Flash integration? I'm looking to have a video
> upload / library section in my cake app.
>
> I considered the youtube api but they dont have upload
On 3/29/07, christianandradet <[EMAIL PROTECTED]> wrote:
>
>
> hi i am trying to do the validation that this page teaches:
> http://manual.cakephp.org/chapter/validation
> it works but the messages do not appear:
> tagErrorMsg('Post/title', 'Title is required.')?>
> I do not know whatis the problem
On 3/28/07, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
>
> On 3/28/07, Gonzalo Servat <[EMAIL PROTECTED]> wrote:
> > Hmmm, when did the poster say he was looking to do something like that?
> He
> > may be looking for complete applications to have a look at how
On 3/28/07, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
>
> On 3/28/07, Jackovson <[EMAIL PROTECTED]> wrote:
> >
> > Yes I saw this page... but many links are just websites... and I am
> > looking for complete applications.
>
> Oh, so what you REALLY want is a fully developed application that you
>
Congrats, site looks fantastic!
If you don't mind me asking, what did you use to convert the videos uploaded
by your users to FLV? Did you use ffmpeg/ffmpeg-php? I've been looking into
this lately as I'm designing a site that will allow users to upload videos
(in WMV, MOV, etc formats) and I'd lik
101 - 178 of 178 matches
Mail list logo