Hi. We are looking for an outstanding CakePHP lead developer for our
mathematics education business. The business is in Los Angeles, and the
developer can be here or anywhere. Can anyone recommend someone? Thanks,
Adam
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter
Is it best to upgrade from 1.3 to 2.0, then from 2.0 to 2.1, then 2.1 to
2.2, etc. Or, do I just upgrade directly to 2.4?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the
Thanks, Jeremy - that's just the answer I needed. The docs seemed to
indicate that this type of handling would be taken care of by the Acl
component of Cake, so thanks for clearing it up. I appreciate the help!
Best,
Adam
On Thursday, 18 October 2012 00:49:54 UTC-4, Jeremy Burns wrote
() - Couldn't find Aro node identified
by Array
(
[Aro0.model] = User
[Aro0.foreign_key] = 16
)
Even if I assign them to an existing group, the update occurs within the
Users table but the aros table never gets a new entry for that user.
Any thoughts?
Thanks!
Adam
--
Like Us on FaceBook
I'm not sure, I would expect it can be done however depending on the engine
you are using, maybe ask directly on the github site.
Did you manage to work out how to connect the pdf's into an email by any
chance? I am struggling to work this out, I can only get the PDF to
download at the moment.
The readme file on github as been updated and contains the information
you'll need to get this setup. Make sure you use the latest version of code
too.
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
://developers.google.com/chart/ - Mostly the table, line and pie
charts.
Regards,
Adam Symonds
Elogic Media
On Thu, Aug 23, 2012 at 11:36 PM, Ceeram c33...@gmail.com wrote:
I fixed the notice:
https://github.com/ceeram/CakePdf/commit/efb6f480d28676f95d1860dd95f71aa01da5a0a5
On Thursday, August 23, 2012 3
I think the issue is I have been trying parts from both of the CakePdf
functions out there. I am going to try this from scratch on a new project
and see what happens.
Thanks
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group,
Thanks, I did miss it. This did the trick.
Regards,
Adam Symonds
Elogic Media
On Wed, Jul 4, 2012 at 5:24 AM, lowpass zijn.digi...@gmail.com wrote:
On Tue, Jul 3, 2012 at 12:46 AM, elogic asymo...@elogicmedia.com.au
wrote:
I checked this all out but I couldn't see anything that was wrong
I am trying to use the CakePHP 2.2.0-RC2 dynamic validation API to create a
new validation rule for a Model via a Controller.
First of all, is this possible at all?
So far when I try and run this in a controller:
$this-Campaign-validator()-add('advertiser_id', 'notEmpty', array(
'rule'
'
)
)
);
$this-set('doubles', $doubles);
-
Thanks
Adam
On Wed, Jun 20, 2012 at 1:16 AM, dogmatic69 dogmati...@gmail.com wrote:
Cake does not support HAVING but you can put it in the group as a string.
Something like the following:
$this-Timesheet-virtualFields = array
('doubles', $doubles);
-
Thanks
Adam
On Wed, Jun 20, 2012 at 1:16 AM, dogmatic69 wrote:
Cake does not support HAVING but you can put it in the group as a string.
Something like the following:
$this-Timesheet-**virtualFields = array(
'count_name' = 'COUNT(id
I am moving a cake built website to another server. All pages in the
cake app directory are not found when attempting to open in the
browser.
Any insight would be helpful and greatly appreciated.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the
Disclaimer: I can't program.
Every morning I gather the same information off the internet for my job. My
organization insists on having this information in a powerpoint presentation
form, but the hour a day spent compiling it is really killing me. I might as
well be typing it out and sending
have liked.
Adam
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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
Thanks Paul,
I really wanted it in a standard, form-helper format - - MM - DD
drop-downs.
I spent more time on it than i wanted to so in the end I just exploded
the date value from the DB and manually assigned them each to day,
month and year form-inputs with their set values.
Like I said
this won't work.
Does anyone have any suggestions how to extract the D, M Y values
out of a date string using Cake i.e. $job['Job']['date']['month']
etc.? I was thinking I could make my own separate inputs for each day,
month and year...
Thanks,
Adam
Check out the new CakePHP Questions site http
I had only been working with PHP for a month before I started with
frameworks. CakePHP was a little heavy to grasp at first (MVC OOP),
but I built a project using CodeIgniter. After that I had to do
another one using Cake, so I had to learn and it only took a week
before I couldn't get enough.
(
Group = array()
User = array(
0 = array(
)
1 = array(
)
)
)
If anyone has experience with this, that would be great.
Adam
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you
I went to download the cheat sheet, because it's awesome, and I got a
file not found error:
Error: The requested address '/files/Resources/CakePHP-1.2-
Cheatsheet.pdf' was not found on this server.
Luckily google had it cached, but it might be a good idea to fix it
for other folks.
Adam
Check
if($this-Category-Behaviors-enabled('Restricted')) {
$this-Category-Behaviors-disable('Restricted');
// surely this shouldn't be necessary?
Do I just have to re-write my application if I'm using Postgres? I
thought I could switch databases
and cake would handle it for me?
The array format for associated tables is different in Postgres than
it is in Mysql
Check out the new CakePHP Questions site http://cakeqs.org and help others
Hi,
When I do $data = $this-Post-find(post.id=$id,id, title, null,
1);
I am looking to get the associated Account back in the returned array.
Instead I am getting the account columns back in the same array as the
post columns.
What I'm calling:
$this-Post-find(post.id=$id,'id, title', null,
Hi,
When I do $data = $this-Post-find(post.id=$id,id, title, null,
1);
I am looking to get the associated Account back in the returned array.
Instead I am getting the account columns back in the same array as the
post columns.
What I'm calling:
$this-Post-find(post.id=$id,'id, title', null,
When I do a find and get 1 row back in Postgres it has to be
referenced like $data[0][email] whereas in Mysql you can do
$data[Account][email].
I just migrated from Mysql to Postgres so I just have to go thru and
change all single result queries that formerly worked in Mysql as
I've been developing cake with Postgres db and I see that the postgres
logs are getting hit alot with lots of queries from a simple db
select. I try using contain to limit associations but it seems that
Cake is doing alot of other things other than the simple find()/select
that I'm doing. Are
I'm using Postgresql so I think I don't need the transaction calls in
Cake. Can I turn this off in the Model?
I think this is where it is in the libs model...
/**
* Whether or not to enable transactions for this model (i.e. BEGIN/
COMMIT/ROLLBACK statements)
*
* @var boolean
* @access public
Is there a way to eliminate the BEGIN ROLLBACK statement calls to
Postgres when there are no DB queries in an action? I don't know
where I can find these statements in the code.
I preferably would like to get rid of the BEGIN ROLLBACK statements
all together since Postgres is already
these INFORMATION_SCHEMA
queries go away? Why are they there?
Cheers,
Adam
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send
/image-upload-and-resize-component-for-cakephp-12/
I'm looking to handle image uploads and resizing of gifs jpg pngs
etc
Cheers,
Adam
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you
dilemna correctly. Any help would be greatly
appreciated.
Cheers,
Adam
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group
the
codebase to 1.2 or 1.3? Or should I just keep developing in RC 1.1? Am
I locking myself out of the newer components or contributions since
the latest will most likely be compatible with RC 1.2 / 1.3 ?
Any feedback would be greatly appreciated. Thanks guys (
girls )... : )
Adam
Check out the new CakePHP
I'm new to PHP...
I expect this to return -1.
But, why does this:
echo strcasecmp(First,Second);
return this?:
-1 3
What's up with the 3?
Thanks!
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this
@Amit:
I thought the same thing, but you can't really return something to the
browser from a Component
@j0n4s:
It's not speed, it's having one controller that handles typical
generic requests, so that you don't have ajax_* actions in 15 or so
different controllers
Adam
On Oct 20, 7:56 am
I always thought the same thing as Dave, but finally gave up because
there is no other sensible solution. I never thought to put common
methods in app_controller!! I'm so glad I opened this thread, because
this just made cake so much more elegant for me.
On Oct 20, 11:55 am, Dave Maharaj ::
Hey all,
Curious about a design pattern I schemed up while daydreaming at work
today. Instead of littering every controller with actions that are
used for standard ajax requests(ajax_validate, ajax_save, etc), I
thought up using an AjaxController, with no table, that has those
standard actions.
More elegant would be:
/^[a-z]+$/i
The i specifying that it is case-insensitive
irc.freenode.net #regex is a better place for your question, btw
On Oct 19, 2:26 pm, Dave Maharaj :: WidePixels.com
d...@widepixels.com wrote:
Right on,
I ended up using
'rule' = array('custom', '/^[A-Za-z
Anything like that--a user interface feature--should be handled with
JavaScript. Save the server-side for the server-side.
On Oct 19, 10:06 pm, Tamim A. tmpan...@gmail.com wrote:
Hi All,
I am working on a project that requires one of those options where you check
Shipping address is same as
Looking at some irc logs its true and he left a week ago.
Starts Oct 15th, 15:40
PhpNut: jose_zap actually he [gwoo] resigned over a week ago
PhpNut: right before I took the project over again
Ceeram: wouldnt it be great if PhpNut and Gwoo were both still on the
project
Ceeram: disagreement
, Sep 24, 2009 at 8:54 PM, adam abennett...@sbcglobal.net wrote:
Sorry. When calling $session-flash('auth'); in my layout, it outputs
the message like this:
div id=authMessage class=messageMESSAGE HERE/div
I would like it to be whatever I want it to be. When calling $this-
setFlash
i am implementing a layout and am sad that i can not change the auth
flash layout, instead i am having to use session-check(), then
session-read(), and then to remove the message, session-flash() into
an area of the layout where it will not be displayed.
is there a way to chagne the flash layout
, 2009 at 2:37 PM, adam abennett...@sbcglobal.net wrote:
i am implementing a layout and am sad that i can not change the auth
flash layout, instead i am having to use session-check(), then
session-read(), and then to remove the message, session-flash() into
an area of the layout where
http://bin.cakephp.org/view/745851752
This is giving me an error SQL Error: 1054: Unknown column
'Permission.group_id' in 'where clause', so it seems to be ignoring
the contain. Does anyone have any ideas?
--~--~-~--~~~---~--~~
You received this message because
Try the following code for your ajax form. Note the update to
'comments' from 'comment'::
?php
echo $ajax-form(null,'post',array(
'update'='comments',
'url'=array(
'controller'='comments',
'action'='add'
)
)
);
Auth with data validation in my User model doesn't pick up the
notEmpty condition -- it hashes the empty string.
Is this correct?
Do i need to add custom validation to check for this? I cannot use
$this-Auth-password() in a Model.
Or is there a better way to handle this? Thanks!
and now I want to switch to Mac... but the pc-enthusiast in me wants
to build a powerful rig, not an apple-taxed semi-rig running
yesteryear's parts at high end prices...
...how could ONE program be that amazing!
--~--~-~--~~~---~--~~
You received this message
Don't use his code exactly. $radio_btn is an array of the options for
the. Unless you make the array, leave that part out
Adam
On Jul 31, 1:53 pm, leafchild leafchild.b...@gmail.com wrote:
Thank you, Miles for your comment.
sometimes I'm confused which one I should use.
I
I am making a mini message board, and am want to update
Discussion.last_post every time a new Response is saved. The call to
saveField is on line 7 of ResponsesControllerThis is what I have:
?php
class ResponsesController extends AppController {
function add() {
I'm developing a marketing extranet for a large multinational, they
have a large number of internal sites (50+) all accessed via a single
portal. A user logs into this portal and then has a number of links
to all of the internal sites to which they have access.
The portal generates a token
) means that if there is an id set in $this-data
then it will be reset, so an insert will always occur.
Cheers,
Adam
- Original Message -
From: Raph ra...@epoczta.pl
To: CakePHP cake-php@googlegroups.com
Sent: Monday, June 29, 2009 10:14 PM
Subject: 'add' action and auto-setting model id
Hi Vijay,
Have a look at the source of controller.php in constructClasses() and you will
see what Ralph is experiencing. Line numbers are indicative of r8204 (current
branch).
line 448:
$id = $this-passedArgs['0'];
line 452:
$this-loadModel($this-modelClass, $id);
Cheers,
Adam
.
I do something like this, however I store the entire path (eg slug1/slug2)
in the database, since you might have duplicate identifiers like so:
/categories/sony/video-cameras/
/categories/philips/video-cameras/
Cheers,
Adam
- Original Message -
From: toka...@gmail.com
To: CakePHP cake
You could do it on a few levels - really depends on your setup (and if you
need dynamic subdomains, etc). But yes, using .htaccess (or inside
httpd.ini) would be your fastest options.
Cheers,
Adam
- Original Message -
From: toka...@gmail.com
To: CakePHP cake-php@googlegroups.com
Sent
Each and every CakePHP app is like a hand-woven Persian rug - unique and
each comes with its own beautiful imperfections.
I implore you to accept our flaws as part of our personality and embrace all
that is CakePHP!
Cheers,
Adam
- Original Message -
From: Nate Brunette nate.brune
to be kept as short as possible.
Cheers,
Adam
- Original Message -
From: Mateo San Román sanroma...@gmail.com
To: CakePHP cake-php@googlegroups.com
Sent: Tuesday, June 23, 2009 7:02 AM
Subject: Re: transactions + redirect doesn't work!
Thank you for you quick answer.
Any way to do
Yes. You must start and end a transaction with the same mysql connection.
MySQL connections are automatically closed once the page has finished
executing. A redirect stops the current page execution.
Cheers,
Adam
- Original Message -
From: Mateo San Román sanroma...@gmail.com
,
Adam
--~--~-~--~~~---~--~~
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 email to
cake-php+unsubscr...@googlegroups.com
));
Much nicer now and paginate is accurate with no messing around.
On Jun 20, 7:33 am, schneimi michael.schne...@arcor.de wrote:
Hi Adam,
you just need a condition. I am not sure if this is the most elegant
way, but here is an example:
$this-Request-find('all', array('loan_id !=' = 0
', 1);
}
And then it should all work!
Cheers,
Adam
On Jun 19, 4:43 am, taufiq ridha taufiq.ri...@gmail.com wrote:
Hello, nice to meet u all!!
sorry for this stupid question, but i'm really new on this framework.
i was try to search for this subject, but not find yet, so i decided
to ask
Look into admin routing in the cakephp cookbook.
Cheers,
Adam
On Jun 19, 12:44 pm, thatsgreat2345 thatsgreat2...@gmail.com wrote:
I'm a little confused by routes at the moment. Currently I have an
admin structure where each function such as
function users($load = null, $id = null
Does this work?
$this-Item-setSource($locationId.'_items');
Cheers,
Adam
On Jun 19, 12:43 pm, VisionIzoizo mauro.tr...@googlemail.com wrote:
Hi, I have one big table named 'items'. It's split into many views,
according to a custom defined criteria (location). I want to access
these views
/index.ctp
Cheers,
Adam
- Original Message -
From: Greg Baker greg.baker@gmail.com
To: CakePHP cake-php@googlegroups.com
Sent: Wednesday, June 17, 2009 8:21 PM
Subject: Changing view file in controller
Is it possible to change the view file easily in the AppController?
Basically
they will no longer be interpreted by the browser as html.
Cheers,
Adam
- Original Message -
From: Marcel vermas...@gmail.com
To: cake-php@googlegroups.com
Sent: Wednesday, June 17, 2009 10:36 PM
Subject: CakePHP XSS protection?
Hi,
I'm using the save(), saveField() and saveAll
Depends on if you will reuse the content in various places that do not
accept html entities... although I use h() in my views, and if I need to
strip unweildy html from large blocks of text I'll do it in a beforeSave
callback - therefore it only does it once.
Cheers,
Adam
- Original
There is no code you need to change to get ssl working with cakephp. Make
sure you have ssl setup on the site correctly with just static files first.
Cheers,
Adam
- Original Message -
From: rakesh singh rcky.ni...@gmail.com
To: CakePHP cake-php@googlegroups.com
Sent: Wednesday, June
A bit hard to diagnose without seeing any code... but is your form posting
to the login action?
And also make sure cookies are enabled in your browser.
Cheers,
Adam
- Original Message -
From: uday singh.uday...@gmail.com
To: CakePHP cake-php@googlegroups.com
Sent: Thursday, June 18
I see from a previous email you overrode your AppHelper to automatically
prepend /fb onto all of your links which is causing the prob. Short of
re-writing your links everywhere, you could modify this method so absolute
files are not prepended with /fb.
Cheers,
Adam
- Original Message
into cake.
I'm guessing you don't have any indexes on your tables either, so best to get
that same person to look over them. 20,000 records is not a lot and mysql can
handle that easily if you know what you are doing.
Best of luck!
Cheers,
Adam
- Original Message -
From: Femi Taiwo
()',
);
return $this-find('all', $query);
}
Hope that helps,
Adam
- Original Message -
From: Femi Taiwo
To: cake-php@googlegroups.com
Sent: Tuesday, June 16, 2009 8:32 PM
Subject: Re: Problem with Large Datasets
Thanks for replying.
Actually, I've got everything properly indexed
I am fairly certain that each related model will take care of it's own
beforeSave and afterFind callbacks, so you should just need to handle
encryption/decryption for the primary model, and each other model that is
saved/found will handle its own as well.
Cheers,
Adam
- Original Message
it. And if you change your mind about how the menu should be
displayed, you shouldn't need to change your database/model/controller
structure.
Cheers,
Adam
- Original Message -
From: Phil phil...@gmail.com
To: CakePHP cake-php@googlegroups.com
Sent: Wednesday, June 17, 2009 7:12 AM
Subject
'))
));
$transaction_amount_total = $data[0][0]['Amount'];
$this-set('transaction_amount_total, $transaction_amount_total);
Cheers,
Adam
- Original Message -
From: kwameda...@gmail.com
To: CakePHP cake-php@googlegroups.com
Sent: Wednesday, June 17, 2009 3:54 AM
Subject: Re: array
DAY))'
);
Cheers,
Adam
- Original Message -
From: eric.winch...@gmail.com
To: CakePHP cake-php@googlegroups.com
Sent: Wednesday, June 17, 2009 8:19 AM
Subject: MySQL function escape with multiple conditions
$event_conditions = array(
'Event.start'=array(' -!DATE_ADD(CURDATE
testDecrypt in
the Post model...all it did was a find('all') with recursive set to 3.
I then pr()'d the result and used die() to stop operation. All post
titles were decrypted (they were encrypted in the database) but the
user emails showed up as encrypted.
On Jun 16, 9:24 pm, Adam Royle
chmod +x /home/mileswj/cake/console/cake
then put this in cron
/home/mileswj/cake/console/cake your_shell_name -app /home/mileswj/
sc2armory.com/app/
Cheers,
Adam
On Jun 15, 6:25 pm, Miles J mileswjohn...@gmail.com wrote:
Heres my current folder setup.
/home/mileswj/cake/ (below root
use this function, it works well...
// recursively reduces deep arrays to single-dimensional arrays
// $preserve_keys: (0=never, 1=strings, 2=always)
function array_flatten($array, $preserve_keys = 1, $return = array()) {
foreach ($array as $key = $child) {
if (is_array($child)) {
$return
panel
you're using is changing the command before entering into cron (such as
prefixing it with path of php). If that is happening you might need to write
a dummy php script that exec()'s your real command.
Cheers,
Adam
- Original Message -
From: Miles J mileswjohn...@gmail.com
Sure...
Router::connect('/AppName/facebook/:controller/:action/*', array('facebook'
= 1));
then in your app controller just check for
$this-param['facebook']
- Original Message -
From: Greg Baker greg.baker@gmail.com
To: CakePHP cake-php@googlegroups.com
Sent: Tuesday, June 16,
Sorry, I never used reverse routing like that. Maybe someone else with more
experience can help out?
With my facebook app I used fbml so my views were custom anyway which meant
I had to use explicit urls.
Cheers,
Adam
- Original Message -
From: Greg Baker greg.baker@gmail.com
http://book.cakephp.org/view/809/find-count
- Original Message -
From: Wayne smittysand...@gmail.com
To: CakePHP cake-php@googlegroups.com
Sent: Sunday, June 14, 2009 6:55 PM
Subject: Cakephp equivalent of mysql_fetch_row
Hi,
i need a function that returns the number of rows from a
images between all languages.
I would probably go the more explicit route, and just append the language to
the image path ($lang = 'en/').
$html-image($lang.'btn_action.gif');
Cheers,
Adam
- Original Message -
From: daedalus daedalus.developm...@gmail.com
To: CakePHP cake-php
You will need to exclude the portfolio directory from being sent to your
default cake installation. Something like this might work...
IfModule mod_rewrite.c
RewriteEngine on
RewriteRule^$ app/webroot/[L]
RewriteCond %{REQUEST_URI} !^/portfolio(/|$)
RewriteRule(.*)
']) $_SERVER['HTTP_HOST'] == 'mydomain.com') {
// set this to off if your website does not use SSL
$_SERVER['HTTPS'] = 'on';
}
if (!defined('FULL_BASE_URL')) {
define('FULL_BASE_URL',
'http'.(empty($_SERVER['HTTPS'])?'':'s').'://'.$_SERVER['HTTP_HOST']);
}
Hope that helps.
Adam
share what tools you use to deploy!
Adam
--~--~-~--~~~---~--~~
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 email to
cake-php
Youtube api?
On May 6, 3:13 am, NipunAmbastha nipunambas...@gmail.com wrote:
Hi,
I want to upload video on youtube via Cakephp.
I haven't find any stuffs. Kindly help with links or sample code
Thanks
Nipun
--~--~-~--~~~---~--~~
You received this message
I have a year or so experience with PHP and MySQL, but have never had
the pleasure of dealing with dates. I need to be able to store a date
that a user inputs. I want to use the date data type for MySQL, but I
am using a jQuery plugin for the form input, so I am getting a string.
Any advice on
I want to have files in my vendors folder within a plugin and was
wondering what I would supply to fopen for the $include_path to start
a file stream?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To
directories.
Adam
--~--~-~--~~~---~--~~
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 email to
cake-php+unsubscr
I would just create a non-CakePHP application to regularly copy the
first database to the second. But that's just me. I'm inefficient.
On Apr 21, 10:42 am, luisgabrie...@gmail.com
luisgabrie...@gmail.com wrote:
Hello guys this is my problem
i have 2 databases on the same server
DB_1
Hi All,
How can I PROPERLY set up my database so that several models have
multiple images? Each image belongs to a particular model, so they
are definitely hasMany relationships. Example:
Episode
-id
-name
-date
Movie
-id
-name
-date
-producer
Image
-id
-name
-caption
-path
Episode hasMany
Something like this should work (as long as you include the
RequestHandler component). Personally, I use an extra field rank in my
table which is just an integer.
if ($this-RequestHandler-isAjax()
!empty($this-params['form']['tableId'])) {
foreach ($this-params['form']['tableId'] as
Can you be more explicit about what you are looking for? Is there
something in particular you don't know how to do?
Adam
webperson wrote:
Hello,
Does anyone know of a single sole source of free phpcake tutorials? I
have found and completed all of the ones I could find, but I am
assuming
.
Cheers,
Adam
lakers fan wrote:
Hello,
Can I create all the view files inside one directory. Right now
what I understood is you got to create a folder named after
controller. if I have many controllers, does it mean that I have to
create that many folders for view files?
Thanks
the MAX() command around the id field it when using group
by, for mssql at least.
Time for a ticket I reckon. You can submit it via trac.cakephp.org
Cheers,
Adam
blake wrote:
I don't think its a bug, I think its more of the way Cake generates
queries. Even though the Model.id field
at the mssql datasource and see if it's a bug or whether it could
be improved upon. If not then you may just need to execute a raw sql
query instead of using the find methods.
Cheers,
Adam
blake wrote:
I'm trying to do the following find() to find the highest id for each
name value in the table
I'm using Eclipse with PDT, but Dreamweaver for making layouts.
--~--~-~--~~~---~--~~
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
Looking at the Security component source, you need to override the
validatePost value in SecurityComponent. The following is untested code,
but I think it should work.
function beforeFilter() {
if ($this-action == 'your_action') {
$this-Security-validatePost = false;
}
', array('controller' = 'administrators', 'action'
= 'dashboard', 'admin' = 'admin'));
Hope that helps,
Adam
- Original Message -
From: Leonard Teo teo.leon...@gmail.com
To: CakePHP cake-php@googlegroups.com
Sent: Thursday, February 26, 2009 12:25 AM
Subject: How to set up site structure
On Feb 25, 2:22 am, AD7six andydawso...@gmail.com wrote:
On Feb 25, 7:36 am, adam abennett...@sbcglobal.net wrote:
That's a shame, that makes a user plugin (half) pointless since you
would still have to have the beforeFilter code outside the plugin
Or entirely useful, since the code
/down code pretty easily, but drag
and drop is pretty common these days and is not too difficult. One thing
to be aware, is not all libraries support sorting table rows (afaik),
but there are workarounds.
Hope that helps,
Adam
hasentopf wrote:
Clicking on the table header is only temporary. I
1 - 100 of 480 matches
Mail list logo