Vlw, não deu certo, mas já arrumei outra forma de fazer. (consegui
implementar sem frames)
Em 22/01/08, TSassara [EMAIL PROTECTED] escreveu:
Se você quer colocar essa barra de parceiros em todas as paginas do
site,
basta coloca-lo em um layout diferente dentro da pasta views/layouts/
você
Obrigado pela atenção.
Bill a Configuação atual do Cache::config é a seguinte:
Cache::config('default', array('engine' = 'File' , //[required]
'duration'= 3600, //[optional]
'probability'= 100, //[optional]
oi Juan,
Na verdade, o que o Fenix quer, é usar uma chave não única: aquela
linha do BD seria unica não porque tem um ID numérico e único, mas,
sim, porque tem DOIS atributos que, em conjunto, são únicos. Exemplo:
- nome
- email
jose / [EMAIL PROTECTED]
jose / [EMAIL PROTECTED]
joao / [EMAIL
Em relação ao erro abordado acima já resolvi.
tirando o
echo $ajax-submit('Login', array('name' = 'Login', 'url' = '',
'update' = 'resultados'));
e substituindo por:
echo $form-submit('Login'); ?
--~--~-~--~~~---~--~~
Recebeu esta mensagem porque está inscrito
Boas Rogerio,
Pelo sim pelo não, pode dar uma olhada nos ficheiros que está a editar
para ver se não existe nenhum caracter antes do ?php.
Se não existir é bom que veja se os ficheiros estão a ser gravados em
UTF-qqcoisa com BOM.
Este ultimo é mais difícil de encontrar pois depende do editor que
Juan Basso editei os 4 arquivos que existe nesta página,
mais quando eu executo o bake, ele gera os padrões sem as auterações
que eu fiz,
o que será que esta acontecendo, estou sem ideia, da onde será que
esta pegando o esse layout padrão...
já viu isso acontecer.
falopa...
Poxa Pessoal estou tentando de todas as formas solucionar esse
problema de sessão,
mais o negócio tá loco mesmo,
acho q quando conseguir resolver esse problema vou fazer um churrasco
e convidar todo mundo q tem colaborado,
Se alguém tiver algum exemplo o simples q seja ,
e puder me enviar
Opa... churrasquinho vai bem :)
Cara, o próprio cake básico já é um exemplo de sessão. O que acha de
fazer o inverso? Zipe toda sua aplicação (incluindo os arquivos do
cake) e disponibilize em algum lugar para que possamos baixar e tentar
ver diretamente nos arquivos fontes...
Juan Basso
On
iai pessoal...
nem resolvi a duvida passada e ja estou encomodando novamente...
pesquisei e so achei exemplos para o cake 1.1
aqui vai.
criei o model da seguinte maneira
Versão: 1.2
?php
class Contact extends AppModel {
var $name = 'Contact';
var $validate = array(
Massa Juan,
Ainda bem que você está no grupo!
Valeu amigo!
--~--~-~--~~~---~--~~
Recebeu esta mensagem porque está inscrito em Grupo Cake PHP Português do
Grupos Google.
Para enviar mensagens para este grupo, envie um email para
cake-php-pt@googlegroups.com
Dica: Você pode setar o conteúdo a ser validado no Model, por exemplo:
$this-Modelo-data = $this-data; // Isso se estiver num controller
Depois executa um $this-Modelo-invalidFields();
Se não me engano se retornar um array vazio quer dizer que validou. Se
não vier fazio virá com as mensagens de
Coloca no Model : var $useTable = false;
que resolve..
Valeu!
Em 23/01/08, DrWinux [EMAIL PROTECTED] escreveu:
iai pessoal...
nem resolvi a duvida passada e ja estou encomodando novamente...
pesquisei e so achei exemplos para o cake 1.1
aqui vai.
criei o model da seguinte maneira
Eu acho que a melhor maneira é você fazer como o Sadjow falou e dai no seu
controller criar uma função mais ou menos assim:
if($this-Model-validates($this-data)) {
//executa o envio do email...
}
pronto, se não validar, ele vai retornar à página automaticamente com as
informações necessárias
Pessoal,
Eu estou traduzindo aos poucos a documentação do cakephp 1.2 que se encontra
em http://tempdocs.cakephp.org
Eu já traduzi toda a parte de associações hasOne, belongsTo, hasMany e
hasAndBelongsToMany (HABTM).
Tipo se eu continuar sozinho vai demorar um pouco.
Mas se* dividíssemos as
Beleza Bill,
Vamo criar um página aqui no grupo para organizar quem ta, e qual
parte está traduzindo.
Eu estou trabalhando na parte associações (
http://tempdocs.cakephp.org/#TOC78863
)
Dessa parte que estou fazendo, falta apenas:
Saving Related Model Data (hasOne, hasMany, belongsTo)
Saving
Quem puder dedicar pelo menos 1 hora já é um grande trabalho/ajuda seja para
traduzir ou corrigir.
--~--~-~--~~~---~--~~
Recebeu esta mensagem porque está inscrito em Grupo Cake PHP Português do
Grupos Google.
Para enviar mensagens para este grupo, envie um email
Quem puder dedicar pelo menos 1 hora já é um grande trabalho/ajuda
seja para traduzir ou corrigir.
--~--~-~--~~~---~--~~
Recebeu esta mensagem porque está inscrito em Grupo Cake PHP Português do
Grupos Google.
Para enviar mensagens para este grupo, envie um email
O que acham de colocar em algum repositório SVN? Assim temos um
controle de versão e fica idenficado. Um lugar que podemos colocar é
aqui no google codes mesmo. É necessário apenas criar o projeto,
porque login todo mundo tem aqui, senão não estariam escrevendo
mensagens hehhee.
Outro conselho é
Tava vendo aqui o site do CakePHP e lembrei do CakeForge ... é ótimo.
Vamo usar ele? Eu ainda n recebi o e-mail de ativação para usar o sistema ,
mas é de graça para projetos de código aberto.
--~--~-~--~~~---~--~~
Recebeu esta mensagem porque está inscrito em
Por mim eu acho legal o CakeForge. O problema que é apenas por SVN
daí. Ele não disponibilizar uma url http. Mas isso podemos usar do meu
servidor.
E não se preocupe com backup. Eu utilizo a hostdimes. É um servidor
americano que tem backup todo dia e o data center deles é bem
profissional.
Vamos usar o melhor e mais produtivo.
Juan, esses com links e SVN tem algum exemplo rodano no ar? Mesmo sendo um
print screen!
Valeu!
--~--~-~--~~~---~--~~
Recebeu esta mensagem porque está inscrito em Grupo Cake PHP Português do
Grupos Google.
Para enviar
mediawiki achei pesadissimo com relação ao dokuwiki, e mais chato de usar...mas
via de gosto
no aguardo dos teste, e inicio das traduções
vamos por a mão na massa
Link e SVN acho que só a SourceForge.
Minha idéia é utilizar OU um wiki (web), OU via SVN que daí não é
tão
acessível ao
Opa. Está no ar o DokuWiki.
http://juan.basso.eng.br/dokuwiki
Criei um user chamado groups com senha cakephp com permissão admin
para brincarem. :)
O link é temporário. Se gostarem, acho que podemos mudar de /dokuwiki
para /cakemanual ou coisa do genero. Posso até fazer
cakemanual.basso.eng.br
Sugestão de organização do código:
Na página principal, vamos colocar apenas o índice com 3 níveis, por
exemplo:
Controladores
Introdução
Atributos dos controladores
Atributos de parâmetros ($params)
Modelos
Introdução
...
E criar uma página para cada item de primeiro nível. No
Juan,
Eu achei legal, ele ta guardando as revisões e tals só não gostei muito da
sintax é muita loca, pra fazer um tabela então ! hehe
Tem um desse sendo html não? Mas o bom desse é que ele padroniza a
informação.
Vocês já são acostumados com essa sintaxes?
^ Tipo de associação ^
Exemplo
Na empresa onde eu trabalho usamos wiki para fazer documentação dos
projetos e procedimentos. A sintaxe é um pouco parecida, não
exatamente igual. Quando entrei eu me assustei também, mas depois você
acostuma.
Acho legal esse tipo de coisa justamente pela padronização. Se mudar o
template do
Pessoal,
Como o sistema de registrar está funcionando. Excluí o usuário
groups. Quem se registrar receberá a senha por e-mail e poderá
editar, incluir e fazer coisa com as páginas...
Juan Basso
On 23 jan, 23:09, Juan Basso [EMAIL PROTECTED] wrote:
Na empresa onde eu trabalho usamos wiki para
Beleza Juan,
Vou acostumar-me sim,
Já criei o usuário.
Estou terminando de traduzir Associações. Onde podemos colocar as inormações
de quem ta traduzino o que? Para evitar autores traduzirem a mesma página.
Valeu!
--~--~-~--~~~---~--~~
Recebeu esta mensagem
if i have the url as follows
localhost/controller/action/param1/param2
and i also have a form and a submit button and i am doing a POST.
If i press the submit button, the url becomes localhost/controller/
action/ (without the param1 and param2)
How do i keep the parameters intact after the
Sorry, you're right, var_dump($handle) returns false... I can open the magic
file.
No, open_basedir and safe_mode are not enabled. Should I enable them? What
should i set them to? thanks.
On Jan 22, 2008 8:51 PM, b logica [EMAIL PROTECTED] wrote:
On Jan 22, 2008 5:17 PM, bob [EMAIL PROTECTED]
where would you find the error logs?
On Jan 22, 2008 8:34 PM, b logica [EMAIL PROTECTED] wrote:
On Jan 22, 2008 4:44 PM, Novice Programmer [EMAIL PROTECTED]
wrote:
Hello guys,
I am trying to get the swf upload work with cake. Before baking it, I
just
gave a try to the demos on the
Am i wrong?
On Jan 23, 2008 1:37 PM, Louie Miranda [EMAIL PROTECTED] wrote:
I am trying to query some table on a component. But, this error keeps on
showing up.
*Fatal error*: Call to undefined method PostsController::query() in *
/site/www/app/controllers/components/web_logs.php* on line
Hi there
Most likely there are no read permissions on the cake folder and/or
its content.
Mot ftp programs allow to set permissions by making a right
click on the folder and then selecting permissions from the submenu.
If you have only shell access you can use the chmod command.
It is working
Hi there
You cannot make a query on a controller, only on a model.
Assuming that the model related to this controller is called Post,
you can try using $this-controller-Post-query(...)
I haven't tried this yet, but it might work.
A better idea might be to write a method in the controller that
I have a db table that happens to have both uuid and int values in the
id column. The following code works for the int value but not the uuid
values.
?php echo $html-link('View',array('action'='view', $user['User']
['id'])); ?
Here is the generated sql and error:
Query: SELECT `User`.`id`,
Here is something interesting:
1) if i have the following:
$handle = finfo_open(FILEINFO_MIME);
The output i get is finfo_open()
[function.finfo-openhttp://php.net/function.finfo-open]:
Failed to load magic database at '(null)'.
2) if i have the following:
$handle =
The form submits to whatever you supply in the action attribute of the
form tag.
So simply include the parameters in the url of the action attribute.
Claudia
On Jan 23, 9:09 am, bob [EMAIL PROTECTED] wrote:
if i have the url as follows
localhost/controller/action/param1/param2
and i also
This should do it
'rule' = array('custom', '/^[a-z0-9 ]*$/i')
On 23 Sty, 03:52, Chris Gallop [EMAIL PROTECTED] wrote:
I am trying to validate a field and I want to use alphaNumeric form of
validation with spaces possible. However the alphaNumeric does not
seem to allow spaces. Is there a
I have some weird issue here
Since i update my apache to work with SSL i can't export my reports to
excel. I haven't any excel component, just writing html and forcing
the browser to open it with Excel... The weird here is with firefox
works perfect but not with explorer, why? any hint? If i
Why would a tutorial with pictures help? If Cake was actually a CMS or
something I could understand it, but it's not - it's a programming
framework. As such an illustrated tutorial wouldn't be all that
useful.
Check out the screencasts, that's probably as much of a step by step
illustrated
On Jan 21, 2:10 pm, cakeFreak [EMAIL PROTECTED] wrote:
I did the following while working on a dynamic questionnaires
generation system.
snip
I think, you've misunderstood my question. This is not about
multiple form inputs nor about DOM append.
Post RoR saga, many clients have
controller:
$this.set(''param1', $param1);
$this.set(''param2', $param2);
view:
form action=/controller/action/$param1/$param2
On Jan 23, 9:09 am, bob [EMAIL PROTECTED] wrote:
if i have the url as follows
localhost/controller/action/param1/param2
and i also have a form and a submit
Hi CakePHP Team,
I'm a very satisfied Baker here. I've been using CakePHP for 2 months
already and I really enjoy it. Compared to my previous experience with
Spaghetti Framework, MVC Framework really rocks.
I just have a little question to the CakePHP Team regarding the
FormHelper. I'm not sure
Store fields name and type in db, and use $form-inputs( $arrayOfFields );
On Jan 23, 2008 7:12 AM, R. Rajesh Jeba Anbiah
[EMAIL PROTECTED] wrote:
On Jan 21, 2:10 pm, cakeFreak [EMAIL PROTECTED] wrote:
I did the following while working on a dynamic questionnaires
generation system.
$url = array('controller' = 'things', 'action' = 'add', $param1, $param2);
echo $form-create('MyModel', array( 'url' = $url ));
On Jan 23, 2008 6:47 AM, majna [EMAIL PROTECTED] wrote:
controller:
$this.set(''param1', $param1);
$this.set(''param2', $param2);
view:
form
Well, it's not a bug per-se, perhaps an oversight?
Anyway, there's a spot of code in FormHelper::input() that maps field
type to input type; if the type is not in the map array then it uses
the default, which is a textarea. The current mapping is:
$map = array(
'string' = 'text',
Quick tip:
Use plenty of pr($variable) while you are getting your head around
this ;-)
In this case try:
?php echo pr($user['Relation']) ?
Post the output of the pr() here if you are still having problems.
On Jan 23, 7:43 am, mcphisto [EMAIL PROTECTED] wrote:
maybe this is a stupid
$html is a view helper.
WHY do you need to create a hyperlink in the controller?
On Jan 23, 7:18 am, jenson [EMAIL PROTECTED] wrote:
Hi Guys ,
I have to assign $html-url('Linkname','/controller/fun_name/'); in
controller page not
in thtml page. plz help me regarding this as early as
Have you tried:
foreach ($user['Place'] as $place);
?php echo $place['name']; ?
what are your model associations like?
On Jan 23, 2:43 am, mcphisto [EMAIL PROTECTED] wrote:
maybe this is a stupid question, but I don't understand a thing.
I've a table of users (columns: id, name), one of
Hi,
i found the problem, it was a bug in the 1.2 5985 release, now in the
1.2 beta it is working again.
Sorry for making so much trouble.
Now i only have to change all deprecated stuff.
Greetings Hawk
On Jan 22, 6:00 pm, b logica [EMAIL PROTECTED] wrote:
On Jan 22, 2008 3:01 AM, Hawk| [EMAIL
Try
'Post.added' =-!CURRENT_DATE
or
'Post.added' =-!SYS_DATE
The -! symbol tells cake 1.2 to not try to parse the oracle function
in the condition as a string.
Raphael Spindell
http://www.webspin.biz
On Jan 22, 10:45 pm, Chris [EMAIL PROTECTED] wrote:
I am using CakePHP 1.2
On Jan 23, 8:55 am, Rashid [EMAIL PROTECTED] wrote:
if I access my page likehttp://localhost/cake/users
Everything seems to work but when I access it like
thishttp://localhost/cake/users/index
OR
index page displayed again after submitting, there are no images, no
css etc...
Please
I'm looking to implement a search on my CakePHP App. I'd like to
implement the search using GET, so users can link to search results.
It also makes it a little easier to handle pagination. I wanted the
URL to be clean so I have the form set up without using the Cake
FormHelper:
form method=get
The temp doc for 1.2 is where I learned how to use it:
http://tempdocs.cakephp.org/
On Jan 22, 11:48 pm, 703designs [EMAIL PROTECTED] wrote:
I have yet to find a resource explaining how to use the bake.php
script, or even precisely what does. Can anyone provide links and/or
pointers? I'd like
Yeah I definitely need to understand the Unix environment. But
anyway, in my
case I was able to add the path to ~/.bash_login and point it to my
cake/console
directory (v1.2).
On Jan 22, 3:33 pm, dylanc [EMAIL PROTECTED] wrote:
I've been working and learning the Unix environment for almost a
Based on your syntax, I think you want HtmlHelper::link() (makes a
hyperlink), not Html::url() [just makes a proper url].
If you do need just the url then you can do this:
$this-set('myurl', Router::url('/controller/action/'));
(HtmlHelper::url() just calls Router::url() under the hood anyway).
The contents of the $_GET array is accessible through the $this-
params['url'] array. With the added bonus that
if you have magic_quotes_gpc on, then they will be stripslashed.
For example, consider the following cake url : /products/search/
foo:bar?ham=eggs
You then have
First, you'll have to load the helper into your controller (has to be
a really good reason why you would want to do this)
App::import('Helper', 'HtmlHelper');
Then, make sure AUTO_OUTPUT is set to false in your core config file
(/app/config/core.php), then, capture the output of the helper, and
if I access my page like
http://localhost/cake/users
Everything seems to work but when I access it like this
http://localhost/cake/users/index
OR
index page displayed again after submitting, there are no images, no
css etc...
Please anybody know how to solve this???
thanks.
On Jan 23,
It seems like there is a problem in your controller, rather than in
the FormHelper. Could you paste the view function ?
On Jan 23, 2008 6:38 AM, rogwei [EMAIL PROTECTED] wrote:
I have a db table that happens to have both uuid and int values in the
id column. The following code works for the
Cheers, that's perfect. Thanks!
--~--~-~--~~~---~--~~
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
I am running on a shared server.. so /etc/logs is not accesible to me. dont
know if cake also makes some log or some thing like that some where?
Thanks.
On 1/23/08, bob [EMAIL PROTECTED] wrote:
where would you find the error logs?
On Jan 22, 2008 8:34 PM, b logica [EMAIL PROTECTED] wrote:
Well done Sam - this is how we should be responding to newbie
questions, rather than some of the crap that used to go on (not
pointing at anybody in particular). Maybe we should all take a page
out of your book and save this post so we can cut-and-paste it into
further seemingly-obvious questions
Hi all,
I just wrote down my example of SOAP server implementation on CakePHP.
My idea is to create the SOAP handler and the WSDL in Controller, and
create all method in the model.
You may read it here:
http://mykm.wordpress.com/2008/01/23/implementing-soap-server-on-cakephp
Please give me some
'BlogsPost.publish_at' =-!SYS_DATE
gives a query of
(BlogsPost.publish_at = ' -!SYS_DATE')
So it doesn't appear to be working.
Anyone know how to see the field data type?
On Jan 23, 5:57 am, WebSpin.Biz [EMAIL PROTECTED] wrote:
Try
'Post.added' =-!CURRENT_DATE
or
works:
'BlogsPost.publish_at' = -!TO_DATE(' . date('Y-m-d H:i:s') .
','-MM-DD HH24:MI:SS')
does not work:
'BlogsPost.publish_at' = -!TO_DATE(' . date('Y-m-d H:i:s') .
','-MM-DD HH24:MI:SS')
notice the space after the ^
Thanks Raphael.
Thanks all.
I did more googling and ended up replacing the generateList() stuff
with
$l = $this-User-Usertype-find('all', array('fields' =
array('Usertype.id', 'Usertype.choice')));
$result = Set::combine($l, {n}.Usertype.id,
{n}.Usertype.choice);
$this-set('usertypes',
trac.cakephp.org
Let's get the fix in.
On Jan 23, 2008 4:28 AM, grigri [EMAIL PROTECTED] wrote:
Well, it's not a bug per-se, perhaps an oversight?
Anyway, there's a spot of code in FormHelper::input() that maps field
type to input type; if the type is not in the map array then it uses
the
On Jan 23, 2008 12:11 AM, jenson [EMAIL PROTECTED] wrote:
Hi Guys ,
I have to assign $html-url('Linkname','/controller/fun_name/'); in cakephp
page not
in thtml. plz help me regarding this as early as possible...
--
This message has been scanned for viruses and
dangerous content by
On Jan 23, 2008 7:18 AM, Adam Royle [EMAIL PROTECTED] wrote:
Well done Sam - this is how we should be responding to newbie
questions, rather than some of the crap that used to go on (not
pointing at anybody in particular). Maybe we should all take a page
out of your book and save this post
You've already asked this question in this thread...
http://groups.google.com/group/cake-php/browse_thread/thread/98e08c0cdb25a9e8
...and people have answered you.
On Jan 23, 3:59 pm, Samuel DeVore [EMAIL PROTECTED] wrote:
On Jan 23, 2008 12:11 AM, jenson [EMAIL PROTECTED] wrote:
Hi Guys
I'm not buying that, but here you go:
function view($id){
$this-set('user', $this-User-find($id));
}
From the debug output, it appears that the uuid is being passed
intact, but the generated sql garbles the where clause. Just in case,
here is the 3 level debug
It is possible that you are missing or have not enabled properly your
.httaccess files
Paste of standard message below:
1. is mod_rewrite enabled on the server
2. are you sure
3. is AllowOverride All set on the server
4. are all the .htaccess files in place (a lot of ftp and file
transfer
For future reference, pasting a lot of code in a list serve message is
kind of ugly, if you would like to make me happier (really just being
selfish here) use a pasting service that preserves formatting and also
lets you add comments like
http://bin.cakephp.org/
or if you don't like cake
Hi all,
I am struggling with the following (I hope simple) issue in 1.2
I have a login form that has to post via https. I would like to use
cake controller/action url notation and let the framework generate a
full https://... URL.
I.e. in my template I have code
Form
I have two models: Application CreditCard...
The application requires a user to input their credit card
information, so instead of having a credit_cards_controller and
related views, I just use the application add view.
My problem is that the credit card information is required, but since
I'm
Hello,
I am using CakePHP 1.2 beta and am able to establish a connection to
an Oracle 10g database on the cake homepage. This database however
does not follow Cake's table naming conventions. All table names are
singular, upper case and primary keys do not have id in them. This
cannot be
I haven't tried this yet. You might look here for some basic
information: http://extjs.com/learn/Tutorial:Ext20_Tree_TreeLoader_PHP_MySQL
The main problem I see with doing this with cake is getting your data
in the correct format. I have some other extjs tutorials; maybe I can
get a tree
Just off the top of my head (I'm not a bsd guy), make sure that
whatever user apache runs under has permissions on the directory where
your app is.
On Jan 22, 5:01 am, galem [EMAIL PROTECTED] wrote:
First of all, sorry for my english!
Has written the appendix on cakePHP. Have established on a
Try using views.
We have a lot of tables that can't be changed so we just made views
for them all to fit Cake's needs.
You can also set primaryId for each model. Not sure about the table
naming convention.
On Jan 23, 1:29 pm, oalcarj [EMAIL PROTECTED] wrote:
Hello,
I am using CakePHP 1.2
Try it:
$model-findById($id);
or
$model-find('first', array('conditions' = array('id' = $id)));
or
$model-find(array('conditions' = array('id' = $id)));
[]'s
On Jan 23, 2008 2:39 PM, Samuel DeVore [EMAIL PROTECTED] wrote:
For future reference, pasting a lot of code in a list serve message
Hi!!
I have index function in my controller of the following form:
function index() {
$this-Proyecto-recursive = 2;
$this-set('proyectos', $this-paginate());
}
And all of the projects appear correctly in the index view with their
fields and for each
The simplest way to get a url is using the Router.
Like that:
$url = Router::url('/controller/action', true);
/**
* Finds URL for specified action.
*
* Returns an URL pointing to a combination of controller and action. Param
* $url can be:
*+ Empty - the method will find adress to
Samuel,
Take a look on Paginator with Cake 1.2.
http://bakery.cakephp.org/articles/view/basic-pagination-overview-3
Dandreta,
Try to specific the model $this-paginate('Model')
And set debug to 2, for view the sql's.
[]'s
On Jan 23, 2008 5:20 PM, Samuel DeVore [EMAIL PROTECTED] wrote:
you
Hi *,
I have a question about DB adapters. Let me briefly explain my
applicative context.
I am a teacher and I would like to make a web interface to handle the
lab works of my students (something like: the students download the
text of their homework, do their work and upload their report). My
you paginate models not controllers
try $this-ModelName-paginate
On Jan 23, 2008 12:18 PM, dandreta [EMAIL PROTECTED] wrote:
Hi!!
I have index function in my controller of the following form:
function index() {
$this-Proyecto-recursive = 2;
On Jan 23, 2008 12:25 PM, Renan Gonçalves [EMAIL PROTECTED] wrote:
Samuel,
Take a look on Paginator with Cake 1.2.
http://bakery.cakephp.org/articles/view/basic-pagination-overview-3
Yes you are right (I have my own paginator that I use that is part of
my app_model, that I've been using
I have to work with a database that was constructed some time ago, and
the issue is that all the tables i need to use have singular names
(person, id ect) and I cant change them because they are being used by
other code. Is there a way to use these tables in cake?
Hey, I helped too :)
But I know what you mean. That's why I jumped on it and offered some
helpex-noob to noob...
--
Kevin Lloyd
3HN Designs
http://www.3HNDesigns.com/
(214) 473-4207
On Jan 23, 2008 8:18 AM, Adam Royle [EMAIL PROTECTED] wrote:
Well done Sam - this is how we should be
I'm trying to create a helper that checks the Acl and provides edit /
delete links appropriately on my index action.
I keep getting an error that Acl is an undefined property in the
helper. Does the Acl object only exist inside the controller?
Anyone run into this issue and have a work around?
Hi Longint,
1. Open up app/config/core.php
2. Scroll down to Security.salt
3. Just change 1 character in the salt and you'll be all set!
4. Save the core.php file.
Possible cause:
You installed cakePHP 1.2 and just opened up the app folder and began
working with everything you need right
No I've been googling for solutions but there is no one with similar
situation...
On Jan 23, 2008 6:01 AM, Chris Hartjes [EMAIL PROTECTED] wrote:
On Jan 23, 2008 3:38 AM, bob [EMAIL PROTECTED] wrote:
What does this mean?
I think it means that this is not a Cake problem, but a fileinfo
On Jan 23, 2008 3:10 PM, bob [EMAIL PROTECTED] wrote:
No I've been googling for solutions but there is no one with similar
situation...
Fair enough...but would you not agree that this is not a CakePHP issue
at this point?
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from
agree .. so any recommendation on where to get help?
On Jan 23, 2008 12:27 PM, Chris Hartjes [EMAIL PROTECTED] wrote:
On Jan 23, 2008 3:10 PM, bob [EMAIL PROTECTED] wrote:
No I've been googling for solutions but there is no one with similar
situation...
Fair enough...but would you not
On Jan 23, 2008 3:32 PM, bob [EMAIL PROTECTED] wrote:
agree .. so any recommendation on where to get help?
/me sighs
*Not* on a mailing list for CakePHP for starters.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard:
might start with http://www.php.net/support.php and the php general list there
Sam D
On Jan 23, 2008 1:32 PM, bob [EMAIL PROTECTED] wrote:
agree .. so any recommendation on where to get help?
On Jan 23, 2008 12:27 PM, Chris Hartjes [EMAIL PROTECTED] wrote:
On Jan 23, 2008 3:10 PM,
I get this problem as well. Was this reported? Did you get a
workaround?
On Jan 4, 5:32 am, polutan [EMAIL PROTECTED] wrote:
I got this error when i run this command : cakeaclcreate aco / ROOT
Fatal error: Undefined class name 'string' in D:\tohtdocs\MyBand\cake
\libs\model
var $useTable = 'singular_name';
http://tempdocs.cakephp.org/#TOC62703
On Jan 23, 2008 12:21 PM, johnqpubliq [EMAIL PROTECTED] wrote:
I have to work with a database that was constructed some time ago, and
the issue is that all the tables i need to use have singular names
(person, id ect)
what OS are you guys using?
On Jan 23, 2008 12:34 PM, Samuel DeVore [EMAIL PROTECTED] wrote:
might start with http://www.php.net/support.php and the php general list
there
Sam D
On Jan 23, 2008 1:32 PM, bob [EMAIL PROTECTED] wrote:
agree .. so any recommendation on where to get help?
Newbie question.
i haven't quite figured out helpers and could use a hand.
i'd like to use the password helper to protect a page view.
would someone please point me in the right direction? i've been
searching for hours.
thanks very much
--~--~-~--~~~---~--~~
1 - 100 of 140 matches
Mail list logo