how to override dbo in cake ? in model or controller ? I cannot find
the links :(
I am going to override $alias because the alias = 'AS ' in
dbo_source.php
doesnt work with oracle (select * from mytableabc as x --> produce
error in oracle)
tx
--~--~-~--~~~---~--~-
Hmm .. Ithink i am able to connect the db using odbc already.
I found a bug in db_odbc.php line 178, it should have query without
Limit 1 .. because "Limit 1 " is not recognized by oracle db.
But i still have the problem because it always display the warning and
displaying all my table from my d
with nested from. i saw there were some discussion about this kind of
quesion, but never saw a way to solve this problem.
anyone can help ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post
Hi
I am asking again :(
I am going to connect to my oracle database using odbc and here is my
configuration:
var $default = array('driver' => 'odbc',
'connect' =>
'odbc_connect',
that is exactly what i want. thx a lot!
On Aug 25, 3:52 pm, majna <[EMAIL PROTECTED]> wrote:
> $this->User->id = 532;
> $this->User->saveField('authenticated', '1');
>
> On Aug 25, 9:47 am, Wimg <[EMAIL PROTECTED]> wrote:
>
>
>
> > i know the row_id , colmun_id.
>
> > anyone knows ? thx !!- Hide
Yes, I was thinking to use View as well (if the cake doesnt allow me)
but the view will be same 100% with the table (select * from
mytablename), but when i rethink about that, it will confuse other
developer a bit in the future, so i will keep usibng the same
table :)
On Aug 27, 7:51 pm, wgrant
Hi,
If i use $useTable then I dont need to worry about the singular and
plural again right ?
the last question, what the use of $name ? Is it name of the class ?
thank you for your time
adwin
On Aug 27, 5:22 pm, Grant Cox <[EMAIL PROTECTED]> wrote:
> var $useTable = 'your_table_name';
>
> in y
Thanks, it help me to solve the problem.
I just try to change .htaccess in the root directory of cakephp. I
still have the error msg.
But everything works perfect now. Thanks a lot for your help
Charlie
On Aug 28, 8:40 am, Geoff Ford <[EMAIL PROTECTED]> wrote:
> It's an apache configuration is
http://www.nabble.com/How-to-make-a-good-use-of-Elements-and-DRY-principe---tf4279200.html#a12213971
Ski-3 wrote:
>
>
>> you can send a variable to the element:
>> renderElement('my_element', array('data' => $data));
>
> Hi,
>
> Thanks, I have been trying that, but the idea was to re-us
Or...
UPDATE snide_comments_by_developers SET count = count + 1 WHERE developer =
"nate"
nate-23 wrote:
>
>
> On Aug 23, 10:17 pm, Dani <[EMAIL PROTECTED]> wrote:
>> Wouldn't it be cool if updateAll had a validate parameter just like
>> save?
>
> Hmm nope, not really.
>
>> By the way,
Thanks, but it's the same as $this->Vacancy->recursive.
Manual:
"$recursive
This sets the number of levels you wish Cake to fetch associated model
data in find() and findAll() operations."
On 27 авг, 23:33, Freight <[EMAIL PROTECTED]> wrote:
> Have looked at this? Perhaps sixth parameter!
>
>
Try googling it
On 8/27/07, Vivek Narula <[EMAIL PROTECTED]> wrote:
> Can anyone else provide me some solution about my problem.
>
>
> Thanks
>
>
> On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Nope, I do not know of any others.
> >
> > Hope this has been a help!
> >
> > On Au
http://api.cakephp.org/1.2/class_form_helper.html
On 8/27/07, bujanga <[EMAIL PROTECTED]> wrote:
>
> On my registration form, I wish to verify the user's password entry by
> having them enter it twice. The FormHelper magically indicates which
> fields must be completed when the field is part of t
It's an apache configuration issue. I never have to edit the .htaccess
files and my development machine uses subdirs.
http://httpd.apache.org/docs/1.3/mod/mod_dir.html
A "trailing slash" redirect is issued when the server receives a
request for a URL http://servername/foo/dirname where dirname is
On my registration form, I wish to verify the user's password entry by
having them enter it twice. The FormHelper magically indicates which
fields must be completed when the field is part of the model. How can
it be done to indicate a required field when it is not part of the
model. Finally, is th
See an earlier announcement on the deprecated functions (now some are removed)
https://trac.cakephp.org/changeset/4981
HTH
Sam D
ps it's gone but replaced ;)
On 8/27/07, sdc53 <[EMAIL PROTECTED]> wrote:
>
> why was it removed? is it going to make a comeback, or should I make
> other plans?
>
why was it removed? is it going to make a comeback, or should I make
other plans?
--~--~-~--~~~---~--~~
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 u
Solution:
$html->link($html->image(...), $html->webroot(IMAGES_URL, 'image.jpg),
null null, false);
On Aug 27, 1:25 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Clarification: if the target is another image how would you get just
> the image url?
>
> $html->link($html->image(...), $html
Clarification: if the target is another image how would you get just
the image url?
$html->link($html->image(...), $html->image(...,
array('escape'=>true)), null null, false);
That will not work because there's no way to escape the img tag in the
target.
On Aug 27, 1:20 pm, "[EMAIL PROTECTED]"
I don't think it is because there is no way to get only the image url
without the img tag.
On Jul 25, 9:44 pm, roliver <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Is it possible to use $html->link and $html->image together. As in
> wrapping html->link around the html->image so that an anchor tag ca
Can anyone else provide me some solution about my problem.
Thanks
On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Nope, I do not know of any others.
>
> Hope this has been a help!
>
> On Aug 27, 9:03 am, "Vivek Narula" <[EMAIL PROTECTED]> wrote:
> > when we use "BASE_URL" then i
Nope, I do not know of any others.
Hope this has been a help!
On Aug 27, 9:03 am, "Vivek Narula" <[EMAIL PROTECTED]> wrote:
> when we use "BASE_URL" then i think our url will be something like this :-
>
> http://mysite.com/myfoler/index.php.
>
> is there any other solution ???
>
I am trying to execute a command from within a view. Something like:
And I get nothing. I get the output I need when run on the command
line.
Any ideas why this doesn't work?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Hi there,
I've set up Joomla and Cake and installed the Jake component.
In line with the documentation (http://dev.sypad.com/projects/jake/
documentation/usage/) Jake hands me a URL for my Cake app but when
clicking the link, either from Jake's component admin page, via an
option in Joomla's mai
when we use "BASE_URL" then i think our url will be something like this :-
http://mysite.com/myfoler/index.php.
is there any other solution ???
Thanks
On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> The only other solution is to get rid of all the .htaccess file
The only other solution is to get rid of all the .htaccess files and
then comment out the 'BASE_URL' constant in core.php.
This will act dynamic enough to work in any folder without having to
change anything.
Steve
On Aug 27, 7:56 am, CakeMan <[EMAIL PROTECTED]> wrote:
> Thanks Steve for your r
Thanks Steve for your reply,
Your method will work however i can't hardcode the myfolder into
htaccess. I need some general solution to my problem.
pls help me to sort this out.
Thanks
On Aug 22, 10:06 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Greetings!
>
> When you are using .htac
Check your error log or turn 'display errors' on in the php.ini. On
Linux, errors will usually log to the httpd logs in /var/log/httpd/.
On Aug 27, 4:42 am, dap <[EMAIL PROTECTED]> wrote:
> i have used Apache 2.2.3,Mysql 5.0 and Php 4 and cakePhp and it works
> fine now when i install Apache 2.
You might consider using views for this. Especially in this case
where you are going to expose data to your external users, you may
find that there is data that you want to hide from them. Database
'views' will let you create virtual tables, named and organized
however you want while omitting se
On 8/26/07, fLUx <[EMAIL PROTECTED]> wrote:
>
> Hey,
>
> I'm having quite a big problem - I'm with Dreamhost, and as standard,
> they dont have PHP-GD installed, to use that, you must compile your
> own PHP - OK I said, ~ 7 hrs ago...
>
> Basically, I have /cgi-bin/php.cgi which I need to use as m
Have looked at this? Perhaps sixth parameter!
http://api.cakephp.org/class_model.html#63ade7d3c6d03c83ab53a224e23ad9dd
Model::findAll ( $conditions = null,
$ fields = null,
$ order = null,
$ limit = null,
i have used Apache 2.2.3,Mysql 5.0 and Php 4 and cakePhp and it works
fine now when i install Apache 2.2.3,Mysql 5.0 and Php 5.2.3
everything works fine,but the problem is that the files that i did
earlier with php4 they are not displayed on the browser,the browser is
blank. Please help me
--~
var $useTable = 'your_table_name';
in your model. And search this list in future, or read the manual.
On Aug 27, 7:45 pm, Adwin Wijaya <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was asked by my boss to develop a web application so that the user
> from outside can connect to the system. Currently
Hi,
I was asked by my boss to develop a web application so that the user
from outside can connect to the system. Currently we use Oracle and
VFP for desktop application. Basically I just need to develop the GUI
for the web and use the current database,
I am going to use Cakephp for this project
I quite literally feel like a moron. But thank you so much!
On Aug 27, 12:49 am, Claudia <[EMAIL PROTECTED]> wrote:
> Hi Sunny
>
> You are using typographical apostrophes instead of normal single
> quotes.
>
> Just replace them by normal quotation marks and it should work.
>
> Claudia
--~--~--
I believe that this is a variation of https://trac.cakephp.org/ticket/2976
Geoff
--
http://lemoncake.wordpress.com
On Aug 27, 1:34 am, "Aurelijus Valeia" <[EMAIL PROTECTED]> wrote:
> Hello again,
> i fixed this editing cake\libs\controller\components\acl.php
> Changed this line:
> for ($i = cou
Download it, build a basic scaffolded system and see if it has what
you want. Should only take about 15 mins if your are resonalbly
profficient in oo php.
>From memory, using your user hasMany items example, scaffolding will
produce a users/view.ctp that list your items underneath the user
detail
Hi, I am new to cakephp :)
Is the cakephp scaffolding support for master detail generator ?
forexample i have :
users --> master
items -> detail ...
item -> belong_to user
is it possible to use scaffolding to generate it ?
I want to display user then at the bottom it will generate items that
b
Hi Sunny
You are using typographical apostrophes instead of normal single
quotes.
Just replace them by normal quotation marks and it should work.
Claudia
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP"
Hello!
I have three models - City, State and Vacancy.
City belongs to state and vacancy belongs to city.
Setting $this->Vacancy->recursive = 2 and then calling $this->Vacancy-
>findAll() with no parameters returns the Vacancy, City and State
data. But if I call $this->Vacancy->findAll() with arr
40 matches
Mail list logo