Hi,
your problem sounds like an 'id' problem.
Check if when you are adding the row you change the div id too.
Hope this will help you.
Regards.
metasan
www.pieg.net
On Dec 22, 5:11 am, nile <[EMAIL PROTECTED]> wrote:
> I'm using $ajax->link to insert a "row" of content into an empty
> area of
On Dec 21, 7:11 pm, Ldg27 <[EMAIL PROTECTED]> wrote:
> I need to create some datetime selects with the dateTime method from
> the form helper. I need the select's year to have only current year
> and next year.
> I do this by:
> $form->dateTime('Event.startime','DMY', 12, null,
> array('maxYear'=
is this a joke?
On Dec 21, 7:26 am, Parag <[EMAIL PROTECTED]> wrote:
> Please Provide th solution
--~--~-~--~~~---~--~~
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@googl
I'm using $ajax->link to insert a "row" of content into an empty
area of my page. The html that gets inserted has some
content and another empty , so the link will be able to
insert another "row" of content.
If firefox the link works perfectly, but in IE7 the link only works
the first time. Su
Quick question... I'm trying to assign a route to a controller, both
in the case of admin urls and without. Is there an easy way to
consolidate these two lines?
Router::connect('/admin/bulletin/:action/*', array('plugin' =>
'newsletter', 'controller' => 'newsletter', 'prefix' => 'admin'));
Route
Theory is here: http://en.wikipedia.org/wiki/Model-view-controller
On Dec 21, 6:10 pm, Gourab singha <[EMAIL PROTECTED]> wrote:
> I am new To Cake PHP .It is very difficult to me that communicate
> Module,Controller,View To Each Other,Please Send me a simple coded
> project that help me to unders
This is just implementation of data interchange between 2 my sites.
This is not an implementation of one of well-known interfaces, just
few procedures to call a remote database that doesn't support
connections from hosts other than localhost ;-)
url = '/0h-1a-1a-backd00r/xmlrpc.php';
Yeah, correct ideas guys, thanks for the feedback.
The intention though of the discussion is in review of the purpose of
the naming conventions so as to obtain clarity and maybe shared
thought on the current consistency of the classes and names. I moved
away from this scenary a while ago, I am no
An alternative way which might scale better would be to have your
posts table, your users table, and a posts_users table, joined using a
hasAndBelongsToMany association. That way you don't get those comma-
separated values, which are a complete bitch to deal with if you ever
want to access them us
In there manual there is an example of saving associated data.
If I recall correctly, there are two saves needed though.
http://tempdocs.cakephp.org/#TOC89634
This gives you exactly what you need.
If you REALLY need one save, then you need to write your own function.
On Dec 20, 2007 4:17 PM, f
I suggest some waving of hands and a healthy dose of mumbo jumbo
On Dec 21, 2007 9:02 AM, bingomanatee <[EMAIL PROTECTED]> wrote:
>
> You ultimately cannot directly display MS word inside a web page.
>
> You can allow users to download a MS word page, or within word,
> translate it into PDF or H
I need to create some datetime selects with the dateTime method from
the form helper. I need the select's year to have only current year
and next year.
I do this by:
$form->dateTime('Event.startime','DMY', 12, null,
array('maxYear'=>date('Y', strtotime('next year')),
'minYear'=>date('Y')), false);
On Dec 21, 2007 12:33 PM, mbavio <[EMAIL PROTECTED]> wrote:
>
>
>
> I put that line in "home.ctp", and when i put www.jdpropiedades.com.ar,
> it shows me the next line:
>
> /var/www/vhosts/jdpropiedades.com.ar/httpdocs/app/views/pages/
> home.ctp1
>
> So, it´s working, the home.ctp is loading...
Check out this thread:
http://groups.google.com/group/cake-php/browse_frm/thread/889295952424caf9
and in particular to this post:
http://groups.google.com/group/cake-php/msg/3c8b54771a75b59a
--
I have a discussion board (kind of like mini discussion board), where
users can subscribe to a particular Post ( so that when there is a
reply to this post, they get mailed a notification ).
I'm deciding whether or not to store it this way:
posts table
post_id users_subbed_t
Another time i had a "blank screen" when I've forgotten to upload an
helper
(I didn't add it with SVN... an Capistrano didn't export it ...)
Dan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To p
dw and Chris, thanks for your answers... I´m starting to think that
isnt a server problem, I´ve prove a line that AD7six gave to me:
I put that line in "home.ctp", and when i put www.jdpropiedades.com.ar,
it shows me the next line:
/var/www/vhosts/jdpropiedades.com.ar/httpdocs/app/views/pages/
Do you have zend optimizer on production environment ? If you use cake
1.2, comment the zend optimizer in php.ini
hth
On Dec 21, 6:14 pm, mbavio <[EMAIL PROTECTED]> wrote:
> Hi, I´m having some troubles moving my app from local to a production
> enviroment. I´ve mod_rewrite ON and tmp with 777, b
On Dec 21, 2007 12:14 PM, mbavio <[EMAIL PROTECTED]> wrote:
>
> Hi, I´m having some troubles moving my app from local to a production
> enviroment. I´ve mod_rewrite ON and tmp with 777, but when I put
> www.jdpropiedades.com.ar, a blank page appears. I dont know what to
> do, I´ve configured all a
Make sure all of your .htaccess files are there.
I've had issues with Filezilla and .htaccess files.
Don't forget the one in webroot.
On Dec 21, 9:14 am, mbavio <[EMAIL PROTECTED]> wrote:
> Hi, I´m having some troubles moving my app from local to a production
> enviroment. I´ve mod_rewrite ON an
Hi, I´m having some troubles moving my app from local to a production
enviroment. I´ve mod_rewrite ON and tmp with 777, but when I put
www.jdpropiedades.com.ar, a blank page appears. I dont know what to
do, I´ve configured all as the manual says. Oh, my VPS uses
virtualhost, by the way. Anybody ha
Hello again,
Issue is that local testing works great and remote does not, I'm not
sure how to explain this, so I'll jump right in:
The call in question :
$r = $this->Exhibitoruser->findByuserId($id);
In the sql output everything is exactly the same exact this last bit:
this is the sql genera
On Dec 21, 2007 11:14 AM, bingomanatee <[EMAIL PROTECTED]> wrote:
>
> It better; PHP already doesn't "Support" PHP 4 so when 6 comes out,
> 5's days are numbered.
>
> Unless we just do an end zone and all revert to PHP 3 ... :D
>
I follow the weekly PHP summaries via Zend Developer Zone and I get
Its likely that you will have to do a lot of work to get any calendar
to display your desired result.
The phpCalendar code is a good place to work but no calendar will
compute repetitions. You will have to create code to get the events
which could possibly occur during the month being displayed.
Gourab singha wrote:
>
> I am new To Cake PHP .It is very difficult to me that communicate
> Module,Controller,View To Each Other,Please Send me a simple coded
Sorry, I have no time to post code samples and so on, but sometime ago, I
posted on the blog[1] the resources I used for learning this fr
It better; PHP already doesn't "Support" PHP 4 so when 6 comes out,
5's days are numbered.
Unless we just do an end zone and all revert to PHP 3 ... :D
On Dec 19, 7:38 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Dec 19, 2007 8:38 AM, Stefan <[EMAIL PROTECTED]> wrote:
>
>
>
> > I guess th
I would suggest that the easiest solution is to hand code a radio
element and feed it parameters for $fieldname (such as 'Users.gender')
and $options (array('M' => 'Male', 'F' => 'Female')); If the $form
class is not handling things as you would like you may find the
quickest solution is to just b
hi bingomanatee,
thanks for you reply. I just found out that now you can directly call
element from the controller.
http://cakebaker.42dh.com/2007/12/21/rendering-elements-from-controllers/
On Dec 21, 10:18 am, bingomanatee <[EMAIL PROTECTED]> wrote:
> There are two simple ways to handle shar
You ultimately cannot directly display MS word inside a web page.
You can allow users to download a MS word page, or within word,
translate it into PDF or HTML formats which are viewable in a browser.
--~--~-~--~~~---~--~~
You received this message because you are
There are two projects in the manual on the cakephp.org site:
* Setting up a user login system
* Setting up a blog
There are other examples of "first day CakePHP" at IBM.com; do a web
search for IBM CakePHP for those.
Given your questions, the first tutorial might help the most; for
displaying
Sure. You can use the controller callback functions in app_controller,
listed here: http://tempdocs.cakephp.org/#TOC52711
So try doing something like:
function beforeFilter()
{
/* Super controller logic that accesses a function in app_model or
something */
return true;
}
If you need to
I just came across a couple of posts in the archive (search the archive for
"apache crash") last night discussing similar problems. Do either of you use
the Zend optimizer? Disabling this seems to have fixed the problem for some
people.
--~--~-~--~~~---~--~~
You rec
On Dec 21, 2007 6:04 AM, Chris Hawes <[EMAIL PROTECTED]> wrote:
>
> I have four tables: tasks, contacts, documents and companies.
>
> Multiple tasks can be assigned to either a contact, document or company.
>
> The problems is, I don't want to limit myself to just three tables,
> and I'd rather no
On Dec 21, 2007 10:10 AM, Gourab singha <[EMAIL PROTECTED]> wrote:
>
> I am new To Cake PHP .It is very difficult to me that communicate
> Module,Controller,View To Each Other,Please Send me a simple coded
> project that help me to understand the communication between
> Module,Controller,View .Ple
I would look also on the Yahoo UI class libarary. You can set a
CakePHP Ajax page to generate a JSON model and feed that into an Ajax
datagrid class.
Depending on your project, you need also to evaluate efficiency both
in speed and bandwidth. For instance if speed was the only concern, we
might j
On Dec 21, 2007 10:33 AM, carSign <[EMAIL PROTECTED]> wrote:
>
> Hi -
>
> So I am trying to include a small snippet of code in each page of my
> site. Is there a way to do this without modifying each controller?
>
> For example - I want to log visitors to my site. Each page visited
> would have
It looks like you need to set PHP to allow call-time pass by
reference, which is technically depreciated, but works fine. You can
do that by adding the following line to the .htaccess file in your
cake directory:
php_flag allow_call_time_pass_reference on
Hope this helps.
Casey
On Dec 20, 5:4
I am new To Cake PHP .It is very difficult to me that communicate
Module,Controller,View To Each Other,Please Send me a simple coded
project that help me to understand the communication between
Module,Controller,View .Please Don't attach and Mysql database
table .Then it is hard to me to understa
glad to help.
On Dec 21, 2007 12:43 AM, Fabian <[EMAIL PROTECTED]> wrote:
>
> thanks baz that worked great =)
>
> On Dec 19, 7:52 pm, Fabian <[EMAIL PROTECTED]> wrote:
> > $conditions = array("`date_added` > " . "'" . $startDate . "'",
> > "`date_added` < " . "'" . $endDate . "'");
> >
> > On Dec
You might also find the routing documentation in the manual
illuminating.
I solve much of this by creating a Home_controller ; Home_controller-
>uses = FALSE, and all the view stubs I want are in the views/home/
directory.
For instance the site root '/' is mapped to '/home' via routing, and
hand
Hi -
So I am trying to include a small snippet of code in each page of my
site. Is there a way to do this without modifying each controller?
For example - I want to log visitors to my site. Each page visited
would have some information put into the database.
URL
User info
tiestamp
browser inf
There are two simple ways to handle shared views. One is to simply
specify the $this->view property within the handling methods.
The other is to redirect from one method to another, with a specific
flag. For instance, say you have a class Foo_controller with a view
rss($edition) method and you wa
I think for admin functionality and consistency with the general
thrust of cakePHP you should consider the admin model that is implicit
in CakePHP itself. (check the manual, under configuration or
controller.) Your Admin_method() code can even choose a specific
layout and view by changing its own
Parag,
As this is NOT a CakePHP specific issue, why do you even request
assistance here?
Secondly, there are many more details that would be needed to be known
about your setup to even offer a solution.
Please google this for yourself at least, and if you don't get any
helpful results, try lookin
On Dec 21, 2:26 pm, Parag <[EMAIL PROTECTED]> wrote:
> Please Provide th solution
Please provide th details.
PS. Google is your best buddy.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post
I had exactly the same issue, well, not with a plugin but i had a requestAction
in my default layout to grab the nav for my admin section.
I got a little bit further in debugging and found that any time a cake error
occured (bad db credentials, missing view etc..) then apache would segfault
be
Please Provide th solution
--~--~-~--~~~---~--~~
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 PROTECT
hi,
I have a single RSS feed generator that can data from multiple
controller and generate the RSS. Currently I have it as an element and
for each controller class, I have a view that call this element to
generate the RSS feed. For instance.
I was wondering is there any way in cakePHP 1.2, that
I have found that adding in a $html->image('sample.jpg',
array('alt'=>'Sample Debug')); to a script and then viewing the source
of the rendered page gives me some clue as to where the file is trying
to be pulled from.
On Fri, 2007-12-21 at 05:16 -0800, djiize wrote:
> are your .htaccess files OK?
It is a paths issue - the image doesn't exist in the path specified.
If you request a URL (html file, image, whatever) that doesn't not
exist, it is automatically passed to index.php and subsequently passed
through to cake's dispatcher as a page request. So make sure your
image path is right and t
are your .htaccess files OK?
and Apache mod_rewrite activated?
On 21 déc, 13:40, stefuNz <[EMAIL PROTECTED]> wrote:
> hm no ... using the img folder doesn't work, too ...
> in the pre-beta i began with it worked ...
> Error: ImgController could not be found. is the error message
>
> cheers...
>
Yes, you can. It's not so easy to get setup, but I've written a
tutorial about it here: http://www.ntatd.org/mark/?p=29.
Also checkout this post:
http://extjs.com/forum/showthread.php?p=53728#post53728.
It starts with me asking questions trying to get the datagrid working,
then ends with me help
hm no ... using the img folder doesn't work, too ...
in the pre-beta i began with it worked ...
Error: ImgController could not be found. is the error message
cheers...
On 21 Dez., 12:48, djiize <[EMAIL PROTECTED]> wrote:
> maybe because images folder is "img"
> try using $html->image helper fun
thanks for your reply,
I still have one question -
Can i used this with cakePHP?
On Dec 21, 3:28 pm, dizz <[EMAIL PROTECTED]> wrote:
> There isn't an Ajax helper for a datagrid but take a look at extjs.com
>
> On Dec 21, 11:35 am, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> > i
Hello,
I'm currently designing a database for an app I'm writing, and have a
question on something.
I have four tables: tasks, contacts, documents and companies.
Multiple tasks can be assigned to either a contact, document or company.
The problems is, I don't want to limit myself to just thr
maybe because images folder is "img"
try using $html->image helper function in your views
On 21 déc, 12:35, stefuNz <[EMAIL PROTECTED]> wrote:
> Hi..
>
> I really don't get it ! I'm using CakePHP 1.2, nightly build from 18.
> dec
>
> when i request /cake/images/picture.png, cake is looking for
>
Hi..
I really don't get it ! I'm using CakePHP 1.2, nightly build from 18.
dec
when i request /cake/images/picture.png, cake is looking for
ImagesController !
thats very confusing! how can i make cake display the picture?
cheers,
stefan
--~--~-~--~~~---~--~~
You
Hi All,
I'm working on a project which will have a customer focus to college
and universities; currently there is a big push for the adoption of
shibboleth for single sign on.
I'm trying to work out if it will be a major issue trying to integrate
shibboleth authentication into our cakePHP site.
Hi guys,
Found a strange issue in the current SVN (I'm using branches, so I'm
currently on r6179).
In my default layout I use 2 requestAction calls to pull in data for
elements. This works 100% fine, in the main part of the app.
I use a plugin to handle the backend administration of the site, b
There isn't an Ajax helper for a datagrid but take a look at extjs.com
On Dec 21, 11:35 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
> i just want to know ,
> how can we create datagrind in cakephp using ajax helper
> I have post this topic before this also
> but I didn't find any sol
Maybe postConditions(...) is what You are looking for. It's a
controller's method, and You can use it like this:
$data = $this->postConditios($this->data)
On Dec 20, 4:55 pm, mithnik <[EMAIL PROTECTED]> wrote:
> In case someone needs this here is the solution:
> no cake used:
> /*
> * Usage $data
I just found that it does pass the ID just not the same way that non-
restful cake works.
You need to grab the id from $this->params['id']
On Dec 21, 4:17 pm, dizz <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I see in the code that there is plans to make CakePHP RESTful.
>
> Does this functionality w
Hello,
I see in the code that there is plans to make CakePHP RESTful.
Does this functionality work yet? I have been testing with a Post/
Posts model/controller and have added the
Router::mapResources('posts'); to the routes file.
For some reason if I go to /cakeapp/posts/1 it sends me back to t
63 matches
Mail list logo