That's perfect! thanks again!
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/Problem-with-Pagination-of-search-results-tp5714685p5714707.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on
I'm having a problems with Internet explorer and hidden fields. it isn't
hide them.
IE 10 or older
cakePHP: 2.3.2
use:
echo $this-Form-input('category', array('type' = 'text', 'value' =
$category, 'hidden' = true, 'label' = false));
source generated:
input name=data[Document][category]
What happens when you try:
echo $this-Form-hidden('category', array('value' = $category));
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 30 Apr 2013, at 11:20:59, Mario Rico marior...@gmail.com wrote:
I'm having a problems with Internet explorer and hidden fields. it isn't hide
Perfect Jeremy
I wonder why it is happening only in IE.
Thanks you very much.
On Tuesday, 30 April 2013 11:28:31 UTC+1, Jeremy Burns wrote:
What happens when you try:
echo $this-Form-hidden('category', array('value' = $category));
Jeremy Burns
Class Outfit
http://www.classoutfit.com
It´s not a IE problem, if you see what is generated with your code, is an
input type of text, and the hidden field is an input type of hidden, not an
input type text with a hidden param...
Em terça-feira, 30 de abril de 2013 07h20min59s UTC-3, Mario Rico escreveu:
I'm having a problems with
Hi @phpMagpie,
from my personal point of view, you are doing it right.
Since you were not too much confident about where to attach events to the
EventManager, well, I propose two ways I think, might be cleaner that in
the Controller according to your example.
Method #1:
Use CakePHP bootstrap
Hey everybody.
I am looking for some advice here.
I got the following tables in my application: Movies and Celebrities.
Celebrities can participate in movies as Actors, Directors and Script
Writters.
So, while editing a movie (or adding one) I should be able in my view to
select in 3
Hi again @phpMagpie,
I've just found two better ways to achieve what you wish.
#1
Override the Model implementedEvents method. If you check the CakePHP
Model class code you see that it already implements CakeEventListener
class).
/**
* Returns a list of all events that will fire in the model
Hi All,
We are a web design/development firm in New York City, and we are looking
for a freelance CakePHP programmer to build a website for a non-profit
organization. Our client needs to sell tickets for events and collect
registration information. We have someone who will be doing the
Hello everyone,
I enabled the cache helper on one of my controllers and it's working
perfectly with some major issue that has forced me to disable. I have in my
default layout a call to include a file:
include header.php; it's the typical header with some static menues and a
sign in link an
Pessoal, boa tarde.
Eu fiz um CRUD de clientes, onde um dos campos da minha tabela é do tipo
tinyint(1), o nome do campo é status.
Então, quando eu clico no controller edit que chama a minha view ele
carrega os campos do formulário corretamente, inclusive o campo do tipo
select de estados,
Hi Fernando,
an idea that it's up to you to try is implement a MovieParticipation Model.
Thus:
*Celebrities* *hasMany* *MovieParticipation*
*Movies* *hasMany* *MovieParticipation*
*
*
Where the MovieParticipation table might have following fields:
- *id*
- *celebrity_id*
- *movie_id*
Hi Anderson,
I don't speak Portuguese but Google Translator made it :P
Anderson, if you read at:
http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#FormHelper::checkbox
you will see that a tinyint(1) is likely a flag, on/off.
And you are using an 'options' key in the options
Can you tell what release this problem was introduced, I think it was
1.2RC2, right?
On Sunday, April 28, 2013 4:37:05 PM UTC-4, mark_story wrote:
If you are using CakePHP's PaginatorComponent without whitelisted sort
fields you should upgrade as soon as possible to prevent
possible SQL
Hi there!
Sorry for the poor english! I have a new problem after moving my site from
local to the server, where i placed that in a subdomain. The problem is:
Warning: include(Cake/bootstrap.php)
[function.includehttp://demo.mginfo.hu/function.include]:
failed to open stream: No such file or
I'm running into a issue here, trying to get Cake to manually log a user
in. Here is what I am trying to accomplish.
I'm using a XML-RPC to log the user in to Vbulletin from Cakephp, what I
get back are some cookies, and user info. On the CakePhp Side of things, I
have a Users table, which
how can i make a dynamic select box contain the list of names of all the
clients in the database ?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
CakePHP
This is the working code I have:
if($this-Auth-login($user['User']))
Using this, I was able to force log my users in via Facebook. Do a find for
the user and pass the User array.
On Tuesday, April 30, 2013 5:22:18 PM UTC-4, James Lukensow wrote:
I'm running into a issue here, trying to get
The Miles component is not what I'm looking for. Right now, I log users in
via Facebook or regular login. I want to do some logic in the AppController
where once they are logged in, they don't have to keep relogging in every
single day. Once you're logged in you stay logged in.
Any tips?
--
What values are you passing inside of the $user array. I assume just a
username and what else?
On Tuesday, April 30, 2013 9:01:45 PM UTC-6, Shahruk Khan wrote:
This is the working code I have:
if($this-Auth-login($user['User']))
Using this, I was able to force log my users in via Facebook.
Okay, was able to get it working by adding the following to my beforefilter:
$this-set('user', $this-Auth-user());
On Tuesday, April 30, 2013 9:01:45 PM UTC-6, Shahruk Khan wrote:
This is the working code I have:
if($this-Auth-login($user['User']))
Using this, I was able to force log my
21 matches
Mail list logo