I wrote this function a couple of months ago for a Webtech course at
my university. But I was wondering if anyone has anyother idea to ease
this with more intregreated functions.
Any way.. the problem is that in my code I often write this peace of
code:
$variable = isset($anothervariable)?$anothe
Hi Freshow,
> how to define a global function for all controllers in ./app/confing/
> bootstap.php ,and how to inplement it in controller ?
If it is a function only used by controllers then I would add it to
the AppController (app/app_controller.php) and not to bootstrap.php.
Hope that helps.
Hate to be the one to post it here but it has to be done!
http://logs.cakephp.nu/cakephp/chat.log.2008-04-16
Tarique
P.S. I am not fanning flames here!
--
=
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sa
Can't seem to figure this one out.
I have two controllers that I would like to use the same view for.
Here is how they are:
function viewall()
{
$this->set('students', $this->Student-
>findAll(array( 'Student.status' => "Active" )));
}
function viewx()
{
how to define a global function for all controllers in ./app/confing/
bootstap.php ,and how to inplement it in controller ?
:)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group,
Hi all,
This is doing my head in so I'm posting here as a last resort. I'm
reasonably new to cakephp, I've written a simple CMS app last year but
I'm working on a new v1.2.0.6311 project now with user management/acl
built in. Basically I'm working on the user management area at the
moment specifi
It worked!! Thank you
Regards
José
Sam Sherlock escribió:
> try this in your .htaccess
>
> RewriteEngine on
> RewriteRule (phpmyadmin)/(.*) - [L]
> RewriteRule^$webroot/[L]
> RewriteRule(.*) webroot/$1[L]
>
>
> On 16/04/2008, *José Selesán* <[EMAIL PRO
try this in your .htaccess
RewriteEngine on
RewriteRule (phpmyadmin)/(.*) - [L]
RewriteRule^$webroot/[L]
RewriteRule(.*) webroot/$1[L]
On 16/04/2008, José Selesán <[EMAIL PROTECTED]> wrote:
>
>
> Hi there! I'm starting to use Cake-PHP (I think it is gra
Hi there! I'm starting to use Cake-PHP (I think it is grate!) and I have
a problem with my production server. I've installed CakePHP on the
server and it has also phpmyadmin, soy my root directory looks as this:
/app
/cake
/phpmyadmin
index.php
.htaccess
The problem happens when I try to use ph
You need to use it like this:
$this->MailingList->create(array('email' => $email));
$this->MailingList->save();
On Apr 16, 4:19 am, Kyle Decot <[EMAIL PROTECTED]> wrote:
> I am trying to read in a line of a text file and then save it to the
> database. Below is my code:
>
> function massAdd() {
Probably.. it's got something to do with max upload size set with
your server. Put this in your webroot/.htaccess
php_value upload_max_filesize 20M
php_value post_max_size 20M
If that doesn't fix it...
- Check your app/tmp/logs/error.log for problems.
- Use $this->log('got here'); in your
I am having a weird problem with uploading files via swfupload on my
cake application. When i access my application on localhost (i am
using xampp ) everything runs fine, files get uploaded placed where
they should etc, but when someone else tries to connect from the
internet to my server, file up
Well, all I hope is that they are the start of something.
I submitted them to the cookbook about a week ago and they still
aren't in it, so I have to figure that they aren't exactly what the
developers want in the official documentation.
I am very partial towards wikis, so am very much in favor
One thing I keep meaning to do is implement routes to make URLs more
sentence like, (inc singulars as the above), and strip all numbers.
I.e for a cakey book store:
cakeybooks.com/all/books // books index
/all/books/by:jane_austen
/a/book/named:war_and_peace // a =>view
/purc
The problem is fixed now. I checked what was going on in Firebug and
it showed that the CSS I entered was not even in the file. I must have
been using a temporary file somehow or what I did before got saved to
different file. I have no idea what happened. Its working now. Thanks
for you help and t
> Cake isn't really set up to handle inheriting models directly.
I'd be really interested to hear more about that - I'd always assumed
there might be issues with this due to all the the model magic, but
never tried anything complex enough to hit those kind of issues.
What kind of issues do you r
Hi all,
I am looking to use CakePHP for my project but I am very concerned
about SQL injection in general. Thus I always run my DB queries with
bindings (I don't mean the Cake models bind/unbind feature) w/ PDO on
MySQL.
I was wondering how I can use SQL query bindings within the Cake
framework
On Apr 15, 1:46 pm, aranworld <[EMAIL PROTECTED]> wrote:
> I have written up a bunch of ACL tutorial articles which will
> hopefully help others start using the ACL Component.
>
> Although I think there are some really good tutorials already, I felt
> that since there still isn't a manual section
It's just that the syntax for the find method has been updated, so the
first parameter is no longer the conditions you want to search for,
but an identifier for the type of find you want to perform. There's
quite a few changes like that - there's probably a list floating
around but I have no idea.
Of course, there's no reason you couldn't achieve those preferred URLs
by using custom routes.
Stephen
On Apr 15, 4:00 pm, "R. Rajesh Jeba Anbiah"
<[EMAIL PROTECTED]> wrote:
> On Apr 10, 1:18 am, majna <[EMAIL PROTECTED]> wrote:
>> My suggestion is controller/action/slug solution. Sometimes
My main reason for choosing components rather than models is the
inheritance of them. Cake isn't really set up to handle inheriting
models directly. Creating a component which then returned a reference
to the correct model would be my preference, but without actually
sitting down and coding someth
Is there anyway to have the paginate work in an associated model?
Right now i have in a category controller :
/**
* Method to find articles based on category
*/
public function view($category = null) {
if($category)
{
Sorry..
just seen the fact you used #header.
very strange. Have you used the developer tools in firefox?
On Apr 15, 8:22 pm, simonb <[EMAIL PROTECTED]> wrote:
> Are you sure that you have used the correct selector
>
> for an id it should be
> #header{
> color: #000;
>
> }
>
> if you have used
>
> now heres whats weird. I know its linking because it is getting the
> background and font colors I specified but it doesn't get most other
> things.
Is there anywhere we can see this in action? It should be pretty easy
to debug using Firefox's developer toolbar and its "inspect element"
option
I changed the folder permissions to executable but didn't think to do
the same to the file. Thanks for your help!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to
> I think, you're missing something
> (http://groups.google.com/group/cake-php/msg/60f9b49f7209d8b9 ) It's one of
> the craziest thing in
> automagic.
Wow, you're right, I really was!
So you can link to, for instance, /items/index/article:3 in order to
list (paginated) all items belonging t
Sorry if this is too obvious, but have you checked that you have an
executable permission set on the 'cake' file?
(what OS are you using?)
On Apr 15, 7:24 pm, Quilmes <[EMAIL PROTECTED]> wrote:
> Newbie here... can't get the CakePHP console to work. Can't find any
> place that tells you how t
Hi,
I have two models, Users and Groups. I want to represent the
association Users have Groups. Easy enough HABTM.
However, Groups are using Tree behavior, and I would like to specify
that only Groups below a certain level are returned.
The ways I have come up with to do this are not particular
Are you sure that you have used the correct selector
for an id it should be
#header{
color: #000;
}
if you have used
.header{
color: #000
}
this declares a class style.
Just a thought!!
On Apr 15, 7:30 pm, Chez17 <[EMAIL PROTECTED]> wrote:
> I am a CakePHP beginner and I am having some wi
I am a CakePHP beginner and I am having some wierd issues with getting
a CSS file working. I am linking to the file by using the html helper
css('site'); ?>
now heres whats weird. I know its linking because it is getting the
background and font colors I specified but it doesn't get most other
th
Newbie here... can't get the CakePHP console to work. Can't find any
place that tells you how to fix it. So anyways, I'm getting a
"Permission Denied" when I try to run '../cake/console/cake bake'
Anyone?
--~--~-~--~~~---~--~~
You received this message because y
I am trying to read in a line of a text file and then save it to the
database. Below is my code:
function massAdd() {
$count = 0;
$list = array("emails","emails2","emails3");
foreach($list as $l):
$emails = fopen("files/" . $l . ".t
Hi,
In our dev environment, I need to have DEBUG set to 1 (Using Cake
1.1.19) but since we use a shared code base with other sites in our
network, the coding standards are different and it produces "Notice"
errors in dev. Is there a way to just not show Notices without
touching the core files? I
You could build the variable into a __construct() function :
$this->validate = __('must be alphanumeric')
On 15 avr, 18:04, gino pilotino <[EMAIL PROTECTED]> wrote:
> Hello,
> i was wondering... when setting custom messages in validation arrays
> for Models
> how can i use international
Bug reported:
https://trac.cakephp.org/ticket/4488
--~--~-~--~~~---~--~~
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
much appreciated!
On Tue, Apr 15, 2008 at 12:51 PM, aranworld <[EMAIL PROTECTED]> wrote:
>
> initdb no longer works.
>
> Check this out to see if it helps. It includes a link to where you
> can get information on what the table schema should be like:
>
> http://aranworld.com/article/162/cakephp-
moved latest revision to fresh new page to hopefully resolve google
groups bugs http://groups.google.com/group/cake-php/web/faq
On Apr 15, 12:41 pm, "R. Rajesh Jeba Anbiah"
<[EMAIL PROTECTED]> wrote:
> The link for latest version
> ishttp://groups.google.com/group/cake-php/web/frequent-discussio
On Tue, Apr 15, 2008 at 12:59 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> [snip]
>
> 2) The execution of this code on Unix server with "PHP version 5.2.5,
> System HP-UX frl4 B.11.11 U 9000/800 " generate the following error:
>
> Warning (2): Cannot modify header information - heade
I'm muddling my way through getting translation from DB content
working. I've read through everything I could find at least 2 or 3
times now but still there are big gaps. I've been trying to get
Jean-Claude's MYTranslateBehavior working but am unsure if, well, it's
working properly.
The model I'm
-Due to google groups bugs, moved latest version of frequent
discussions to this fresh new page - hopefully will fix the bugs.
Click on http://groups.google.com/group/cake-php/web/faq - or copy &
paste it into your browser's address bar if that doesn't work.
--~--~-~--~~~-
-added link to ACL tutorials
Click on
http://groups.google.com/group/cake-php/web/cakephp-unofficial-resources
- or copy & paste it into your browser's address bar if that doesn't
work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
initdb no longer works.
Check this out to see if it helps. It includes a link to where you
can get information on what the table schema should be like:
http://aranworld.com/article/162/cakephp-acl-tutorial-initial-setup
You have to now run:
cake schema run create DbAcl
On Apr 15, 2:52 am, "
I have written up a bunch of ACL tutorial articles which will
hopefully help others start using the ACL Component.
Although I think there are some really good tutorials already, I felt
that since there still isn't a manual section written, that some
really basic beginner tutorials needed to be pu
The link for latest version is
http://groups.google.com/group/cake-php/web/frequent-discussions?version=131
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-
On Apr 15, 9:13 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> you link leads to a page saying:
>
> 'We're sorry, but we were unable to find the topic you were looking for.
>
> > Perhaps the URL you clicked on is out of date or broken?'
>
> I am interested to see this crazy piece of AutoMajic
Thanks guys.
There seems to be two version of the Blog tutorial floating around and
I was looking at the 1.2 version as opposed to the
1.1.x. When I get home today I'll upgrade and see if I run into the
same issue.
But that being said...i'm surprsied 1.2 is creating SQL that does not
run in MyS
Hello,
i was wondering... when setting custom messages in validation arrays
for Models
how can i use internationalization ?
i.e.
var $validate = array(
'item' =>
array(
'rule' => 'alphaNumeric',
'message' => 'must be alphanumeric'
)
Hi Rajesh,
you link leads to a page saying:
'We're sorry, but we were unable to find the topic you were looking for.
> Perhaps the URL you clicked on is out of date or broken?'
I am interested to see this crazy piece of AutoMajic
On 15/04/2008, R. Rajesh Jeba Anbiah <[EMAIL PROTECTED]> wrot
Hello,
I try to make a redirection towards an address in my controller:
Code of the controller:
---
function add() {
$modelClass = $this->modelClass;
if (!empty($this->data)) {
$this->$modelClass->create();
$this->data['Plan']['description'] =
Actually, I'm using Jean-Claude's MyTranslateBehavior, which already
sub-classes Translate.
En tous cas, I moved my logic into the controller. I really think it's
be better in the model but this is simpler.
Thanks for your reply.
On Tue, Apr 15, 2008 at 9:54 AM, Joel <[EMAIL PROTECTED]> wrote:
On Apr 14, 4:40 am, keymaster <[EMAIL PROTECTED]> wrote:
> Other than the conditional validation solution in the bakery, (which
> seems to work, but is not necessarily a first choice, it's more of a
> workaround) is there a more "core" approach to dealing with fields
> which have different validat
I saw in this post
http://groups.google.com/group/cake-php/browse_thread/thread/fc6927c768d743c0/165d40eb845faa70?lnk=gst&q=starbox&utoken=_OMNxCsAAAB94UAlaOjWovwvAR_0zjZXHAAmJKq-OJ6hgFYeyBeUiehFHpEPJkSjXQgT9j0zljY
that someone spoke about Starbox with CakePHP.
Can someone provides us some exampl
On Apr 11, 12:59 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> From time to time I work on Flash projects and have previously used
> CakeAMFPHP. Now it looks like it has been abandoned (more or less) in
> favor of CakeAMF. My problem is that from what I can gather CakeAMF
> requires the com
Its great to know that it's so easy. I've been wondering how this is
done but assumed it would be really complicated !
Cheers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, s
On Apr 15, 6:14 pm, "Larry E. Masters aka PhpNut" <[EMAIL PROTECTED]>
wrote:
> Grab this file, it is the same one we
> use:https://trac.cakephp.org/browser/whiteboard/misc/svnconfig.txt?format...
The bugtraq:url propset isn't there in cake's svn, in case if
you'd want to know.
--
Ema
On Apr 14, 9:32 pm, MonkeyGirl <[EMAIL PROTECTED]> wrote:
> Yes. The easiest way is to create this page as something like /items/
> view_items_of_article/article_id instead of /articles/view/article_id
> so that you can just use $this->paginate the way you normally would.
I think, you're missi
> That would seem to me like a bit of a sledgehammer solution.
Perhaps I misinterpreted. If you just want 'register.js' to appear on
the 'register.ctp' view, then indeed you should just do it in the
view. I thought the OP wanted a generic automagic solution for
including javascript files based on
On Apr 15, 7:54 pm, Ramiro Araujo <[EMAIL PROTECTED]> wrote:
> By nate: "All database inputs are automatically escaped when you
> save.". Is this true for the "query" method also? If not, what type of
> sanitization should I made if using the query method in some inserts
> or updates?
Cake w
On Apr 10, 6:16 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote:
> > I'm interested to know the preferred way of organizing the models and
> > vendor files, for the project say "meta search engine - using
> > webservices of the search engines":
>
> I see you have 2 other options (than those listed
On Apr 10, 2:17 pm, simon <[EMAIL PROTECTED]> wrote:
> is there a method to do the same for the above but for css sheets?
As someone mentioned, you can do that by setting "inline" param
to false in $html->css() and $javascript->link(). Html helper will
always be available and if there is no
Hi Salam..
Did u get a solution for your problem ?
Iam also having the same problem..
On Feb 21, 9:03 am, Salam Fall <[EMAIL PROTECTED]> wrote:
> Hello All,
> I was wondering how I can use the ajaxhelper to generate aformselectcombobox
> and then update a DOM ID / DIV when one of the item in the
Need to put a combo box and on select show display the content in a
tag using Ajax, Any clues ?
--~--~-~--~~~---~--~~
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@googleg
On Apr 10, 1:18 am, majna <[EMAIL PROTECTED]> wrote:
> My suggestion is controller/action/slug solution. Sometimes controller/
> slug if possible.
Thanks for your comments. The reason for this post is that:
1. Many times, I find that no one is preferring the named arg thing
2. It's my
On Apr 10, 12:12 am, jonknee <[EMAIL PROTECTED]> wrote:
> For one site recently that had a database of restaurants broken down
> by neighborhood (and city) I went all keyword based. Worked well (city/
> neighborhood are all variable keywords):
>
> /browse/city
> /browse/city/neighborhood
> /restau
By nate: "All database inputs are automatically escaped when you
save.". Is this true for the "query" method also? If not, what type of
sanitization should I made if using the query method in some inserts
or updates?
thanks!
On Mar 8, 11:46 am, cronet <[EMAIL PROTECTED]> wrote:
> Hi Nate,
>
> th
On Apr 10, 2:08 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> 4.
> From what I have learned, you should put "anything that is not a
> Controller, Model or View" in vendor. So, feel free to put your own
> libraries there.
Thanks for your comments. I don't quite get here in Cake; I
On Apr 10, 4:54 am, the_woodsman <[EMAIL PROTECTED]> wrote:
> Interesting stuff -
>
> I think you seem to be implying the need for certain design patterns,
> and Stephen is on the money with the Factory (http://en.wikipedia.org/
> wiki/Factory_method_pattern) , or perhaps the Strategy pattern (htt
Stephen Orr wrote:
> I can't answer all your points, but in theory, you could probably
> achieve what you're aiming for in (2) by making SearchEngine a factory
> class which instantiates the other classes on demand. But you'd
> probably do better with a different architecture.
>
> My suggestion wo
On Tue, Apr 15, 2008 at 3:10 AM, keymaster <[EMAIL PROTECTED]> wrote:
>
> How would one paginate results with a fat model, given that the model
> calls the find(), not the controller, and paginate() is not available
> to the model (it is a controller function)?
http://www.littlehart.net/atthek
Iam using cakePHP 1.2 and I have changed the Security level from high
to medium because it gave me problems with Ajax requests. But now when
I close my browser and I reopen the application the session does not
expire and I can acces to pages where I need authentication. How can I
solve this proble
I ran into the same issue today - I forgot that a little project for a
friend will need to be hosted on cheap shared hosting. I have
reworked the CakeAMF plugin to use SabreAMF instead, and it seems to
be working fine for this small app. Email me if you would like a
copy.
On Apr 15, 4:21 am, Gw
I don't think there's an easy solution; ModelBehavior::beforeSave() is
called before Model::beforeSave() (http://api.cakephp.org/1.2/
libs_2model_2model_8php-source.html#l01106), so you can't simply put
your logic in the callback of the later, which might not even be
desirable for your situation.
Thanks for all the help
On 4/15/08, Sam Sherlock <[EMAIL PROTECTED]> wrote:
>
> kinda
>
>
> is a vague word, completly devoid of certitude.
>
> https://trac.cakephp.org/roadmap & and tickets has more information
>
> There are a few critical bug & exploits at the mo
>
> when exactly is it expected
You are wellcome,Are you Chinese ?
看你 Gmail 的用户名,好像是中国人呢,共同学习..
2008/4/15, columbus <[EMAIL PROTECTED]>:
>
>
> Thank you very much. It works for me now!
>
>
>
> On Apr 15, 1:47 pm, DYH1919 <[EMAIL PROTECTED]> wrote:
> > Hello,every one
> >
> > I have got the bug(maybe!) ,fix steps :
> > fi
Hi, thanks! here it is:
Configure::write('Session.save', 'php'); //also tried with 'cake'
Configure::write('Session.cookie', 'CAKEPHP');
Configure::write('Session.timeout', '120');
Configure::write('Session.start', true);
Configure::write('Session.checkAgent', true); //also tried with false
Confi
Thanks Stephen, I found the problem. Apparently you need to have a
default controller in the plugin, at least I do on my system. Plugins
without default controllers just do not work. I'm not sure why seeing
how I haven't seen anything that states you need to have one.
Rob
On Apr 15, 4:34 am, Ste
On Mar 31, 8:48 am, Defranco <[EMAIL PROTECTED]> wrote:
> On 27 mar, 16:16, Sliv <[EMAIL PROTECTED]> wrote:
>
> > I haven't tried this, but you may want to check it out:
>
> >http://lemoncake.wordpress.com/2007/06/24/cakephp-test-suite-shell/
looks like it do not works very well - apparently has
no ideas?
--~--~-~--~~~---~--~~
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 PROTECTED]
For more optio
Grab this file, it is the same one we use:
https://trac.cakephp.org/browser/whiteboard/misc/svnconfig.txt?format=raw
Add the contents of this file to your $HOME/.subversion/config
This will also set the proper mime types of the files
--
/**
* @author Larry E. Masters
* @var string $userName
* @
On 14 abr, 19:24, Sam DeVore <[EMAIL PROTECTED]> wrote:
> My guess is that it is related to the fact that php is loosely typed
> and the ambiguity in something like '0'
It looks like that cakephp is checking if $model->id is false to check
if it has an id or not during save operation (if it do no
Thank you very much. It works for me now!
On Apr 15, 1:47 pm, DYH1919 <[EMAIL PROTECTED]> wrote:
> Hello,every one
>
> I have got the bug(maybe!) ,fix steps :
> first:confige session autostart in ./cake/app/config/core.php
>
> Configure::write('Session.start',true);
>
> then,copy the 'session.
I have two classes, Application & Package, that are related through
HABTM.
I want it such that when a user is creating an application she must
choose a package as well. I don't think I can do this in the
application model, so I guess I have to do it in the controller. My
problem is I am not sur
Is this related to https://trac.cakephp.org/changeset/6641 ?
If the changeset didn't fix the problem, you should re-open the ticket
[4349] with a test case.
On Apr 15, 12:36 pm, bingo <[EMAIL PROTECTED]> wrote:
> oops...
>
> actually both the strings are same..I accidentally placed a
> comma...t
hi all,
I want to integrate a google custom search in my enterprise app that
was developed using cake 1.1. We paid to upgrade a custom business
search edition [CBSE] that give us the option to get a xml with the
searched results.
"The Google WebSearch service enables Custom Search Busin
It's easy!
just include $Revision$, $Id$, $Date$ etc. You then need to set the
svn property svn:keywords to a space separated list of the variables
to be auto-replaced on the file, Subversion will handle all the
replacements on commit.
see
http://svnbook.red-bean.com/nightly/en/svn.advanced.pro
Oh great... good news. Incidentally, what version of Cake are you
using? I think this relates to https://trac.cakephp.org/ticket/3814
but it should have been fixed already... I am using the nightly build
which is probably why I wasn't seeing this in my tests.
PS - I'll have a pint of Guinness ple
Default pagination settings are stored in a class variable called
$paginate - just change this before your action; something like this:
class MyController extends Controller {
var $paginateEx = array(
'default' => array(
// Put defaults here [unless you have an action called 'default
oops...
actually both the strings are same..I accidentally placed a
comma...the only difference between the two is that one is in captial
letters (upper case) and the other is in lower case.
On Apr 14, 9:05 pm, "b logica" <[EMAIL PROTECTED]> wrote:
> I understand what you mean about "AND" vs. "a
This is a must read on installations problems:
http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/
On Mon, Apr 14, 2008 at 1:13 PM, MonkeyGirl <[EMAIL PROTECTED]> wrote:
>
> A little bit of advice, for what it's worth:
>
> If you have a Unix machine with Apache on it, it can be worth tr
Grant, thank you for the solution. I have a new problem now, that I
hope Grant or someone else could advise me on: the script hangs when
called (e.g. "echo 'test' | php app/mailhandler.php") - specifically,
when the dispatcher is called.
My code is as follows:
$raw_message = file_get_contents("ph
How can I build SVN based comments that'll fetch SVN details from the
repository(or .svn files) and append them to the updated files/file.
This is similar to what CakePHP developers do.
/* SVN FILE: $Id: inflections.php 6311 2008-01-02 06:33:52Z phpnut $
*/
* @filesource
* @version
I use an editor that I can open with multiple instances (editplus, intype
most editor do this anyway)
open all views (that you are currently working on) in one instance
controllers in another and models in another (only the ones your currently
working on though)
Also I use WinMerge to compare an
Ah, someone else has just e-mailed me with the fix, namely inserting
this line:
$newValues = array();
...before line 1283 of /cake/libs/model/model.php. Phew!
If either of you are ever in the UK, let me buy you both a drink. :)
Thank you both very much,
Zoe.
--~--~-~--~~---
Hello,every one
I have got the bug(maybe!) ,fix steps :
first:confige session autostart in ./cake/app/config/core.php
Configure::write('Session.start',true);
then,copy the 'session.php' file in ./cake/cake/libs/controller/components/
To ./cake/app/controller/components And set the var __starte
>
> kinda
is a vague word, completly devoid of certitude.
https://trac.cakephp.org/roadmap & and tickets has more information
There are a few critical bug & exploits at the mo
when exactly is it expected to launch 1.2 as a stable version for this great
> framework?
Is a question thats been
On Tue, Apr 15, 2008 at 12:40 AM, Max <[EMAIL PROTECTED]> wrote:
>
> I've been looking for the very same thing from last few hrs..
> Changeset 6189 (https://trac.cakephp.org/changeset/6189) suggests that
> JS and CSS support is added, but I cant seem to even access css/js
> files inside my plugin
Progress at least then ;)
Is it not maybe the following code in your view:
if (isset($this->data[$modelName]['id'])) {
echo $form->input('id');
}
That is the only block I didn't include in my test.
--~--~-~--~~~---~--~~
You received this message because y
thank you for your fast replies, i've got a question though, when exactly is
it expected to launch 1.2 as a stable version for this great framework?, if
the majority uses 1.2 and a lot of talk has been said regarding this issue
and a lot of sites and applications has been built upon it then that me
>
> yea only the php worked :/
perhaps you have cake in a subdirectory?
in which case /subdir/css/cake.generic.css - different if your not using
mod-rewrite
what's the class you would use for the
> favorite icon? $html.link is for anchor tags
Html Helper
meta('icon'); ?>
puts ou
That's really odd... $this->data looks fine for my project now too...
Array
(
[Product] => Array
(
[id] => 6
[name] => Classic Men's Parka
)
[Category] => Array
(
[Category] => Array
(
[0] =>
1 - 100 of 119 matches
Mail list logo