On Mon, May 17, 2010 at 8:27 PM, calvin wrote:
> (..)
The essence of the problem is that the upload()
method in your model is returning a boolean
value while, in fact, it can sinalize more than
just two opposite situations.
A better solution would be return some kind of
status code or even throw
On Tue, May 18, 2010 at 8:48 PM, madcousinphil_ wrote:
> (..)
> 1st Question: What is with the very first input before the opening of
> the form? I don't think it is hurting, but why is it there?
Look at the opening form tag Cake creates for you.
Where the information about the method the form
us
Great! Thanks Calvin for pointing that out to me.
Thanks Jonathon. I will read up on CSS.
On Jun 6, 2:45 am, Jonathon Musters wrote:
> Well yes but this goes back to an understanding of CSS and the types of
> elements they are..
>
> On Sat, Jun 5, 2010 at 1:08 PM, calvin wrote:
> > The selector
This plugin has apparently reached the ears of Gigya, and has produced
a little buzz.
I actually got a phone call from the president of gigya. He was
impressed with the plugin and wanted to talk about my impressions of
Gigya. We spoke for a while, and we ended up talking about pricing as
I mentio
I'll give that a try and see how it works out - it would be nice to
figure out what exactly about the manipulation during the model's
beforeSave callback is causing the issue so that I could understand
the process better, but until I've worked with Cake for a little while
longer I think it'll be ea
Hello,
in the controller:
$this->set('postcount', $this->Post-find('count'));
in the view:
Andras
On Jun 5, 2010, at 6:34 PM, saidbakr wrote:
> Hi,
>
> How could I set dynamic data in the layout?
>
> In other word, I need to place the total count of posts in the layout
> footer.
>
> My app
Hi,
How could I set dynamic data in the layout?
In other word, I need to place the total count of posts in the layout
footer.
My application has posts controller and post model.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
Yo
Had a similar issue recently when I was trying to save related data
array with associative indexes.
Since saveAll() won't work with such indexes I had to convert those to
the numeric so I put the code in beforeSave() callback.
It didn't work. But when I put the code in the controller just before
th
Perhaps I'm over-complicating this but I'm still having some problems with
building my query.
I'm looking to do something like:
$array = array (A, B, C, D, E);
$list = implode( ',' , $array);
'conditions' => array(
'SomeCol.contents' => array($list)
Vekija's method works where mine seems to fail horribly. This has
become more of an exploration in Cake than a necessity now, but I'm
trying to understand why this particular saveAll() is failing; using
the hidden input in combination with the regular input I can
effectively save as many rows as I
Hi,
I just started using cakephp today and i received the same errors as
above.
Solution:
You only need to change the core.php file in line 203 and line 208.
Also make sure the keys are different from debugger.php line 684.
If the key is same triger the errors.
Bluedoy Support
www.bluedoy.com
Well yes but this goes back to an understanding of CSS and the types of
elements they are..
On Sat, Jun 5, 2010 at 1:08 PM, calvin wrote:
> The selector should be changed to p#largeText, no space, and that
> should work.
>
> And don't use font tags or b/i/u tags.
>
> On Jun 5, 6:22 am, Jonathon
It's sorta already doing that. If you want the "bank" homepage then
you have to go to site1.com/home or site2.com/home. I don't think the
Router is equipped for routing by hostname (could be wrong though).
If you absolutely have to have the 2 sites mixed together and have the
domains mirror each o
On Jun 5, 2:43 am, mirfan wrote:
> Hi,
> I am new to cake and want to deploy my project but totally confused
> please somebody help me.
It's a bit difficult to help if none of us knows what the trouble is.
A little more info is required. Specifically, what have you tried?
What problems are you e
By the way, I did a bit more experimenting with find('list') and
automagic selects. Posted my findings here in case anyone else needed
them:
http://holisticnetworking.net/cake/2010/06/interesting-form-input-behavior-for-selects/
On May 24, 4:48 am, WebbedIT wrote:
> Try the following:
> $state
The selector should be changed to p#largeText, no space, and that
should work.
And don't use font tags or b/i/u tags.
On Jun 5, 6:22 am, Jonathon Musters wrote:
> use My Text HERE
>
> in css
>
> p #largeText {
>
> font-size: 20px;
>
> }
>
> and you will get what you are looking for
>
> On Sat, J
I have the following in my User model;
public $hasMany = array(
'MetaUser' => array(
'className' => 'MetaUser',
'fields' => array( 'meta_key', 'meta_value' )
)
);
...should I also define a belongs
Well then its time to learn css then to solve this as I gave you the answer
On 6/5/10, ytbryan wrote:
> nope that doesn't help.
>
> note that the text is echo out using
>
> On Jun 5, 9:22 pm, Jonathon Musters wrote:
>> use My Text HERE
>>
>> in css
>>
>> p #largeText {
>>
>> font-size: 20px;
On Jun 5, 4:15 pm, ytbryan wrote:
> nope that doesn't help.
>
> note that the text is echo out using
How about moving your head closer to the screen?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message be
nope that doesn't help.
note that the text is echo out using
On Jun 5, 9:22 pm, Jonathon Musters wrote:
> use My Text HERE
>
> in css
>
> p #largeText {
>
> font-size: 20px;
>
> }
>
> and you will get what you are looking for
>
> On Sat, Jun 5, 2010 at 8:58 AM, ytbryan wrote:
> > Hi all,
>
> >
use My Text HERE
in css
p #largeText {
font-size: 20px;
}
and you will get what you are looking for
On Sat, Jun 5, 2010 at 8:58 AM, ytbryan wrote:
> Hi all,
>
> If i am printing out a variable $result like the below in my view
>
>
>
>
> How can I make the printed value appear bigger? I
Hi all,
If i am printing out a variable $result like the below in my view
How can I make the printed value appear bigger? I tried to surround
the value with or control the css. But it don't help.
Thanks!
Bryan
Check out the new CakePHP Questions site http://cakeqs.org and help others with
Bingo!
Thanks for the help.
On May 24, 4:48 am, WebbedIT wrote:
> Try the following:
> $states = $this->Location->find('list', array(
> 'fields' =>array('Location.state', 'Location.state'),
> 'group' => array('Location.state')
> ));
>
> Paul
>
> Check out the new CakePHP Questions sitehttp:/
its return array and u print array in echo ,,echo cnt display arrayy
so it is not work.
On Fri, Jun 4, 2010 at 3:21 PM, Dilip Godhani wrote:
> try this
> function getResult()
> {
>
> $result = $this->query("SELECT * FROM `downloads`
> WHERE `index`=123");
> print_r($result);
>
THanks guys !
print_r works!
But i wonder why the return function doesn't work.
On Jun 4, 5:51 pm, Dilip Godhani wrote:
> try this
> function getResult()
> {
>
> $result = $this->query("SELECT * FROM `downloads` WHERE `index`=123");
> print_r($result);
>
> }
>
>
>
> On Fri, Jun 4,
Update: Have sent Gigya an email asking for some sales information as
it's no good making a decision based on third party information. Will
feedback to you when I have spoken with them.
HTH
Paul
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP relat
Hey everyone - We've got a bit of an odd configuration, and I was
wondering if anyone had ideas on how we could fix this. We took over
hosting of a website this past week that essentially is two sites in
one, a bank site and it's parent corp site. The routes.php file is
used to determine which 'sit
@Gonzalo: Thanks for taking a look and informing me about that error,
will look into that right now :)
@nurvzy: Did a bit more digging before I implemented this and seems it
costs $15k a year to use this service for profits that cross a certain
threshold, and people at drupal are saying that a 1,0
28 matches
Mail list logo