Hi Foroct,
I've answered you in the other thread.
- David
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group
Hi Foroct,
1. Handling just the file upload:
You just posted the file to your action (via XHR) and $this->data['media']
now contains the file upload array. Image is a model available in the
controller which has generator and transfer behaviors attached to it.
$file = $this->Image->transfer($t
On Mar 8, 2011, at 16:03, lauraw wrote:
> What I'd really like to do is have my wordpress area still within the
> cake environment and so under the cake webroot area.I'd kind of like
> the two to live together. The reason for trying this is to make use of
> all of the WP and other plug-in function
Hi, Sam. Yes, cake is installed in a subdir called 'cake.' This is
probably strange, but I just tried this configuration (cake within
WP):
docroot/
wordpress/
cake/
that actually worked out okay in that going to http://mydomain brings
up the WP index and I'm also
is the cake app to be installed in a subdir called cake
you could put wp in a subdir of the cake app (or otherway round)
but may prove to be more trouble than its worth
in the past I ahcieved this with the following
I found strange things to occur
[code]
RewriteEngine on
RewriteRule^b
Grady,
This recent post talks about setting up multiple relationships
http://groups.google.com/group/cake-php/browse_thread/thread/b70eb9498e2bbd58?hl=en
Don
On Mar 8, 12:27 pm, grady wrote:
> I posted a question similar to the following on the unofficial CakePHP
> forums over a week ago and ha
Ryan, thank you for replying! I'm pulling my hair out :-)
What I'd really like to do is have my wordpress area still within the
cake environment and so under the cake webroot area.I'd kind of like
the two to live together. The reason for trying this is to make use of
all of the WP and other plug-i
Why are you reading the session? That assumes the user is already logged in.
function login() {
if(!empty($this->data)) {
if($this->Auth->login($this->data){
.. code here
}
}
}
Might want to turn autoRedirect off?
If you are using a beforeFilter in your users controller, be sure to
In an effort to make sure that only active users can log into the
application I've added the following in my app_controller
function beforeFilter() {
$this->Auth->userScope = array('User.active' => 1);
}
and the following in my login function under my users_controller
function login
I posted a question similar to the following on the unofficial CakePHP
forums over a week ago and haven't received any sort of response, and
then I noticed the google group so here is my second attempt...
I'm working on a site mainly to get my feet wet with CakePHP and I
realized that I am unsure
Hi,
I'm using URL Rewriting for showing my list of data in a particular
category (http://localhost/getfreelistsver2/lists/free_article_sites)
(All urls are just for example as the project is in my local server).
I'm using URL Rewriting for this as below:
Router::connect("/lists/free_article_sites
On Mar 8, 2011, at 13:49, lauraw wrote:
> How do I make my webroot index the home page in a cake environment?
>
> My DocumentRoot in Apache is set to 'myhost/cake/app/webroot'.
I understood you up to this point. This should result in a normal CakePHP
installation where your CakePHP project's h
How do I make my webroot index the home page in a cake environment?
My DocumentRoot in Apache is set to 'myhost/cake/app/webroot'. I have
a WordPress install under webroot that I want to be the home page.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Che
Check your filenames of your models! They should be as described in
the CakePHP book at:
http://book.cakephp.org/view/902/File-and-Classname-Conventions
Currently your application is not using your defined models, but the
AppModel instead.
When you have fixed your naming issue, it should work :)
I'm trying to do something similar (as described in this thread
http://groups.google.com/group/cake-php/browse_thread/thread/9fdfef27f01e5ef7).
I'm able to POST my image and save it to a folder but I don't know how
to invoke the media plugin to make multiple sizes of that file. How
were you able t
This was very helpful, thanks a lot. I'm very new to Cake and this explained
a good chunk I was confused about.
On Mon, Mar 7, 2011 at 5:41 PM, cricket wrote:
> On Mon, Mar 7, 2011 at 6:16 PM, jphenow wrote:
> > Okay so two questions very related:
> >
> > 1) Does following the naming conventio
$this->paginate['Member']['conditions'], here are conditions list to
search...
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/3/8 heohni
> Hi,
>
> $options['Member.agent_id'] = $this->Session->read('AgentId');
> $options['or'] = array(
>'mem_nummer LIKE' => '%'.$q.'%'
Hi,
$options['Member.agent_id'] = $this->Session->read('AgentId');
$options['or'] = array(
'mem_nummer LIKE' => '%'.$q.'%',
'mitg_vorname LIKE' => '%'.$q.'%',
'mitg_nachname LIKE' => '%'.$q.'%',
'mitg_strasse LIKE' =>
Actually it seems to be working with a view. No need for a synonym. As long as the user you're
connected with
has granted rights on the tables you're guerying of course:)
Sorry for not trying with a view earlier !
G.
Selon Zaky Katalan-Ezra:
Did you try to create a view for the synoname?
19 matches
Mail list logo