On Jan 10, 2008 1:13 AM, Bill [EMAIL PROTECTED] wrote:
Então, já havia feito isto.
Em nome da variável, está: Path
Em Valor da variável, adicionei o seguinte:
D:\Apache\VertrigoServ\Php;D:\Apache\VertrigoServ\www\cakephp1.2\cake\console
Que no caso são os caminhos até a pasta do PHP e a
Tenta limpar os ficheiros da tua cache situados em app/tmp/cache.
On Jan 10, 2008 10:24 AM, Rafael Bueno [EMAIL PROTECTED] wrote:
Bom dia pessoal, preciso de uma ajudinha de vcs, acontece o seguinte,
o findAll estava funcionando normalmente ai depois q eu adicionei mais
3 campos na tabela
Valeu Gustavo,
agora funfou legal aqui.
Era problema do Ruindows mesmo, depois de reiniciar ele funcionou.
Testei apenas com o comando cake bake app, uma pena a documentação oficial do
cake ainda ser tão escassa, pois seria bom ter acesso a todos comandos de
geração de acl e do bake.
grande
Olá ,
Acho que você está certo pois, entre User e Group existe uma terceira tabela
HABTM (tabela que relaciona User.id com Group.id). Na tabela Group deve
existir um campo user_id (chave estrangeira proveniente da tabela user que
indica o dono do grupo... também poderia se chamar owner_id, mas
On Jan 10, 2008 1:27 PM, Bill [EMAIL PROTECTED] wrote:
Valeu Gustavo,
agora funfou legal aqui.
Era problema do Ruindows mesmo, depois de reiniciar ele funcionou.
Testei apenas com o comando cake bake app, uma pena a documentação oficial
do cake ainda ser tão escassa, pois seria bom ter
o P deveria ser maiusculo, tenta isso.
On Jan 10, 2008 2:02 PM, Josenivaldo Benito Junior
[EMAIL PROTECTED] wrote:
Olá Galera,
Estou com uma dúvida (poderia haver uma tabela com exemplos claros sobre
isso... eu sempre enrosco nisso) na nomenclatura padrão do Cake.
Tenho duas tabelas
Olá gustvo,
P maiusculo onde, no controller?
Grato
On 1/10/08, Gustavo Carreno [EMAIL PROTECTED] wrote:
o P deveria ser maiusculo, tenta isso.
On Jan 10, 2008 2:02 PM, Josenivaldo Benito Junior
[EMAIL PROTECTED] wrote:
Olá Galera,
Estou com uma dúvida (poderia haver uma tabela com
Sim, todos os controller e seus models devem estar em CamelCase.
Não sei se isso vai solucionar mas as regras ditam que deve ser assim.
On Jan 10, 2008 3:06 PM, Josenivaldo Benito Junior
[EMAIL PROTECTED] wrote:
Olá gustvo,
P maiusculo onde, no controller?
Grato
On 1/10/08, Gustavo
Não precisa configurar PATH pessoal, vamos pelo mais simples:
Iniciar - Executar: cmd
cd\ONDE\ESTA\O\APP
..\cake\console\cake
Juan Basso
Gustavo Carreno escreveu:
On Jan 10, 2008 1:27 PM, Bill [EMAIL PROTECTED] wrote:
Valeu Gustavo,
agora funfou legal aqui.
Era problema do
Isso é o que tem agora ou o que já tinha? Agora fiquei sem perceber ...
On Jan 10, 2008 3:42 PM, Juan Basso [EMAIL PROTECTED] wrote:
Banco de dados:
- propagation_types
- disclosed_stations
- registers (com campo propagation_type_id)
Model:
class PropagationType extends...
hasMany =
$this-Session-session_id('id da sessao');
$this-Session-read(...);
Juan Basso
igor_rj escreveu:
vou verificar, tamb�m n�o sei..
mas como pegaria ela atrv�s do session_id?
--~--~-~--~~~---~--~~
Recebeu esta mensagem porque está inscrito em Grupo Cake PHP
Xii, estamos tendo um dialogo e estamos deixando o Josenivaldo de fora...
Eu pensei que era o Jose que tava dando essa informação, LOL!!
On Jan 10, 2008 3:52 PM, Juan Basso [EMAIL PROTECTED] wrote:
Isso é como faria no seu caso, seguindo o padão cake. Não sei se você
fez assim... Pelo que você
Opa, Claro que ajuda...
vou conferir.
Abraço
On 1/10/08, Juan Basso [EMAIL PROTECTED] wrote:
Banco de dados:
- propagation_types
- disclosed_stations
- registers (com campo propagation_type_id)
Model:
class PropagationType extends...
hasMany = array('Register');
class
De fora nada, to aqui de botuca... hehehe
Abraço
On 1/10/08, Gustavo Carreno [EMAIL PROTECTED] wrote:
Xii, estamos tendo um dialogo e estamos deixando o Josenivaldo de fora...
Eu pensei que era o Jose que tava dando essa informação, LOL!!
On Jan 10, 2008 3:52 PM, Juan Basso [EMAIL
Valeu amigo era isso mesmo, apaguei todo o conteúdo da pasta app\tmp
\cache\models
--~--~-~--~~~---~--~~
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
Sim, estou usando a versão 1.2.0.6311-beta.
Que legal, vo falar pra minha chefe que o sistema vai funcionar assim que
terminarem de homologar o cake. ai minha orelha heheh
Acho que agora é hora de por em pratica as aulas de inglês e entrar no irc.
mas antes vo tentar dar um rollback pra
Para os dois: Bill e Junior.
Então Bill, no meu Model, eu preciso incluir um HasAndBelongToMany e
HasMany para um mesmo Model como descrevi.
Da uma olhadinha.
E então Junior, aqui ficou supimpa.
Quando dou um findAll, ele retorna uma array da maneira que imaginei.
Com o nome do relacionamento
Legal que funcionou.
Abração
On 1/10/08, TSassara [EMAIL PROTECTED] wrote:
Para os dois: Bill e Junior.
Então Bill, no meu Model, eu preciso incluir um HasAndBelongToMany e
HasMany para um mesmo Model como descrevi.
Da uma olhadinha.
E então Junior, aqui ficou supimpa.
Quando dou um
Aconselho você a dar uma analisadinha no código fonte também. O código
do Cake é bem simples.
Particularmente, eu prefiro ler o código fonte do que a documentação.
Assim da para ver como funcionam os fornos da padaria. :)
Juan Basso
On 10 jan, 17:27, wc [EMAIL PROTECTED] wrote:
Sim, estou
E eu pensei que a dúvida era sua. LOL!
Josenivaldo, qualquer coisa, estamos aí.
Juan Basso
On 10 jan, 13:38, Gustavo Carreno [EMAIL PROTECTED] wrote:
Xii, estamos tendo um dialogo e estamos deixando o Josenivaldo de fora...
Eu pensei que era o Jose que tava dando essa informação, LOL!!
On
pode dar mais algumas especificações ?
vai ser *conteudo* (db) multi lingual, ou apenas as mensagens (e
botoes, imagens, etc) serão multilinguais ?
mas esse link aqui explica, em inglês, quase tudo de como o 1.2
funciona... sobre internacionalizaçao e localização
aliás, isso é uma hábito necessário, que tive que me acostumar:
sempre que mudar *qualquer* coisa na DB, limpar aquele folder de cache
spark
On Jan 10, 2008 5:10 PM, Rafael Bueno [EMAIL PROTECTED] wrote:
Valeu amigo era isso mesmo, apaguei todo o conteúdo da pasta app\tmp
\cache\models
Thanks for your answers!
Although your examples show a datagrid, I will try to adapt it to show
and validate a form...
Kind regards.
On 9 ene, 20:02, hydra12 [EMAIL PROTECTED] wrote:
I'm working on a new version of my tutorial that works with 2.0. I'll
try to get it done soon, depending on
1.2 beta
Following is the sql file I am working from: http://pastebin.com/f5d3d7ec5
After I bake my MVC files and add a user, it is apparent that when
save reaches the second HABTM association for my model it attempts to
save data from my first HABTM association, as well as data from my
second
Hi everybody,
I found some problems with bake script in command line.
I'm using 1.2.0.6311 beta release, not the nightly.
1) In a controller creation, if I answer no for: Would you like to
include some basic class methods?, bake doesn't ask me creating Admin
routing methods...
2) The
Hi,
no, I use another server but propably this is the problem. I'll check
the log files as DJ Spark pointed out. The problem is that these files
remain in the webroot and fill up the available space.
On 7 Ιαν, 12:27, AD7six [EMAIL PROTECTED] wrote:
On Jan 7, 10:26 am, NRGBilly [EMAIL
i tried to repeat the step of your example with ext 1.1.1 here is my
ajax.ctp
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=?php
__('lang_iso_code') ?
lang=?php __('lang_iso_code') ?
I've been using the translation behaviour to translate and it works
fine for the translations but not the original default language, when
I set my application to the default language (es Spanish) and try to
get the content from the Original Model (Page) the Translation
behaviour tries to look for
I have upgraded the console with nightly build release but problems
always exist...
Avairet
On 10 jan, 11:34, avairet [EMAIL PROTECTED] wrote:
Hi everybody,
I found some problems with bake script in command line.
I'm using 1.2.0.6311 beta release, not the nightly.
1) In a controller
Hi Conankun,
Did you get a solution to this? Sounds like the App class is not being
loaded (sorry for stating the obvious i think). Have you gotten the
latest release and ensured all the correct files are in the right
places?
G
--~--~-~--~~~---~--~~
You received
Hello Brian,
Can you explain more? What is your context?
Because conditions array is normally for SQL conditions (e.g. :
Post.id 5 or Post.id 10), not for fields...
BR
Avairet
On 10 jan, 02:32, blange [EMAIL PROTECTED] wrote:
$conditions = array(
'Post.id' =
There's a 'magic marker' that tells cake not to interfere with
conditions, and it's -! (hyphen - bang)
So this would work:
$conditions = array(
'Post.id' = '-!Post.thread_id')
Of course, cake won't quote your field, so it would be better practice
to put
$conditions =
On Jan 10, 4:38 am, Aria Rajasa Masna [EMAIL PROTECTED] wrote:
Hi everyone,
I wanted to take a screenshot from an user uploaded video, any links and
references I can follow regarding that matter? Owh and I was wondering on
how to make a animated gif screenshot like the one displayed
Hi,
I need to submit an Ajax form using an image opposed to a submit
button. The roadmap suggests this is now possible:
https://trac.cakephp.org/ticket/770
but I cannot find this functionality. I am using 1.2 -- can
anyone help?
Thanks in advance.
Pass array('foreign_key' = $id, 'model' = 'Post') as the aco to check().
On Jan 9, 2008 11:48 AM, Andreas [EMAIL PROTECTED] wrote:
Hi,
bit new to ACL and having some problems when I want to check for
permissions before deleting a post using the ACL setup from
On Jan 10, 2008 10:37 AM, lordG [EMAIL PROTECTED] wrote:
Hi Guys,
I just updated my core site to the latest 1.2.0.6311 release and I
keep getting this error on every second or third request:
PHP has encountered a Stack overflow
Imagine my shock when Google pointed out what the problem
Also, when I hit refresh when this happens, I get this error:
Fatal error: Cannot redeclare paths() (previously declared in D:
\webserver\cake.1.2\dev.2\cake\cake\basics.php:60) in D:\webserver
\cake.1.2\dev.2\cake\cake\basics.php on line 100
Er, um, what? I haven't even redeclared it.
Hmmm... tough one
echo $ajax-submit('your-image-here.png');
but I cannot find this functionality
I'd just point out that I never use the Ajax helper [because I prefer
mootools], and this took me all of 10 seconds to find out by browsing
the source, although I'm sure you could find it on
Hi Guys,
I just updated my core site to the latest 1.2.0.6311 release and I
keep getting this error on every second or third request:
PHP has encountered a Stack overflow
Any ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
I dunno why it says App::import. I believe (from whay I know) you
should be using ClassRegistry::init now.
On Jan 10, 6:15 am, lordG [EMAIL PROTECTED] wrote:
Hi Conankun,
Did you get a solution to this? Sounds like the App class is not being
loaded (sorry for stating the obvious i think).
Hey Chris,
Thanks, but mine is already set to 128M, which is far too high anyway.
My app was working 100% with release 1.2.0.5875, but now with the new
one, I get this error above.
Any further ideas?
G
--~--~-~--~~~---~--~~
You received this message because you
Even tried the ini setting at 512MB, and still no luck...!
Like I mentioned, the app was working 100% before the update, and I
used to use loadModel, and switched it to the App::import... could
this be part of the memory usage error?
On Jan 10, 6:08 pm, lordG [EMAIL PROTECTED] wrote:
Hey
New site/app added to
http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
A music aggragator of reviews, audios and videos. Build in cake 1.2.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
And the name of the site and URL: Cloudspeakers.com -
http://www.cloudspeakers.com
On 10 jan, 17:27, Charlie van de Kerkhof [EMAIL PROTECTED] wrote:
New site/app added to
http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
A music aggragator of reviews, audios and
I have upgraded my loadModel calls with App::inport without
problem..
STACK_OVERFLOW is symptomatic of a dead-end loop ... Is the
App::import the only code modified ? If you comment your
App::import, do you face the same overflow ?
On Jan 10, 5:25 pm, lordG [EMAIL PROTECTED] wrote:
Even tried
Yeah, i've been trying that, but I am not sure if that is or isn't
related to the error.
The code I have that seems to get nailed is as soon as I do the
$MenuModel = new MenuModel();:
if (!is_object($this-MenuModel)) {
if
Hi All,
I am relatively new to CakePHP and working with CakePHP 1.2 beta.
What I have learned so far is that we use controllers to take input
and models to actually save data. But the form helper Save function is
working fine in my controller class and not in my model class. I want
to ask that
Issue solved -
PhpNuthttps://trac.cakephp.org/timeline 01/08/08
PhpNutsomewhere around that date pretty sure I fixed it
AD7six
https://trac.cakephp.org/browser/branches/1.2.x.x/cake/libs/model/model.php#L1276
AD7sixleveille: if you use the branch code you are set.
Yes, that's exactly what I wanted. Thank you.
On Jan 9, 5:38 pm, Chris Hartjes [EMAIL PROTECTED] wrote:
On Jan 9, 2008 3:24 PM, Greg Baker [EMAIL PROTECTED] wrote:
How can I get the root of my site to display a different page, without
using a redirect?
For example..
I've read that problem and I tried it but it didn't solve the problem.
In the vendor there was the a start_session, but it was not called,
anyway I removed it.
None else is having this problem?
On Jan 10, 8:35 am, francky06l [EMAIL PROTECTED] wrote:
Just a hint (maybe you tried already) ..
Here is the thread from irc. Read it to become enlightened!
PhpNut https://trac.cakephp.org/timeline 01/08/08
PhpNutsomewhere around that date pretty sure I fixed it
AD7six
https://trac.cakephp.org/browser/branches/1.2.x.x/cake/libs/model/model.php#L1276
echo $ajax-submit('your-image-here.png');
I have already tried this but a standard submit button with the image
path is output.
Hmmm... tough one. Maybe work on your research skills?
I suggest you work on your communication skills.
On Jan 10, 7:38 pm, grigri [EMAIL PROTECTED] wrote:
Hmmm...
$MenuModel = new MenuModel(); ?
Is all the code in same function ? Maybe ahve a look to
ClassRegistry::Init('MenuModel', 'Model'), I think it does the add
object and returns the class ...(to verify)
On Jan 10, 5:54 pm, lordG [EMAIL PROTECTED] wrote:
Yeah, i've been trying that, but I am not
I've got a DB with legacy data and column names, and because other
applications (currently) use it, we're sticking with the DB naming
conventions (which is, of course, totally non-Cake). So, its not an
option to change the DB naming convention, and its not an option to
not use Cake. :)
One of
Maybe yes, the Model in the init function should be prefix with plugin
name.
I think you only need this :
if (!is_object($this-MenuModel)) {
$this-MenuModel = ClassRegistry::init('cms.MenuModel',
'Model');
Also what in your plugin, if you have relation between model integrate
the plugin
nope, if I remove the code, i dont get the error. The error only
appears to be occuring when either running $MenuModel =
ClassRegistry::init('MenuModel'); or $menuModel = new MenuModel();
Some further notes, this model is within a plugin call Cms. Could the
error be related to how Cake is
Sorry mate, it really does work. I even backgraded back to the beta
release to test, and it still works there.
You say you're using 1.2, is that the latest branch, the beta, the
pre-beta, or what?
This was added in 6161 : https://trac.cakephp.org/changeset/6161
(AjaxHelper::submit just calls
Trying to pass variables to different actions within the controller:
showresult page contains two elements.
I make the submit variable generic and then call the different
actions. I am having trouble passing the variable to the other
controller actions any clues...
Thanks
Yeah, still not. This is the updated code.
if (!is_object($this-MenuModel)) {
if (!ClassRegistry::isKeySet('MenuModel')) {
//get the language model
if (!class_exists('MenuModel')) {
App::import('Model','cms.MenuModel');
I have talk with Lion30 yesterday on IRC, he had the same problem with
captcha component No idea if he did solve or not ..
On Jan 10, 1:00 pm, Alberto [EMAIL PROTECTED] wrote:
I've read that problem and I tried it but it didn't solve the problem.
In the vendor there was the a
If you remove this block of code ? DO you get the error ?
On Jan 10, 6:12 pm, lordG [EMAIL PROTECTED] wrote:
Yeah, still not. This is the updated code.
if (!is_object($this-MenuModel)) {
if (!ClassRegistry::isKeySet('MenuModel')) {
//get the language model
Hi,
I was wondering if anyone had any ideas on how to implement this idea
in the most effective way. I'm working on a CMS right now for private
use that is going to need to power multiple domains (www.site1.com,
www.site2.com, www.site3.com, etc)
Each site needs its own database, and each
Thanks that did the trick!
On Jan 10, 5:57 am, grigri [EMAIL PROTECTED] wrote:
There's a 'magic marker' that tells cake not to interfere with
conditions, and it's -! (hyphen - bang)
So this would work:
$conditions = array(
'Post.id' = '-!Post.thread_id')
Of
This is more of an FYI so that anyone searching about this will come
across some new information. In the latest 1.2 Beta there have been
some changes to the way you change an Aro element's parent AND have
the Tree values changed at the same time.
Previously, you would use the setParent method,
Yeah, sorry about the code error, I forgot about the Plugin.ModelName
here. This has not fixed the problem though.
I've updated the code to:
if (!is_object($this-MenuModel)) {
if (!ClassRegistry::isKeySet('MenuModel')) {
$MenuModel = ClassRegistry::init('Cms.MenuModel',
In the latest 1.2 Beta, I am noticing that generateList is deprecated
and to be replaced with find(list).
But how am I supposed to add a condition to the find if the first
argument is the string list?
Can anyone help me figure out how to replicate a generateList with
conditions using the new
find('list', array ('conditions' = array() );
On Jan 10, 2008 11:42 AM, aranworld [EMAIL PROTECTED] wrote:
In the latest 1.2 Beta, I am noticing that generateList is deprecated
and to be replaced with find(list).
But how am I supposed to add a condition to the find if the first
I've got that going right now, based on a blog post or an article.
Basically, I've got a directory like this:
web
- app1
- app2
- src
- cake.v1
- cake.v2
I put my full versioned cake install into the source directory (right
now I have cake_1.2.05875-pre-beta and cake_1.2.06311-beta, for
You do not need isKeySet and getObject, the init function will do the
addObject (unless you need to call your init function load the first
time) ... When tracing, where does fails ?
init, load or getObject ?
On Jan 10, 6:42 pm, lordG [EMAIL PROTECTED] wrote:
Yeah, sorry about the code error, I
actually, the $this-ClassName-save() function is supposed to be in the
controller class as is. What it does is sends the data to the Model in order
to validate the data to be saved. In the Model, you would place all of your
data validation, and if the passed data passes the validation present in
Another thing you want to check, is look at all of your model and controller
files, and make sure that there is *NO* whitespace either before, or after
the first ?php call or the last ? call. These have been known to cause the
loss of session data in numerous cases.
On Jan 10, 2008 6:00 AM,
I would like to announce the launch of http://www.brightegg.com, a new
web platform for building/managing professional-looking websites built
with cakePHP 1.2. Brightegg also utilizes several popular open-source
javascript toolkits, including jQuery, Dojo and FCKeditor.
Brightegg offers
Yep, that's basically it. Look up in the manaul.cakephp.org and look at the
production setup.
This only works on hosts that allow you to point a (sub)domain to a
particular directory of your choice. I know some have their own generated
directories they use. Just thought I put that out there.
I
Ok, I found the problem... In my controller I opted to switch the $ext
value back to '.thtml' so I didn't have to rename hundreds of view
files.
Now this is interesting though becasue what does the $ext of the
controller have to do with the App::import()? When debugging, I always
got to the
though, whilst looking through the code of the constructor function of
the model, there is no way around this...
model class:
00349 if ($table === false) {
00350 $this-useTable = false;
00351 } elseif ($table) {
00352 $this-useTable = $table;
00353
On Jan 10, 8:35 pm, Baz [EMAIL PROTECTED] wrote:
Yep, that's basically it. Look up in the manaul.cakephp.org and look at the
production setup.
This only works on hosts that allow you to point a (sub)domain to a
particular directory of your choice.
How does that affect things one way or
I have a model load with App::import and having no table. It does not
generate any problem ...
Actually I have never loaded a plugin.model, but I am doing
plugin.helper, plugin.component without problem..
On Jan 10, 8:32 pm, lordG [EMAIL PROTECTED] wrote:
nope, I think I was wrong about that!
On Jan 10, 8:46 pm, francky06l [EMAIL PROTECTED] wrote:
I have a model load with App::import and having no table. It does not
generate any problem ...
Actually I have never loaded a plugin.model, but I am doing
plugin.helper, plugin.component without problem..
Check that you don't have
This is 99% a whitespace issue IME's.
Hint: Find where kcaptcha is writing the image headers header(...)
comment them out and try to look at the image... it should be all
garbled.
Take a look at the source. It the first character is a space, you know
that's your problem.
Hello Guys,
I have a legacy appliaiton that i am porting to cake to avoid the clutter of
code in my php pages. That application is using configuration
file(traditional config.php). I was wonderting that what is the best place
where it would go when thinking of cake paradigm. Please Help.
--
The problem was not solved by changing the $ext!
AD, i'll check on what you are suggesting. Is this because Cake loads
all the models or something? Why would the duplicate aliases solve the
problem?
--~--~-~--~~~---~--~~
You received this message because you are
On Jan 10, 2008 2:05 PM, Cristiano [EMAIL PROTECTED] wrote:
I would like to setup Cake Migrations 3.4 for my app, but it requires
PEAR.php and MDB2.php. Problem is: I have NO idea how to do this and
it doesn't seem to be documented anywhere.
Go to http://pear.php.net for info on how to
Ok, I have no duplicate aliases in the models... any other
suggestions? Whatever has gone wrong is because of a difference in the
2 releases, and I think to suspect the new App::import related items
and how it is functioning.
On Jan 10, 10:19 pm, lordG [EMAIL PROTECTED] wrote:
The problem was
OK, I've updated my datagrid tutorial for ext-2.0. You can find it
here: http://www.ntatd.org/mark/?p=30. I'll try to work on forms
next. If I remember correctly, you build the form itself in ext just
like in the tutorials. When you want to submit, do it as a post. In
your controller, you
I just posted a newer tutorial that works with ext-2.0 and cake 1.2
beta here: http://www.ntatd.org/mark/?p=30
On Nov 26 2007, 10:12 am, hydra12 [EMAIL PROTECTED] wrote:
OK, I now have an example to share. It's fairly long, so I won't post
it here, but you can find it on my blog.
I would like to setup Cake Migrations 3.4 for my app, but it requires
PEAR.php and MDB2.php. Problem is: I have NO idea how to do this and
it doesn't seem to be documented anywhere.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
OK, I did some searching and found this thread:
http://groups.google.com/group/cake-php/browse_thread/thread/32d4c152746ddb38/48bde29ad0776d1f?lnk=gstq=extjs#48bde29ad0776d1f
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
It depends how many configuration settings you need to store.
Personally, I'm just adding to the bottom of app/config/core.php -
seems to work fairly effectively.
Others have used a model and component in order to store configuration
settings in the database. I haven't tried this yet.
Steve
I try to go with doing whatever gives the most business value first. This
means whichever piece of functionality is most important in getting the
application working in the shortest amount of time. You can then release
this part to the testers immediately and get feedback early.
However, on my
Hello Steve,
Thanks for the reply. I have a lot of configuration files, so i think
appending at the end of one file wont be advisable for me. Can you point me
to any such example of the second approach you suggested? I will be
thankful.
thanks.
On 1/11/08, MrTufty [EMAIL PROTECTED] wrote:
Hello Guys,
I am new to OO and cake, so please bear with me for my stupid questions. I
have got a legacy application to port to cake. On the index page of this
application, images are loaded on fly from the database. From the cake's
manual i got that replacing the cake's template with your custom
Hi all,
I'm using othAuth with cake 1.1.x.x.
I have a scenario where a user signs up for an account and then gets an
email with an activation link. When the user clicks the link they can login.
However, once logged in I want them to fill out their account profile. Once
filled in I set their
Hi all,
I'm using RosSofts head helper for 1.1.x.x
It works a charm on my dev machine. However, when I upload the app to the
test server it doesn't seem to add the .js extension to the javascript
includes. It does add the .css extension for the stylesheets though. I know
this is built into 1.2
You can use the elements. Put those elements in your template file and load
the image dynamically by calling it from the element. You can use
requestAction to call the query from a controller. You would have to make
the controller first of course, just something to call the query
On Jan 11, 2008
Thanks, but this still doesn't work.
I get the same error when I try this, in either app_controller.php or
auth_controller.php. I also tried putting the line:
var $uses = array('Session');
in each of auth_controller.php and app_controller.php, and got the
second error described above (Class
Hey Guys,
One of the great features i liked about the generateList was that you
could make a list of data that the id was the key and the data was the
value... e.g. generateList(null, null, null, '{n}.Model.id', '{n}')
Why remove generateList, why not just leave it and give the option of
both?
This only works on hosts that allow you to point a (sub)domain to a
particular directory of your choice. I know some have their own generated
directories they use. Just thought I put that out there.
If you want http://www.app1.com to point to the www/app1 directory and
http://www.app2.com
If it is possible to do the above though using the find('list'..., how
would one suggest it be done?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
On Jan 10, 10:26 pm, lordG [EMAIL PROTECTED] wrote:
Hey Guys,
One of the great features i liked about the generateList was that you
could make a list of data that the id was the key and the data was the
value... e.g. generateList(null, null, null, '{n}.Model.id', '{n}')
Why remove
Hey AD,
Can you elaborate on why there shouldn't be duplicate aliases? I'm
pretty sure I've done this many times without issues.
Cheers,
Adam
On Jan 11, 5:51 am, AD7six [EMAIL PROTECTED] wrote:
On Jan 10, 8:46 pm, francky06l [EMAIL PROTECTED] wrote:
I have a model load with App::import and
1 - 100 of 140 matches
Mail list logo