Thanks for the help and the quick response but now i'm getting a
endless loop of redirects. if you go to:
http://www.theskateparkdirectory.com/skateparks/
you'll see what I mean. Any ideas what's causing this?
--~--~-~--~~~---~--~~
You received this message becaus
On Apr 30, 7:41 am, Kyle Decot <[EMAIL PROTECTED]> wrote:
> Thanks. I'm trying to implement this, but the following doesn't seem
> to be working:
>
> echo $form->create('Foos', array(
> 'action' => 'index',
> 'method' => 'get' // Important
> ));
>
> when I look at my source code, the form
Dang just checked the manual - I guess overloading breaks references
in php5 also - see http://www.php.net/language.oop5.overloading
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this gr
Thanks but it happens on both 4.4.7 and 5.2.4 - frustrating!
--~--~-~--~~~---~--~~
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 gr
Thanks. I'm trying to implement this, but the following doesn't seem
to be working:
echo $form->create('Foos', array(
'action' => 'index',
'method' => 'get' // Important
));
when I look at my source code, the form says method = 'post'. Any idea
why it is ignoring the method get?
--~--~-
Try updating cake.
On Tue, Apr 29, 2008 at 4:25 PM, Teevio <[EMAIL PROTECTED]> wrote:
>
> If I delete the flash session at the end of the action then the
> message doesn't show. But that seems backwards.
>
>
>
> On Apr 29, 3:15 pm, Teevio <[EMAIL PROTECTED]> wrote:
> > Dang, I tried that and
it looks like bug... i have solve the task by this code :
function add() {
if (!empty($this->data)) {
$this->Tourist->create();
if ($this->Tourist->saveall($this->data)) {
$this->data['Tourist']['Tourist'][0]=$this->Tourist->id;
$this
I have been driving myself nuts with this, any help is very much
appreciated!
I have a two page form with a review page. Each page has a submit
button that saves the data to a session and moves the user to the next
page. The review page gives the opportunity to edit the information
collected on
Touchnote is looking for 2 candidates to join our London-based e-
commerce startup ASAP.
Must have experience with CakePHP and agile development
methodologies.
These is for in-house long-term team-members.
www.touchnote.com/jobs
- Lead Software Developer Technical lead for Touchnote’s software
I don't know if I quite get what you're asking for -
>allowing a new field (column) to be added.
Adding a new field to a database table is obviously non trivial!
The easiest way is to perhaps create a table/model called
AssocDataField, which gives the label for the column, and then have an
Assoc
The alphaNumeric rule may not be enough if you want spaces, hyphens,
etc. to be accepted as well. If so, try 'rule' => array('minLength',
1) instead.
On Tue, Apr 29, 2008 at 3:36 PM, Marc Schuetze <[EMAIL PROTECTED]> wrote:
>
> ok I'll be sure to do that.
>
> thanks for your help
>
>
>
> On Tu
In the controller should be ok:
if ($this->Model->OtherModel->validates())
On Tue, Apr 29, 2008 at 5:50 AM, ygneo <[EMAIL PROTECTED]> wrote:
>
> In a previous thread:
>
> http://groups.google.com/group/cake-php/browse_thread/thread/97acdfdf95cf0e4e/ff308fb337d08fdc?lnk=gst&q=ygneo#ff308fb337d
You want $this->data[...]
On Tue, Apr 29, 2008 at 5:21 AM, rtanz <[EMAIL PROTECTED]> wrote:
>
> hi in my view i am trying this code:
>
> echo $html->link('Add Questions',"/questions/add/$data[Survey][id]");
>
> in order to insert the id of the survey at the end of that link,
> however
Yes, this is something that's come up before, though I can't remember
the reason (nor the fix).
You might want to check out this TagBehavior, though:
http://bakery.cakephp.org/articles/view/simple-tagging-behavior
On Mon, Apr 28, 2008 at 11:04 PM, AussieFreelancer
<[EMAIL PROTECTED]> wrote:
>
>
indeed it did!
was having similar problem to tiadev. moved cake core and app
director/ies out of single parent directory structure (secure app
files and support multiple apps on one cake core instance). only
webapp directory under htdocs. couldn't figure out why I was getting
the "cache not se
It sounds to me like you are running cakephp in your host's main
directory, in which case you will have to edit your .htaccess to make
an exception for the directories you want to access. Otherwise, cake
will always look for the file as a controller. Aditionally, you may
want to look into sticking
PS Don't go the export CakePHP to CSV, edit CSV in excel, reimport
into CakePHP route. That's absurd.
On Apr 29, 10:53 am, grigri <[EMAIL PROTECTED]> wrote:
> $this->YourModel->updateAll(array('new_field' => 'new_value'),
> array('1=1'));
>
> Note that you'll have to quote/escape the value yours
Hmm, I'm not sure updateAll will work in this case. It will work fine
if you want to update all rows with the same data but not otherwise.
If you want it to behave more like excel, where you can edit all
fields of all rows (or at least paginated rows) here's what I'd do:
1) Select all rows in you
If one doesn't exist, would an enhancement request help to solidify
that? Thanks for the update, Nate.
On Apr 29, 4:32 pm, nate <[EMAIL PROTECTED]> wrote:
> The Auth component will *probably* be refactored to provide for an
> adapter-like interface before 1.2 final.
--~--~-~--~~-
The Auth component will *probably* be refactored to provide for an
adapter-like interface before 1.2 final.
On Apr 29, 4:00 pm, Knud Soerensen <[EMAIL PROTECTED]> wrote:
> BrendonKoz wrote:
> > I'd really like to take advantage of CakePHP v1.2's Auth and ACL
> > features, but our user authenticat
BrendonKoz wrote:
> I'd really like to take advantage of CakePHP v1.2's Auth and ACL
> features, but our user authentication is not stored in a database that
> I have access to, it is only accessible via a SSL webservice call.
> This means that users will not initially have any related model data
On Tue, Apr 29, 2008 at 3:54 PM, BrendonKoz <[EMAIL PROTECTED]> wrote:
>
> Assuming this is something you've done before, or at least thought
> through...by a custom model, surely you mean extending the Model class
> and overriding any incompatible methods, right? I just checked all of
> the
Assuming this is something you've done before, or at least thought
through...by a custom model, surely you mean extending the Model class
and overriding any incompatible methods, right? I just checked all of
the methods included in the Model class - that's 120 methods according
to Zend for Eclips
ok I'll be sure to do that.
thanks for your help
On Tue, Apr 29, 2008 at 8:28 PM, jonknee <[EMAIL PROTECTED]> wrote:
>
> On Apr 29, 3:13 pm, MarcS <[EMAIL PROTECTED]> wrote:
> > I don't think there's a bug in it.
> >
> > all I have is this
> >
> > var $validate = array(
> >
On Apr 29, 3:13 pm, MarcS <[EMAIL PROTECTED]> wrote:
> I don't think there's a bug in it.
>
> all I have is this
>
> var $validate = array(
> 'name' => VALID_NOT_EMPTY,
> 'url' => array('rule' => 'url','message' => 'this field must
> contain a valid url')
>
If I delete the flash session at the end of the action then the
message doesn't show. But that seems backwards.
On Apr 29, 3:15 pm, Teevio <[EMAIL PROTECTED]> wrote:
> Dang, I tried that and I still get the same thing. I did find some
> cases where that weird flash occurrence doesn't happen, bu
Dang, I tried that and I still get the same thing. I did find some
cases where that weird flash occurrence doesn't happen, but I haven't
been able to diagnose why.
On Apr 29, 3:09 pm, Sliv <[EMAIL PROTECTED]> wrote:
> I wonder if the flash you're seeing is from the session
>
> tryhttp://bin.cak
I don't think there's a bug in it.
all I have is this
var $validate = array(
'name' => VALID_NOT_EMPTY,
'url' => array('rule' => 'url','message' => 'this field must
contain
a valid url')
);
I had a bug in my script which caused both name and url
I wonder if the flash you're seeing is from the session
try http://bin.cakephp.org/saved/31534
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegr
try http://bin.cakephp.org/saved/31533
--~--~-~--~~~---~--~~
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 to [EM
And dont forget to share it with the community after finished :P
Cheers,
mbavio
mbavio.com.ar
On Apr 29, 3:39 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 29, 2008 at 2:29 PM, BrendonKoz <[EMAIL PROTECTED]> wrote:
>
> > I'd really like to take advantage of CakePHP v1.2's Auth an
Why on earth are you using CakePHP only for a form? Use PHP, and 5
minutes of your life.
Cheers,
mbavio
mbavio.com.ar
On Apr 29, 1:20 pm, "John David Anderson (_psychic_)"
<[EMAIL PROTECTED]> wrote:
> On Apr 29, 2008, at 10:15 AM, gstrock wrote:
>
>
>
> > thanks for the insight.
> > I think I'm
I removed the exit call and the expects function and made a test page.
What's weird is that if the id is truly empty, the redirect works.
But if the id exists the flash gets set, but the redirect does not get
called.
This happens in all cases where want to make sure the id passed to the
page exi
> well my thinking is, if you wanted a field validated, you would have a
> form field present for it, at which point it would pass this field
> along for validation
You should never trust your validation to the form values that should
be coming in from the user (you should never trust *anything*
6311 - Try without the exit call, as exit happens by default. On a
side note, you should try out mariano's bindable behavior (newer)
instead of expects (older). Another thing: does it happen on all
redirects or just this one (i.e. try generating a basic page with bake
and test)
--~--~-~
On Tue, Apr 29, 2008 at 2:29 PM, BrendonKoz <[EMAIL PROTECTED]> wrote:
>
> I'd really like to take advantage of CakePHP v1.2's Auth and ACL
> features, but our user authentication is not stored in a database that
> I have access to, it is only accessible via a SSL webservice call.
> This means
I'd really like to take advantage of CakePHP v1.2's Auth and ACL
features, but our user authentication is not stored in a database that
I have access to, it is only accessible via a SSL webservice call.
This means that users will not initially have any related model data
in the User model, and the
Version 1.2.0.6311 beta
PHP5
http://bin.cakephp.org/view/1575603249
On Apr 29, 2:15 pm, Sliv <[EMAIL PROTECTED]> wrote:
> if(search_all_cake_resources === null) {
> echo 'exact version of the framework used';
> echo 'php version';
> $url = $this->pasteRelevantCode('http://bin.cake
How to create an ARO which inherits from multiple ARO's? It sounds
like it's possible (https://trac.cakephp.org/ticket/2191), but I'm not
able to find examples. I have been using the following to create an
ARO which inherits from a single ARO:
$parentAdmin = $aro->findByAlias('aroParentOn
if(search_all_cake_resources === null) {
echo 'exact version of the framework used';
echo 'php version';
$url = $this->pasteRelevantCode('http://bin.cakephp.org');
echo $url;
}
--~--~-~--~~~---~--~~
You received this message because you are subs
look for a file called home.(ctp|thtml) and edit it.
then read this: http://book.cakephp.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroup
yeah I can see that argument.
thanks for your replies
On Apr 29, 6:59 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> well my thinking is, if you wanted a field validated, you would have a
> form field present for it, at which point it would pass this field
> along for validation
>
> On Apr
> But it doesn't make much sense to me that cake will save records even
> though validation rules say that the field shouldn't be empty.
Again, you're not saving the invalid data, you're only saving the
valid data. Validation is about making sure data that's going to be
saved is correct accordin
well my thinking is, if you wanted a field validated, you would have a
form field present for it, at which point it would pass this field
along for validation
On Apr 29, 1:55 pm, MarcS <[EMAIL PROTECTED]> wrote:
> yeah I guess I'll have to do that.
> But it doesn't make much sense to me that cake
How does it not make sense to you? If you are not attempting to save
the data, why do you care if it's valid? Quite the contrary;
validating data I'm not trying to save wouldn't make much sense.
--~--~-~--~~~---~--~~
You received this message because you are subs
yeah I guess I'll have to do that.
But it doesn't make much sense to me that cake will save records even
though validation rules say that the field shouldn't be empty.
There ought to be an option which would force it to validate all
fields, including those that have not been passed.
On Apr 29, 6:
Cake only validates the fields you're passing to it, so since there is
no 'b' in your data save, it's not being validated
As far as I know it still works this way in 1.2; but I could be wrong;
try passing array('a'=>'food', 'b'=>'')
On Apr 29, 1:50 pm, MarcS <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
If the URL is valid, htaccess should return the page, and not hand off
the URL to Cake for processing; what you want to do should totally be
possible;
How do you access the site? http://localhost/project or http://project.loc
or something?
On Apr 29, 12:25 pm, avairet <[EMAIL PROTECTED]> wrote:
Hi,
I'm wondering whether the following is desired behaviour or it is a
bug.
let's say a table has 2 columns a and b. B is required.
when I do
$this->Model->save('a' => 'foo');
the record validates even though a is required. It seems like fields
that are not included in the data passed to save()
$this->YourModel->updateAll(array('new_field' => 'new_value'),
array('1=1'));
Note that you'll have to quote/escape the value yourself.
On Apr 29, 4:27 pm, SumanRS <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've been using CakePHP for creating an online version of a listing
> that has long been mainta
I'm guessing you're on PHP4. The issue is that the Model class is
overloaded, and overloading breaks references in PHP4, so you can't
use them in your model classes. Upgrade to PHP5.
On Apr 29, 12:20 pm, MikeK <[EMAIL PROTECTED]> wrote:
> This issue cropped up in a CakePHP app but I think our p
Hi1
I nave a HABTM relathin table orders,tourists and link table
order_tourists.
How i can wrote to base using one form?
add.ctp
create('Order');?>
input('name');
echo $form->input('sum');
echo $form->input('Tourist.name');
Hi,
I've been using CakePHP for creating an online version of a listing
that has long been maintained using Excel. There are several hundred
rows in this table.
However, one thing where the Excel UI wins is in allowing a new field
(column) to be added. After that, it is easy to update the field
It's also worth noting that the mail functionality that notifies you
about stuff done on the bakery runs on the same server that has been
undergoing DOS attacks lately, so draw your own conclusions.
--~--~-~--~~~---~--~~
You received this message because you are su
No, not cakeforge, bakery tickets are submitted through trac. Check
if your issue has already been reported here first before submitting a
ticket:
https://trac.cakephp.org/report/5
Also note that *some* issues are not due to the code, but due to the
database connections maxing out and/or server
Hi everybody,
Is it possible to call a file stored in webroot from an iframe?
My iframe tag:
My webroot structure (partial):
webroot
|- css
|- files
|- 360
|- myfile.html
|- img
|- js
In my view render, Cake is looking for a "FilesController" and an
"360" action??!
I've trie
This issue cropped up in a CakePHP app but I think our problem is more
related to something we don't understand about PHP. It seems
invocation ofvia $this of a method in an associated class does not
properly handle arguments by reference.
In a Bait controller class (BaitsController) a function fo
On Apr 29, 2008, at 10:15 AM, gstrock wrote:
>
> thanks for the insight.
> I think I'm just having a bad day.
> I realize with everything there is
> a learning curve. I guess I just thought
> it would be next to nothing for cake. :-)
>
> Actually, my project has 1 database with
> 4 tables, so
thanks for the insight.
I think I'm just having a bad day.
I realize with everything there is
a learning curve. I guess I just thought
it would be next to nothing for cake. :-)
Actually, my project has 1 database with
4 tables, so it's a good little task to try
cake out on, I think.
My perseve
In order to help, we'll need to see what your model code, your HTML
form, and your controller action look like.
It's normal to spend some time learning how things work together: you
just have to be patient while you're learning the ropes. It's that way
with any technology, including "plain
Use:
Configure::write('debug', '1');
That will show errors, but not SQL debugging output.
-- John
On Apr 29, 2008, at 9:42 AM, MarcS wrote:
>
> Hi,
>
> How can I stop the SQL queries from being displayed at the bottom of
> the page in AJAX calls.
> Up until now I've always used
> Configure:
Hi,
How can I stop the SQL queries from being displayed at the bottom of
the page in AJAX calls.
Up until now I've always used
Configure::write('debug', '0');
for ajax cals.This, however, make cake not show any error messages
which also sucks. I only want to stop the SQL queries from being
displa
HAH! Yeah, I probably wouldn't have used Cake for just a simple form
to gather user info. Truely though, I feel your pain, I've used cake
for 3 projects and there are quite a few bugs that I've ran into and
quite a few changes I've had to make to the Cake libraries to get it
to work with non stand
According to gwoo from IRC, a ticket should be submitted (in
CakeForge?) to hopefully have issues with the Bakery fixed. I just
noticed I was unable to use the Search form this morning as well...
On Apr 29, 12:12 am, Vangel <[EMAIL PROTECTED]> wrote:
> Hi, Gwoo , PhpNut or anyone who is maintain
alphaNumeric doesnt allow spaces.. which is probably why your getting
"field cannot be blank" messages. if you want spaces you'll need to
use a custom rule.
On Apr 29, 9:29 am, gstrock <[EMAIL PROTECTED]> wrote:
> I thought I was going to be smart
> and use CakePHP for my next project,
> here I
On Tue, Apr 29, 2008 at 9:29 AM, gstrock <[EMAIL PROTECTED]> wrote:
>
> I have another form that by the default 'bake'
> appears as "text input" but I want it to be a
> drop down menu. I have to wade through the
> api to figure this one out. I'm just wondering
> if it's worth it, or should
Thanks Chris, I though exactly the same idea. Retrieve the user from DB
using Auth and in isAuthorized check if he's allowed to run certain
functions. What I would like to know is where can I check if Admin Routing
is being used in that request. I mean, how can I ask Cake if the requested
URL is /a
I have an interesting dilemma that occurs in Firefox with setFlash.
I'm using the following code:
if (empty($relatedRider['Rider']['id']))
{
$this->Session->setFlash("That rider doesn't exist.",
'default', '', 'error');
$this->redirect('/dashboard/
conversa
OK, I got through the blog tutorial. How do I make a default or better
said HOME page
(the one users will see first) with the latest blogs, blog of the day
etc.
Actually, just tell me how to make the home page, I'll figure out the
rest :D
--~--~-~--~~~---~--~~
Yo
I thought I was going to be smart
and use CakePHP for my next project,
here I am in week 2 and I've had to bow
out and let someone else take over.
I thought I would get a jump start by
using cake to handle all the messy
database stuff and I find myself mired
in figuring out how to use cake.
yet
Thanks Grigri, I've never tried that method, I'll have to check it
out. It seems though like the dynamic bind model that you are setting
up is just a mirror of the HasMany relationship that you had already
setup in the model file. I wonder why then, it is necessary to give
cake the same informatio
On Tue, Apr 29, 2008 at 11:09 AM, chuck24 <[EMAIL PROTECTED]> wrote:
>
> Thank you that really helped me. I have never used the command line
> before so your advice really got em going. I have one more question as
> a progress though. After trying to run the cake.bat I get this
> message:
> "
Thank you that really helped me. I have never used the command line
before so your advice really got em going. I have one more question as
a progress though. After trying to run the cake.bat I get this
message:
"'php' is not recognized as an internal or external command, operable
program, or batch
Cake can handle a many to many relationship just fine. Do a search for
HABTM (has and belongs to many) relationship to learn more about how
to do this. Cake has sort of a steep learning curve, especially if you
aren't familiar with MVC and OO programming. So, In my opinion Cake
will make this task
I do it like this :
http://groups.google.com/group/cake-php/browse_thread/thread/863305f8a7267067
it works fine, even with lots of associated models. Doing `and` joins
(series must have genre 'bacon' AND genre 'eggs') is more longwinded
because you have to perform a separate join for each one, b
Yeah, I try to use the built in functionality as much as possible as
well. I think that this particular issue is something that needs to be
added in future releases though. I've tried using the bindmodel
functions to add conditions to child models and then do a find on the
parent but this doesn't
I have two model with HABTM relationship.
I would use findAll with condition on this relation.
I have found many posts on this but there isn't noone very clear.
Is someone that can learn clearly how do this?
Many thanks
--~--~-~--~~~---~--~~
You received this messag
I should probably add that the Auth login processing appears to work,
the "successful login" flash message gets set and displayed, but after
this:
$this->redirect($this->Auth->redirect(), null, true);
the URL in the address bar is /users/none and the message is as I
said, Missing Method In Users
Let me start by saying I don't believe this is a problem with the
framework, rather an issue with IE6. However, I'm posting here as it
is a problem I've run into while using the framework and am looking
for advice.
I have to test under IE6 at work because where I work the generalized
technical i
Awesome!, Thank you!
On Tue, Apr 29, 2008 at 9:23 AM, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
> On Tue, Apr 29, 2008 at 9:15 AM, Ma'moon <[EMAIL PROTECTED]> wrote:
> > i need to get the inserted ID after executing the query in order to save
> it
> > in other place and i am not sure if "save" w
Hi Aaron,
I re-read my old messages...
My data array seems to look like your example...
But neither Model1->saveAll() or Model2->saveAll() seems to work!
In my case and standing for Model::saveAll() enhancement or new
function, I make a Model1->save($this->data)
which save my main model and its
Hello all,
I am trying to write a maintenance software for a generator
distributing company.
The company works the following way
1 site has many generators
1 generators has 1 manufacturer and many parts
1 part has many generators
1 manufacturer has many generators and many models
1 model has one
You're right, it was a mistake to say ServicesController, etc...
I would say ServicesComponent, etc...
To load components in a component with $components member:
http://api.cakephp.org/1.2/class_component.html#1ffa81df593c314ae23143bb0834c8bc
To dynamically load components in a controller with
A
This is one not-so-elegant method (index.php hack) I've used to modify
the output (note the str_replace on line 37) - A similar approach
might be able to be used to do what you're looking for:
http://bin.cakephp.org/saved/28154
> That is clear to me but how do I make it so that the outputted blo
On Tue, Apr 29, 2008 at 9:15 AM, Ma'moon <[EMAIL PROTECTED]> wrote:
> i need to get the inserted ID after executing the query in order to save it
> in other place and i am not sure if "save" will return the inserted ID!
Why not? Have you tried this:
$this->Foo->save($data);
echo $this->Foo->id;
i need to get the inserted ID after executing the query in order to save it
in other place and i am not sure if "save" will return the inserted ID!
On Tue, Apr 29, 2008 at 6:09 AM, AD7six <[EMAIL PROTECTED]> wrote:
>
>
>
> On Apr 29, 11:22 am, Ma'moon <[EMAIL PROTECTED]> wrote:
> > Hello guys,
>
On Mon, Apr 28, 2008 at 8:58 PM, Nicolás Andrade
<[EMAIL PROTECTED]> wrote:
> Thanks for your time. I will print at least the 3 or 4 first pages of the
> link you've sent to read in the bed, before sleeping.
>
> Any other suggestion??
When I have users that need to have different levels of access
I just tried to create components that inherit from a common component
base class, and found that there were problems loading components --
especially when those components also use other components. It wasn't
that easy -- I'm not sure how you can load/declare components
dynamically in the var $co
Try Model::saveField()
http://api.cakephp.org/1.2/class_model.html
On Apr 29, 1:23 pm, JoC <[EMAIL PROTECTED]> wrote:
> Hello,
> I am having a problem with saving just one field.
> I baked my MVC for my user table and everything went fine
> THen i went to the controller and created a new functin
Hello,
I am having a problem with saving just one field.
I baked my MVC for my user table and everything went fine
THen i went to the controller and created a new functino called change
password. The view I used was the edit view I just removed the extra
fields and the controller i used was the ed
Hi Aran and thank you
1) OK, so it's obligatory to create a root node?
Because in a tutorial, a guy has created a temporary controller to
insert ARO/ACO/ACO_ARO and he has not created this root level...
What kind of permissions and roles for this "root"?
2) Yes I'm using AclBehavior in models an
Did anyone manage to resolve this issue with RSS feed created with
Cake:
http://validator.w3.org/feed/docs/warning/MissingAtomSelfLink.html
An example can be seen here:
http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fdsi.vozibrale.com%2F
Normally I'd add this manually, but this is gene
Joel Perras wrote:
> ...
> For that, use:
> (app/config/routes.php)
> Router::connect('/projects/:name', array('action'=>'view',
> 'name'=>null));
> ...
Thanks Joel,
unfortunly Router::connect() seems not to work for me. Cake
1.1.18. It's simply ignored. But you gave me a hint and using
$Route->
Conceptually, this can be done this way :
For the options your users should enter, enclose a textarea field inside
a DIV that is by default on visibility:hidden CSS style.
On the dropdown, trigger the onChange Javascript event to check out if
the 'dropdown' option is selected. If yes, change d
Common sense?
Cheers,
mbavio
On Apr 28, 9:58 pm, "Nicolás Andrade"
<[EMAIL PROTECTED]> wrote:
> Thanks for your time. I will print at least the 3 or 4 first pages of the
> link you've sent to read in the bed, before sleeping.
>
> Any other suggestion??
>
> Greets!
>
> Nicolás Andrade
> (Wikipedi
Did you receive an email to correct something in the article? Did it
get filtered as spam perhaps?
On Apr 29, 6:12 am, Vangel <[EMAIL PROTECTED]> wrote:
> Hi, Gwoo , PhpNut or anyone who is maintaining the bakery.
> I posted one article, not much just very simple stuff, more than two
> weeks ago.
On Apr 29, 11:22 am, Ma'moon <[EMAIL PROTECTED]> wrote:
> Hello guys,
> i have a situation where i need to get the last inserted ID after executing
> an INSERT query
Why are you not calling save - what are you doing.
AD
--~--~-~--~~~---~--~~
You received this me
In a previous thread:
http://groups.google.com/group/cake-php/browse_thread/thread/97acdfdf95cf0e4e/ff308fb337d08fdc?lnk=gst&q=ygneo#ff308fb337d08fdc
I was asking about validating related models.
It seems that I have to call the validation explictly, but where? In
the controller, in the beforeSa
Try this:
$ajax->form(array('action' => 'add'), 'post', array('model' =>
'action'))
David
On Apr 22, 9:26 am, dizz <[EMAIL PROTECTED]> wrote:
> Hey, I've been trying to figure this out for a few hours now. I am
> either missing something or you cannot change thecontrollerin the
> helper and tha
I've copied this bit of code from The Bakery source, and am using it
quite successfully.
In my view, I have two buttons:
echo $form->submit('Save and continue editing', array('name' =>
'data[Submit][type]', 'class' => 'button'));
echo $form->submit('Save', array('name' => 'data[Submit][type]',
'
1 - 100 of 107 matches
Mail list logo