I solved the solution by upgrading to the newest version and clearing
the tmp folder in app (well replacing it with the default in the new
version of cake)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP
Hi,
I'm brand new to php and the MVC style of development. I've read some
of the cakephp documentation and it makes sense in theory, so I'm keen
to push on. However, the first task I've set myself is to build a
simple website and CMS for displaying and administering news
articles. I have
Hello,
SaveAll works great with the examples provided in the docs and through
the majority of blogs.
My Problem is that I want to Save three nested Models at once.
Currently I do this with the help of transactions and some awkward
validation.
For example I have these Models:
Test has many
For this issue there are 3 models in use
Staff
Person
Organisation
Related as follows
Staff belongsTo Person
Person belongsTo Organisation
I need to list Staff that match a condition in the Organisation model
and am trying to do so with the following
$this-paginate('Staff',
Okay, I found this example here:
http://www.jamesfairhurst.co.uk/posts/view/creating_an_admin_section_with_cakephp/
which talks me through how to create an admin area. It's actually
pretty simple, starting by just uncommenting the admin routing line
in /app/config/core.php.
However, when I'm
@gearvOsh - Thanks for pointing this out. I finally came to reading it
all, and I now personally find that this issue is to be seen as a
weakness of the CakePHP framework. I sadly do not possess the
knowledge at the moment to think up a good performance friendly simple
solution to solve the
Have a look at prefix routing:
http://book.cakephp.org/view/544/Prefix-Routing
What you'll end up with is, for example:
config/core.php
// enable admin routing
Configure::write('Routing.admin','admin');
controllers/news_controller.php
NewsController {
function index() {
// this is
Can anybody tell me where to place my new layout page in cakephp so
that i call in my login function to use that layout
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email
app/views/layouts
mona wrote:
Can anybody tell me where to place my new layout page in cakephp so
that i call in my login function to use that layout
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hello everybody, i am totally new to Cake and am finding it quite
difficult to understand all the different parts of it. At the moment
i'm trying to make a three part user registration process, firstly
with the username and password fields, then onto details about the
user, then on to duties they
This is my code can anybody tell me how to fetch data in a drop down
box in add action i want to display data in dropdown box and when i
click on add button is save values in a database
code is follows my controller is
?php
class EntriesController extends AppController {
var $name =
This is my code of add vies i want to upload file from this code and
send file name and type in database when i click on add button if i
click on add button it is displaying error array to string conversion
and file data doesn't save data in database can anybody tell me how to
do this
h2New
thanks for replying can u tell me how to use bake.php in cakephp 1.2
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from
You need to read up on the manual.
On Dec 27, 7:14 am, mona poojapinj...@gmail.com wrote:
It can't solve my problem i m sending you my code can you tell me
where i m making mistake plz correct it if it is possible
this i my entries controller and i want data in drop down box in add
and
Google
upload files with CakePHP
On Dec 27, 8:59 am, mona poojapinj...@gmail.com wrote:
Hello mike
sorry for distutbing you once again. I am sending you my file
uploading problem please i need your help if you help me it will be
great help for me
this is my add view code please consider it
Please do not post employment related posts. This group is for
support and information sharing, not to get you a job.
There are numerous sites dedicated to Web Dev jobs and such.
On Dec 27, 3:09 pm, 3lancer.eu kilc...@gmail.com wrote:
Hi,
I am seeking (remote) employment in CakePHP,
Has anyone had a chance to reproduce the tests to confirm the new
speed for CakePHP 1.2 final? This would be something good to combat
Rasmus's old test results on RC2. I am getting tired of seeing that
mentioned in blog postings still, but am not proficient enough to
generate new test results.
I tried alot but it is not working any other options
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send
I tired this thing but it was not workin i already send you my code
plz check it and correct it if it is possible for you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send
$this-User-getInsertID();
I don't know about the Auth component as i haven't used it alot. But
that would get the last inserted ID. I would just set that variable
and include it in the view for the future steps.
Otherwise it looks like 'user_id' isn't set yet for user
On Dec 28, 11:11 am,
http://bin.cakephp.org/saved/23715
On Dec 28, 6:40 pm, mona poojapinj...@gmail.com wrote:
I tried alot but it is not working any other options
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post
Just one question, because the thread opener has a point (XHTML and
HTML4 both have their benefits as HTML5 will probably have but XHTML2
seems not going to have):
Is there a CakePHP global way to define output type (XHTML 1.0, 1.1
HTML 4, all 3 strict, transitional, frameset) - if not, it is
Hi,
Following on from an earlier post, I'm receiving an error when trying
to log in to a basic password protected admin system. The error is
as follows:
Notice (8): Undefined index: User [APP\controllers
\users_controller.php, line 10]
Code
if(!empty($this-data)) {
So I have this problem. I have a controller called BuildsController, I
have multiple edit pages within this controller as I have to edit
multiple data through it, but the data comes from multiple models, not
just the Build model.
Anyways, so I have an edit() function, but also an
I have not found any option or setting for using HTML or XHTML.
All I have seen is that you can set the Doctype, but even if you set
the Doctype as HTML, all the tags are in XHTML.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
You need to be using the User model.
Make sure this is in your controller: $uses = array('User');
Perhaps look at these two links also:
http://book.cakephp.org/view/171/Access-Control-Lists
http://book.cakephp.org/view/172/Authentication
--~--~-~--~~~---~--~~
You
Hi
I am using the Auth component and I did not notice this behaviour yet.
Maybe it came with an Microsoft Update (?).
The problem is in IE7 (and IE6, but there are other problems, there).
In Chrome and FireFox everything works.
Description of the problem:
I am trying to login, sometimes it
I have even noticed something odder: if I am logged in and start
refreshing the same page over and over, after the second time I can be
sure to be logged out, getting the $this-Auth-authError message
shown.
I also noticed, i am not able to navigate, one click is ok, the next
one, I am logged
Is it possible that you can just overwrite the tag list with your HTML
equivalents?
http://bakery.cakephp.org/articles/view/overriding-specific-html-tags-before-using-helper-methods
Cheers,
Adam
On Dec 29, 8:24 am, gearvOsh mileswjohn...@gmail.com wrote:
I have not found any option or setting
I guess I should probably note that the line I gave that I am using is
in my beforeFilter function in my Builds Controller. I also tried it
in the App Controller, but that didn't make a difference either.
On Dec 28, 2:55 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote:
So I have this problem.
Oh, I change filenames, but it shows the same error.
On Dec 27, 8:50 am, gearvOsh mileswjohn...@gmail.com wrote:
Your filename should be xxx_controller.php (no capital). If you were
just typing it that way.
Also why are you changing the controller before submit? This makes no
sense.
So I also looked over the api and everything that I am doing looks
right to me as far as what the api is expecting to receive. However
still when I click the link to take me to that action when I am logged
in it just refreshes the current page and does nothing.
Any help would be appreciated.
On
There really are very few downfalls to running raw SQL other than that
you have to write it by hand and people tend to do it in a poor
fashion. There are lots of cases where raw SQL is by far the best way
to go about pulling data but there are a few things to remember. There
area few pitfalls
Hai,
Thanks for your help however i find error as
unexpected T_DOUBLE_ARROW
when i paste code
$count =
$this-Project-Message-findCount(array('Message.project_id')=$MyProjectId);
Thanks
Piyush
--
View this message in context:
Can anyone help me with this? I've tried looking at custom pagination
but that doesn't cover custom sql, just custom conditions.
Been stuck on this since before xmas, would be nice to be able to move
on from it.
On Dec 28, 1:05 pm, WebbedIT p...@webbedit.co.uk wrote:
For this issue there are
35 matches
Mail list logo