Awesome! Really nice advice! Thanks a lot. :D
On Thu, Aug 11, 2011 at 3:57 PM, Sebastian Henschel
s.hensc...@stattwerk.com wrote:
hey hiepsykhongdau...
Am Mittwoch, den 10.08.2011, 04:29 -0700 schrieb hiepsykhongdau:
I just installed a CakePHP app on server of Plesk 9.0.1 for Microsoft
Hello,
I'm starting a new project and have installed cake2.0 today. All good
so far, got the debug kit working etc.
I have run into a problem when trying to run bake, i'm getting lots of
repeated notices along the lines of
Undefined index: tag in /Users/me/sites/mywebapp/lib/Cake/Console/
then complain with workbench that you are not able to define how fk
fieldnames are named
--
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.
Hi,
I have admin and user that will redirect to different dashboard after
login.
For example, admin will redirect to dashboard A and allow to access
dashboard B.
while user will redirect to dashboard B and not allow to access
dashboard A.
I already using ACL, but i have problem in redirect after
saveAll() will only save directly associated data, so Post-saveAll() wont
save Image data, as that model is directtly associated with Post
This is described in the book and api
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP
REMOVE ME
On Wed, Aug 10, 2011 at 12:31 AM, LJgato gdri...@opesinvestment.com wrote:
I have the following models:
Profile
Image
Post belongsTo Profile
Profile hasOne Image
When creating a post, a profile and its image can be created
dynamically at the same time. When this occurs, I
i use the same action
only switch the rendered view
dashboard{
$this-_dashbboardXXX depending on the role of the current user
}
_dashboardAdmin(
$this-render('dashboard_admin')
_dashboardUser(
$this-render('dashboard_user')
}
makes a lot of thins easier
On 12 Aug., 10:58, nOLL
Hi,
http://www.ibm.com/developerworks/opensource/library/os-php-fwk5/?ca=.
I used the above link to learn, how to do cron. But I don't understand the
below line
/column/protected/cakephp/cake/console/cake prune -app
/column/protected/cakephp/app/
How to change this to create cron in my shared
Sorry, i still cant get it. I give an example. if admin, i would like to
link to the admin dashboard(homes/index) while users i link to the users
dashboard(posts/index). Then, in app_controller i used
$this-Auth-loginRedirect = array('controller'='homes',
'action'='index');
is it i need
I was able to solve the first question myself:
In my controller actions I allways check if(this-data) before saving
or editing a record.
If variables are passed via get (harmfull link for example), $this-
data is empty and nothing harmfull can happen.
In other words, without using post method its
That's not what models are for. Models are meant to represent an
entity of data from a datasource (database or rest), not to convene
helper methods. Cake creates even more confusion because their model
system isn't a true model system, it's simply a DAO (database access
object).
On Aug 11, 3:42
cake prune option1 option2 ...
should do the trick
On 12 Aug., 12:19, Prabha vathi prabha.ridd...@gmail.com wrote:
Hi,
http://www.ibm.com/developerworks/opensource/library/os-php-fwk5/?ca=.
I used the above link to learn, how to do cron. But I don't understand the
below line
Start transaction, select, save, close transaction. Something like
this:
$DS = $this-getDataSource();
$DS-begin();
$this-find(...);
if ($this-save(...)) {
$DS-commit();
}
else {
$DS-rollback();
}
On 11 авг, 00:10, Teddy Zeenny teddyzee...@gmail.com wrote:
Hi,
Is there a way in cakephp
Hi - I'm working with CakePHP 2.0 beta, and having some trouble with
the expected FormHelper functionality.
I have in my view something like this:
$i = 0;
foreach($terms as $term){
echo $this-Form-input('Term.'.$i.'.id');
$i++
}
From which I expect something like this to be generated:
input
hi Prabha...
Am Freitag, den 12.08.2011, 03:19 -0700 schrieb Prabha vathi:
http://www.ibm.com/developerworks/opensource/library/os-php-fwk5/?ca=.
I used the above link to learn, how to do cron. But I don't understand
the below line
/column/protected/cakephp/cake/console/cake prune
-app
Hi community,
I'm trying to create a public interface to allow for registration and
I'm experiencing an issue that i don't understand. I have ACL (with
bindNode for easy group permissions) setup but no permissions within
the aro_aco join table as of yet. Please correct me but with no
Hello
With the function moveUp and moveDown you can move a node up or down
the tree. But the node moves so it becomes the first (or last)child.
Is there a function so it wil move 1 place?
Example:
vegetable
- lettuce
Fruit
- peer
- apple
- Mango ***
I want to move the mango one
Hello,
I have a cakephp site I'm working on. I have it live on a production
server, it's still in development.
I switched my core.php from production to development to do some
testing of things on the live server and forgot to change it back. I
left it like this for about a week.
Apparently
that's an application's request made for the client. He would like to
add new information to a table or many tables because there could be
more information in the future that may came out.
On Aug 11, 5:30 pm, Ryan Schmidt google-2...@ryandesign.com wrote:
On Aug 10, 2011, at 11:45, aortizhi
debug 0 is an absolute nogo for productive sites.
but besides that:
yes, thats possible
there are several easy ways to bypass the baked actions and validation
the easiest thing is to post empty forms (using firebug its easy to
remove the inputs or replace them with nonsense).
@see
Hi euromark,
Thank you. Thank you for the article.
But I'm already using the Security component to prevent form tampering
and submitting an empty form or modifying the form fields should not
work correct? The security component now prevents all of that?
On Aug 12, 1:57 pm, euromark
I opted to go by Miles' suggestion and created a static class in
vendors. So far it is working great. Thanks a lot for all the help
guys.
Best,
Burningfuses
On Aug 12, 2:17 pm, Miles J mileswjohn...@gmail.com wrote:
That's not what models are for. Models are meant to represent an
entity of
On Aug 12, 2011, at 15:29, aortizhi wrote:
On Aug 11, 5:30 pm, Ryan Schmidt google-2...@ryandesign.com wrote:
On Aug 10, 2011, at 11:45, aortizhi wrote:
Hi eveyone, i'm new working with cakephp. I would like to know how can
i let my webapp's users add new fields to a table in my data base
On Aug 12, 2011, at 04:18, Kevin Woolley wrote:
REMOVE ME
Remove yourself. The footer of this email explains how.
--
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
call parent::beforeFilter()
also bindNode should be in your model
--
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
check the api for this, if you dont set 3rd parameter it will move 1
position by default
--
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.
with debug on, and there is an error with db connection, it will show db
login credentials (this is changed in latest versions), so they probably
accessed the db itself, is the user allowed for all hosts on the db or just
local?
--
Our newest site for the community: CakePHP Video Tutorials
The username and password is specific to just that database luckily.
I've changed the information. Thanks Ceeram.
On Aug 12, 3:51 pm, Ceeram c33...@gmail.com wrote:
with debug on, and there is an error with db connection, it will show db
login credentials (this is changed in latest versions),
already solved. Thanks..
On Fri, Aug 12, 2011 at 7:20 PM, Mohd Hasnol hasnolm...@gmail.com wrote:
Sorry, i still cant get it. I give an example. if admin, i would like to
link to the admin dashboard(homes/index) while users i link to the users
dashboard(posts/index). Then, in app_controller i
cron executed correctly. But the file is not executed.
path_to_cakephp i used my server's document root
--
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
It is my mistake. I added the server's php path also, now cron executed,
file executed.
now, I got ./console/cake: Permission denied Permission denied
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
31 matches
Mail list logo