On 5/21/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
>
> Now if you want to actually build your application, using the best framework
> that is out there, as scalable and flexible as it can get without any loss
> on performance, then go with CakePHP.
>
+1
In short if it has to be a framework i
hi,
can anyone tell me why updating 2 divs with ajax->link works, but not
with ajax->editor.
basically i want to enter a value for resource_8 and then calculate a
new value for resource_9
thanks
pete
View
div("resource_8); ?>divEnd("resource_8"); ?>
div("resource_9); ?>divEnd("resource_
On 5/21/07, Pablo Godel <[EMAIL PROTECTED]> wrote:
>
>
> you should learn the PHP5 OO side regardless of what cake uses.
>
> Pablo
>
I agree with Pablo. However, my understanding is that cake is written in
such a way that either way will work. Just be consistent.
Nathan
--~--~-~--~
(sorry, i didnt post 50 million times, google groups f'd upif
anyone else is seeing my post a bunch of times over)
and on the note of tinyMCE... I think you're missing it Mandy.
It's nothing to replace a CMS with...it's something to enhance your
CMS.
you can apply tinyMCE to your CMS as is a
I've problem to create multiple value with combo box , right now i
have only one value appear on the screen . i like to view some sort
like this :-
inside my combobox have this row data value for the example
1 SystemAnalyst Holding<= this
is first
(on Cake 1.2)
No Matter what I do $cakeDebug is always empty. I tried to follow
through the code, it seems if DEBUG is > 2 $cakeDebug get set with ..
something (I'm not sure what).
I tried many different things, no matter what I did that variable is
always empty. Anyone have any helps to offer. I
On 5/21/07, thomasd7 <[EMAIL PROTECTED]> wrote:
>
> drawn to it, what would it take to build something like this? Why do
> places like facebook require millions of dollars of venture capital,
1) developers cost money
2) hardware costs money
Here's a link for you to check out as well that should
On 5/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Now my questions:
> - Could it be the case that there was a name collision?
Yes.
> - Is there a way to avoid these collisions? If so, how?
>
Until PHP has namespace support, avoid these collisions by prepending
your classes and function
In the file homes_controller.php exist this
set("dadosHomeProduto", $this -> Produto ->
findAll("Produto.nome_produto != '' LIMIT 4"));//
// LISTA AS CONFIGURAÇÕES
//$this -> Config -> "Config.nomeConfig = 'listaProduto' AND
Config.config LIKE 'palavra:%'"
How do I configure the following? I am using 1.2.0.5137
I want to organise my static pages in subfolders so that views/pages/
products/product1 points to www.mydomain.com/products/product1.
I have found plenty of documentation on how to configure routes for
normal controller/actions but I can't
hi,
i already tested the Ajax cakephp ToDo example and it works great. now
try to do the same thing in my own project
the problem is, it works fine for one resource, i created a view
called resource_1 and the ajax works,
how do i do that i have more than one div? i cant create for each
resource_X
Thanks for the feedback!
About the .htaccess thing, for some reason, on my ubuntu laptop, it
never works unless i use absolute urls.
The database-based configuration looks interesting, I'll look into
that.
I'll try to fit a preview somewhere on the page. I haven't added any
AJAX yet -- I'm plan
you should learn the PHP5 OO side regardless of what cake uses.
Pablo
On May 21, 4:07 pm, rtanz <[EMAIL PROTECTED]> wrote:
> hi i have used php before but seeing that cakephp uses objects i would
> now learn php objects. i understand that this part of php has been
> revised for version 5 so i wo
Amen. I came from Symfony to CakePHP. Everything about Cake is so much
smoother than Symfony. From the lack of YAML to the lack of Propel,
everything fits so much better. For me it's the speed of development
that counts. I've recently finished a site for work using the 1.2
version which took less
Hi, i use one view file for many controllers. This view saved in views
folders and into the controllers i uses:
$this -> render('../anyViewFile');
this works well in my localhost with easyphp 2.0(with PHP5), but when
I upload to this my hosting(with PHP4), renders does not work well.
Example:
I moved from 1.1 to 1.2 and have had no problems whatsoever. In a way,
it has been good for me to reafactor my code in order to overcome the
deprecated functions as I know it is ready for 1.2 stable - or almost
ready depending on how many changes they make before then.
The mailer component in 1.2
hi i have used php before but seeing that cakephp uses objects i would
now learn php objects. i understand that this part of php has been
revised for version 5 so i would like to know what should i learn,
objects based on php4 or based on php5? thanks
--~--~-~--~~~---
Well, I was using 1.1... however, I'm considering moving to 1.2
anyways.
I'm wondering if the mailer and pagination features of 1.2 work better
than the components/helpers from the bakery for 1.2
I'm also a bit fearful of future deprecated functions in 1.2 (eg -
losing functionality as Cake get's
have a look at
http://uk.php.net/image
&
http://uk.php.net/manual/en/function.imagettftext.php
and join the php list
On 21/05/07, Flash <[EMAIL PROTECTED]> wrote:
>
>
> Hello, I am trying to make an image that will update automatically
> based on information on a website I do not run. I am a tot
i'm not sure what kind of funcionality you need, but i did for
testing purposes a twitter-clone in 4h30m , with actions, friends,
favorites, rss, but without the ajax methods (that would take 2 hours
more, or something like that).
if it's your first time with cake or a MVC framework, things
And please hit ENTER every now and then. I promise your computer will not
burst into flames when you do.
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your
Hey Dustin,
What version are you using? I have some code for 1.2 custom validation
which I don't mind sharing with you, but would be rather pointless if
you are using 1.1 :)
I went through your exact process a few weeks ago, and have managed to
get it all working in 1.2.
Graham
On May 21, 7:49
Can some fix my ajax form with validation posts? My previous posts
today to the group are empty and I don't know why.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send em
On May 21, 2007, at 12:30 PM, thomasd7 wrote:
>
> What advice would someone who knows about website development give to
> two guys who are starting to build a website that is best described as
> a "social networking" site. Not wanting to replicate myspace for
> various reasons but the site we wa
Hello, I am trying to make an image that will update automatically
based on information on a website I do not run. I am a total noobie
at php but have alot of other coding experience. Anyway, I need
somebody to tell me how I can parse text from a website and then make
it into an image. Any help
I got it working!
in inflections i had to add
$uninflectedPlural = array('TestA');
And now it works!
I only tried test_a.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group,
Sorry, last attempt said my message was expired for some odd reason.
Good thing I had my post saved in the ole clipboard.
I'm trying to figure out the "proper" way to create and submit an ajax
form, validate the data, and return a success or error messages to the
original div.
Simply stated:
1
I'm trying to figure out the "proper" way to create and submit an ajax
form, validate the data, and return a success or error messages to the
original div.
Simply stated:
1) User submits ajax form
2) Submitted data is validated (against the model)
3) Error Messages/Success Message are generated a
What advice would someone who knows about website development give to
two guys who are starting to build a website that is best described as
a "social networking" site. Not wanting to replicate myspace for
various reasons but the site we want to build would have the
functionality needs very simila
On 21 mei, 04:12, Grant Cox <[EMAIL PROTECTED]> wrote:
> The simple solution is just to have
>
> var $uses = array('TestA');
>
> in the top of your controller.
Thanks for the reply, but that doesn't make a difference.
It's a problem with the inflection plural -> singular.
I found a (dirty) hack
Hi Siegfried,
Thanks for helping. I guess I was so fixated with textarea (well I
assumed in was in there for a reason) that I missed looking for
type=textarea. Here is the working syntax anyone else who bumps into
my mistake:
$form->input('body',
array('type'=>'textarea', 'rows'=
Well it seems to be a PHP limitation.
I can't do:
if (!empty($this->othAuth->group('level')))
But I can do
$var = $this->othAuth->group('level');
if (!empty($var))
Tane
On 5/21/07, Tane Piper <[EMAIL PROTECTED]> wrote:
> On 5/21/07, CraZyLeGs <[EMAIL PROTECTED]> wrote:
> > I don't know about
Yeap that will work too, but is there no way to read the session value
or the value that is set by the controller that redirects the view ?
if the view itself doesnt have any controller(like home/index which is
controlled by pages_controller). if i needed a more page specific code
then i cannot pl
I have the same problem in 1.2.0.5146alpha. I even tried setting DEBUG
to 0. Same deal - message gets logged in error.log.
On May 21, 6:05 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Do you have a directory 'tmp/logs' in your application directory?
> If not create it.
>
> I did have the
SPAM
On 5/21/07, jack nicole <[EMAIL PROTECTED]> wrote:
>
>
> Free Daily Horoscope
> Download Free Daily Horoscope Toolbar! -
> http://offr.biz/HLFDH276377ZTPYJEK
--
Rodrigo Castilho Galvão Ferreira
www.rodrigocastilho.com
www.rodrigocastilho.com.br
www.rodcast.com.br
www.rod.cast.nom
> How are you escaping it now?
I am not, cake is doing it automatically.
I have an array of input params that I use to build an array:
$temp[] = "FIND_IN_SET('".(int)$v."',Respcount.responsibilities)";
$v is the value that comes from the form. Then I join everything that
is in temp with implode
Hi group,
an app I developed (successfully) is about to go in production on a
server that doesn't support cookies (dont ask...;)
Some sections require authentication (modified dAuth), everything
works fine in development. The server appends the CAKEPHP SID nicely
to all links and even adds hidden
On May 21, 2007, at 9:34 AM, [EMAIL PROTECTED] wrote:
>
> I am trying to use the Mysql function FIND_IN_SET (it takes 2
> parameters, a sting and a comma seperated list) to do a lookup on some
> data using findAll and I am running into an issue of a comma being
> striped out I assume by sql esca
I am trying to use the Mysql function FIND_IN_SET (it takes 2
parameters, a sting and a comma seperated list) to do a lookup on some
data using findAll and I am running into an issue of a comma being
striped out I assume by sql escaping. Is there someway to avoid the
escaping?
--~--~-~--
Well, listing all the fields is probably a bad idea; a lot of them
will contain keys, slugs, hashes or other 'opaque' data that the user
would have no clue to search against. You'd probably want to display a
subset of fields.
Grabbing the fields is a doddle though:
(model function)
function ma
There have been benchmarks that show that Symfony is much slower than
CakePHP.
If you want your application to go to hell just because you left an extra
TAB on one of the hundred configuration files you need to set up, then
Symfony is your choice.
If you want old-school, vanilla-like, almost ass
hi i am evaluating cakephp for an upcoming project, is it possible to
have a number of classes for users and then providing a page with
different textbox sections which would be read only/editable according
to the ACL class of the user? I would also like to use ajax to see
immediate updating of te
On May 21, 2007, at 2:19 AM, Dr. Tarique Sani wrote:
>
> On 5/21/07, Javier Eguiluz <[EMAIL PROTECTED]> wrote:
>> framework (http://www.symfony-project.com/). Yahoo Bookmarks (20
>> million users, 12 languages) is built with Symfony (source:
>> http://devzone.zend.com/node/view/id/1118).
>
> And
Kudos to the Devs for another great release!
On May 21, 3:09 pm, "Tane Piper" <[EMAIL PROTECTED]>
wrote:
> Very nice release on 1.2. I had a little surprise when trying to bake
> a new application, but I prefer the new console.
>
> Also, can't wait to test out the new cache stuff. Is there comp
On 5/21/07, CraZyLeGs <[EMAIL PROTECTED]> wrote:
> I don't know about your error does it happen for $this->othAuth-
> >group('name') for example ?
>
Yea, it does - same error.
Tane
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
Hi,
I am trying to built up a search section on each page of application,
where user has text box along with all the fields of the specific
model in select box. User can enter the search term and select in
which field he wants to search.
I was wondering if such component already available ? if n
If you are truly concerned with a few milliseconds of load time, and
you will be if you get a couple million users, then cakePHP may not be
the best choice. However even if your site does grow to myspace
proportions, it's probably not going to happen overnight. If you are
successful, and your user
I want to share my experience and I have a two questions.
But first my experience:
It took me a couple of days to find a bug I myself introduced in my
code.
I tried to make the 'log'-function work but what ever I did it raised
the following error:
Query: append
Warning: SQL Error: 1064: You have
Hi,
1.How to integrate editor in cakephp and how to include flash
files in cakephp?
2.How to create admin login page in cakephp?.
Thanking you,
Valliharipriya.N
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Do you have a directory 'tmp/logs' in your application directory?
If not create it.
I did have the same problem.
Grtz,
Jos
On May 21, 5:02 am, ivancasta <[EMAIL PROTECTED]> wrote:
> hi, i dont know why LOG_DEBUG doesnt works,
> log function always get all log like error and write in error.log
>
Hello,
I don't know how I can achieve this..
I want to find all Persons, but order them by the 'Due_Date' of the
'Group' they are assigned to (hasAndBelongsToMany).
$this->Person->bindModel(array('hasAndBelongsToMany' => array('Group'
=> array(
'className' => 'Group',
'joinTable' => 'group_pers
you can give one level eg. admin access to controller/action/param
and another level eg. member access to controller/action/param
in your action, render the appropriate view without caring about the
auth logic
function action($param) {
if(!in_array($param,array('foo','bar'))) {
$this->rende
Speaking of best-of-breed components: I recently saw a propel
presentation, which is the ORM component of symphony. There were a few
nice things, but the xml generation was a no-go. But I realized
something I had with Python before. Python says there is one way to do
it, but before Django there we
Instead if I used the $html->submit it works fine.
On 21 Mag, 11:58, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I have to use FCKEditor to edit posts in my application.
> I use a form with a textarea where I load FCKEditor. The form is
> submitted with $ajax->submit.
> My problem is that t
I have to use FCKEditor to edit posts in my application.
I use a form with a textarea where I load FCKEditor. The form is
submitted with $ajax->submit.
My problem is that the modifies that I do with FCKEditor is not passed
to the controller.
How and where must I use the "htmlspecialchars" to get
Try this article in the bakery:
http://bakery.cakephp.org/articles/view/taking-advantage-of-the-pages-controller
On 21 May, 01:49, Grant Cox <[EMAIL PROTECTED]> wrote:
> The PagesController is intended for purely static pages, not for
> functionality. You should make a UsersController (or what
The 6th parameter of HtmlHelper::selectTag() is $showEmpty - set to
true by default. Set it to false and you won't get a blank entry.
If your options are going to be like that in the finished product then
you might want to do it like this:
selectTag('User/where', array_combine($options, $options
This is the way, we use it for a textarea field:
echo $form->input('body', array('label'=>'Description',
'type'=>'textarea', 'rows'=>'15'));
Take a look at the input implementation again, there you find all the
bells and whistles.
Siegfried
2007/5/21, DragonI <[EMAIL PROTECTED]>:
>
> Hi,
>
>
On 5/21/07, Javier Eguiluz <[EMAIL PROTECTED]> wrote:
> framework (http://www.symfony-project.com/). Yahoo Bookmarks (20
> million users, 12 languages) is built with Symfony (source:
> http://devzone.zend.com/node/view/id/1118).
And there is a rumor that Bookmarks will be rebuilt without *any* fr
> Let me know what you guys think!
Looks pretty nice, I like that you're accepting a limited scope.
A few issues:
1. Was just playing around a bit, if you submit a blank note you get
an error -- there isn't handling of the save-failed case. Maybe
redirect back unconditionally and flash a fail/su
Hi surendra,
For real world proven performance you can consider Symfony PHP
framework (http://www.symfony-project.com/). Yahoo Bookmarks (20
million users, 12 languages) is built with Symfony (source:
http://devzone.zend.com/node/view/id/1118).
On May 21, 7:03 am, surendra <[EMAIL PROTECTED]> w
Hi,
I've had a look at this over the weekend, not had any luck with it?
Would anyone be able to propose a possible solution?
On 5/18/07, Tane Piper <[EMAIL PROTECTED]> wrote:
> I'm adding user levels to my content, as some I only want to show some
> content to certain users. I'm using othAuth,
Very nice release on 1.2. I had a little surprise when trying to bake
a new application, but I prefer the new console.
Also, can't wait to test out the new cache stuff. Is there comparison
of each one's features, speed, etc anywhere?
Keep up the good work guys and girls!
Tane
- Original mess
63 matches
Mail list logo