Another basic thing to double-check is the filename. It should be
cloud.php in your case.
/Martin
On Oct 7, 2:54 am, Ryan <[EMAIL PROTECTED]> wrote:
> Sorry, it is in ~/vendors/shells
>
> On Oct 6, 1:41 pm, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
>
> > Is it in ~/vendors or ~/vendors/sh
Thanks a lot Martin for guiding me!
On Oct 6, 6:44 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi bookme,
> The point of hashing data like passwords is that it can't be returned
> to its original form. (except for brute hacking)
> There is no way to "un-hash" the password.
>
> I don't th
On Tue, Oct 7, 2008 at 10:42 AM, mrconfused <[EMAIL PROTECTED]> wrote:
> Is cake flexible in allow only reads to occur from db A and writes
> only to db B ?
Yes.
> I know that in the model layer, we can specify useDBConfig flag but
> not sure how to work out the above case of it writing to db B
yes , in cake you can connect as many connection you want form database.php
in config folder
when you need to write call slave(write) connection and for reading or
fetching data call another.
Regards,
Anuj Chauhan.
On Tue, Oct 7, 2008 at 10:42 AM, mrconfused <[EMAIL PROTECTED]> wrote:
>
> Hel
Hello,
I recently was hired to work at a very large corporation. They are
moving over from their very bad legacy code over to an MVC framework.
Due to my past experience in Cake, I've suggested this framework for
our new deployment of our site.
Here is one hurdle that we face.
We have tables in
Hi,
Thank you Jitka and mark.
I tried with jitka's solution but,as a new developer to cakephp I
couldn't obtain the solutions. I searched the tutorials also but I
didn't got it.Can you please explain it with some examples please
Thanks,
Jipson.
On Oct 6, 8:09 pm, "ji
Just a thought. You should run a poll of Cake developers (those who
develop with Cake, not core developers) and see how many people use
these extra parts. Can't hurt to know which "extras" are the most
popular.
On Oct 6, 4:18 pm, Yodiaditya <[EMAIL PROTECTED]> wrote:
> I'm agree with you nate. Ac
One more piece of info. When I do not use the trailing slash the URL
is set to
http://mydomain.com/app/webroot/x/
If I do include the trailing slash on my request the URLs do not have
app/webroot in them. Is this something I can correct with a route or
my htaccess? mod_rewrite is enabled, and the
I've read a zillion posts about trailing slash and am not sure what my
deal is.
I have a php hello world app in webroot/x named index.php
It is a standard cake install where app and cake dirs are in
public_html
If I browse to www.mydomain.com/x/ everything looks fine and it
invokes the code in
This coming and going of the www. is causing me major headaches in
some cookie code with other modules I have bridged to my app.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group,
For those of you that missed Laura Thomson's presentation at CakeFest,
or left wanting to know more, we are pleased to announce that on
Wednesday October 22, 2008 6:00 UTC-4 she will be joining us on The
Show (http://live.cakephp.org). Laura has been working at Mozilla for
over a year now, and has
MIT is a rather liberal license, so derivatives of MIT-licensed code can be
covered by a license, which is not open-source.
2008/10/4 Jon Bennett <[EMAIL PROTECTED]>
>
> > So that means if a software firm develops a commercial product based
> > on cakephp he is able to sell the commercial produ
Sorry, it is in ~/vendors/shells
On Oct 6, 1:41 pm, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> Is it in ~/vendors or ~/vendors/shells ?
>
> On Oct 6, 7:30 pm, Ryan <[EMAIL PROTECTED]> wrote:
>
> > I am trying to create my first shell script. The shell script is in /
> > vendors and when I
David,
Thanks for that. Works just fine now. You're right Dreamweaver has an
issue with hiding the information even though it is set under Edit >>
Preferences to create documents in UTF-8. For some sort of reason it
changes the Encoding to SHIFT_JIS still, but after manually changing
the PHP file
grigri
thanks much for this.. It works however there are a few artifacts that I am
seeing, not sure if this is expected or if i should
fish elsewhere (I have included my code below, top level is Event, Child is
Cluster. Here are the things I noticed:
1) When it does the query it does a ton of sing
$this->render('view_name') is correct way and it is up to you which
view name you will pass to render() method. Another way would be
override render() action in your controller (and call parent method
with an argument from it).
--~--~-~--~~~---~--~~
You received thi
Marc,
I'm using RC3.
In my view I'm calling $html->css() with array() as the third
parameter instead of null. The wrote:
> Thanks for taking the time. t least now I know I'm not alone! ;-)
>
> On Oct 6, 3:38 pm, hydra12 <[EMAIL PROTECTED]> wrote:
>
> > Oops! You're right. Sorry. I can't get
I had that. Thought the problem was all me. I am still a bit fuzzy on
a lot of the testing stuff.
Try this:
var $import = array('model' => 'Foo', 'connection' => 'default');
I noticed that one of the examples in the Cookbook had a 'connection'
property set. I have had to add this to each of my fi
We have a customer using what was supposed to be a production system
based upon cakephp 1.1.18 - which really isn't. That aside there are
very signficiant issues that need urgent resolution, whcih we just
can't find a way to solve readily.
1. the number of db queries is absolutley astounding - e
Once I get it down, I'll be glad to.
On Mon, Oct 6, 2008 at 4:45 PM, teknoid <[EMAIL PROTECTED]> wrote:
>
> And I will log a vote, that once you get it figured out by looking at
> test cases, you add the required samples to the book (using the 'edit'
> feature) :)
>
> On Oct 6, 2:00 pm, "Ryan McK
I'm having problems setting up a mocked controller for testing.
I generated the partial mock with the following:
Mock::generatePartial('AccountsController',
'MockAccountsController',
array('redirect'));
Then in the startTest method of the CakeTestCase
And I will log a vote, that once you get it figured out by looking at
test cases, you add the required samples to the book (using the 'edit'
feature) :)
On Oct 6, 2:00 pm, "Ryan McKillen" <[EMAIL PROTECTED]> wrote:
> Martin, thanks. That was a big help. I was working inside a foreach loop, so
> I
On Oct 6, 5:38 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I had that. Thought the problem was all me. I am still a bit fuzzy on
> a lot of the testing stuff.
> Try this:
> var $import = array('model' => 'Foo', 'connection' => 'default');
>
> I noticed that one of the examples in the Cook
So, moving to the solution nachopitt suggested "works" ... however,
because of this, for saving, I have to use `saveAll()` instead of
`save()` ... which "works"; however, for the User model, there's also
another HABTM which doesn't work for `saveAll()` ... doh!!
Best solution?
On Oct 6, 11:03 a
I'm agree with you nate. Actually, i never using testing cause don't know
how to use it.
But, in another cases, testing is needed not only for test your sweet cake
before product it. But also give us test the cake for bugs...
On 10/7/08, Nate <[EMAIL PROTECTED]> wrote:
>
>
> The tweet was just me
No sorry thats not what I'm looking for, basically I want to use more then 1
view for a single action, I already sorted on how to change views for an
action based on its parameter, but how do I manage to do the same thing but
with more then one view, a guy on IRC said something about "Partial Views
I don't know how I didn't find that article before, thanks for
pointing me in the right direction.
On Oct 6, 7:55 pm, "Marcin Domanski" <[EMAIL PROTECTED]> wrote:
> $did->you('search', 'bakery', '?');
> --
> Marcin Domanskihttp://kabturek.info
>
> On Mon, Oct 6, 2008 at 8:42 PM, Adrian <[EMAIL PR
Example:
http://teknoid.wordpress.com/2008/09/05/example-of-cakephps-containable-for-deep-model-bindings/
Do you have Containable behavior included in model (var $actsAs =
array('Containable');) ?
On Oct 6, 8:44 pm, Brenton B <[EMAIL PROTECTED]> wrote:
> uh ... k ...
>
> So for models there's t
Thanks for your input.
I beg to differ though, the manual says:
http://manual.cakephp.org/view/96/Layouts
When using $html->css() or $javascript->link() in view files, specify
'false' for the 'in-line' argument to place the html source in
$scripts_for_layout. (See API for more details on usage).
Hi,
I just downloaded 1.2.RC3 and noticed that $import is not working on
RC3 as it was on RC2:
Foo_fixture.php:
'Foo', 'records' => false);
}
?>
It should import the existing table foos from model Foo, but it is not
working on RC3 and was working on RC2.
I get an error:
Missing database ta
Thanks for taking the time. t least now I know I'm not alone! ;-)
On Oct 6, 3:38 pm, hydra12 <[EMAIL PROTECTED]> wrote:
> Oops! You're right. Sorry. I can't get it to work either.
>
> On Oct 6, 2:00 pm, "Marc Campeau" <[EMAIL PROTECTED]> wrote:
>
> > Thanks for your input.
>
> > I beg to diffe
Oops! You're right. Sorry. I can't get it to work either.
On Oct 6, 2:00 pm, "Marc Campeau" <[EMAIL PROTECTED]> wrote:
> Thanks for your input.
>
> I beg to differ though, the manual says:
>
> http://manual.cakephp.org/view/96/Layouts
> When using $html->css() or $javascript->link() in view fi
The tweet was just me venting my frustration over an unrelated issue,
I happened to think the timeliness was funny though.
Anyway, as far as the "wasted bandwidth" argument, I have to say that
seems a bit silly. Even the largest of the packages weighs in at less
than 1.2mb. Anyway, the tests ar
Aha!!
That would do it ... in the `find()` call, I just threw in
`'recursive' => 1,` and all is hunky dory now.
Thanks a bunch AD.
PS. Sorry if my tone was rude, not my intention, just being cheeky ;)
On Oct 6, 12:11 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Oct 6, 8:44 pm, Brenton B <[EMA
Hi,
I still feel very much like a noob when writing tests, so patience
please :)
I have a Test for a Model where the fixture contains collation-
sensitive data. Now I can't see any change in my tests when I
deliberately alter the schema to get different results back. It is
like my fixture is cach
Sure do ... but no love.
On Oct 6, 12:05 pm, majna <[EMAIL PROTECTED]> wrote:
> Example:http://teknoid.wordpress.com/2008/09/05/example-of-cakephps-containab...
> Do you have Containable behavior included in model (var $actsAs =
> array('Containable');) ?
>
> On Oct 6, 8:44 pm, Brenton B <[EMAIL
On Oct 6, 8:44 pm, Brenton B <[EMAIL PROTECTED]> wrote:
> uh ... k ...
>
> So for models there's the "find" function, whose first parameter can
> be an assortment of strings depending on what you want to find ...
> well, one of the ones I'm using is "list", which will generate a list
> that's fo
The "complete" option works fine if I put the javascript directly into
the array. However if I try to put it in a function in the array it
doesn't work. Take the following example:
form('addComment', 'post', array(
'model' => 'Comment',
'url' => array('controller' => 'comments', '
$did->you('search', 'bakery', '?');
--
Marcin Domanski
http://kabturek.info
On Mon, Oct 6, 2008 at 8:42 PM, Adrian <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I have a shell script which I want to run once a day as a cron job
> which reads information from the database and e-mails people if any
> act
Hi
I have a shell script which I want to run once a day as a cron job
which reads information from the database and e-mails people if any
actions need to be carried out. The problem is the script doesn't
import the e-mail component when I put the following at the top of the
class:
var $component
uh ... k ...
So for models there's the "find" function, whose first parameter can
be an assortment of strings depending on what you want to find ...
well, one of the ones I'm using is "list", which will generate a list
that's for easier usage in a select list.
Then there's also the possibility of
If you look at the api, you'll see that $html->css creates a link to a
pre-existing style sheet in webroot/css. $scripts_for_layout is for
javascript using the javascript helper.
On Oct 6, 12:02 pm, Marc Campeau <[EMAIL PROTECTED]> wrote:
> Yeah sorry, I thought I should have put that in the mes
It doesn't matter how big it is as long as the framework remains
reasonably responsive and can load just the functionality we want.
Much of the Zend Framework comprises component-type libraries which
are also usable through Cakephp. In that respect we can enjoy our
cake and eat someone else's too
Hi everybody,
In my local dev enviroment I recently added multilanguage support and
translated some po-files. Just to have a backup of them I uploaded
them to the live website's locale directory. I didn't change any other
file on the server. Now I got an email from the mail system of my
website,
On Oct 6, 8:20 pm, Brenton B <[EMAIL PROTECTED]> wrote:
> Apparently doing `find('list')` doesn't like to take into account the
> "contain" option.
> Is this on purpose?
>
> Scenario:
> Have a list of States that needs to be grouped by Country name, 2
> separate tables where State has the countr
Hi,
Thanks for reply. I'm not using css compression so thats not an issue. Its
pretty much a fresh out of the box 1.3 distro. I'm pretty certain also that
I'm editing the correct document :), e.g. when I change the font-size the
change is instanly realised in the browser on the next refresh.
Int
Apparently doing `find('list')` doesn't like to take into account the
"contain" option.
Is this on purpose?
Scenario:
Have a list of States that needs to be grouped by Country name, 2
separate tables where State has the country_id.
Bug or intentional?
Cheers
--~--~-~--~~
Well, the table looks more like this:
user_id | web_page_type_id | url
---
7 | 6 | firstdomain.com
7 | 6 | second.com
So the two are unique, but I see what you'
Ah, that makes sense. I'm pretty sure that Nate's suggestion was
uncalled for, but he's helped me enough with Cake stuff over the last
year that I know it's in good spirit.
Here's a question: Why are the tests included? Why not make them a
separate download? I mean, yes, if they're distributed to
Martin, thanks. That was a big help. I was working inside a foreach loop, so
I imagine you saved me a big headache with the create() tip. This helped out
on updating an individual record, but what about changing that field value
to 0 for all records?
teknoid, thanks as well for the link. I'll spen
Test cases account for at least two thirds of the overall package
size. In my opinion, thats a good thing.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php
To see how cake's find() works take a look at the test cases, for
example: http://api.cakephp.org/tests/dbo__source_8test_8php-source.html#l02302
On Oct 6, 12:51 pm, Ryan <[EMAIL PROTECTED]> wrote:
> As a new Cake user, I am having a bit of trouble transitioning from
> writing my own MySQL querie
Is it in ~/vendors or ~/vendors/shells ?
On Oct 6, 7:30 pm, Ryan <[EMAIL PROTECTED]> wrote:
> I am trying to create my first shell script. The shell script is in /
> vendors and when I run, I get this:
>
> class CloudShell extends Shell {
> var $uses = array('Item');
> function main
http://twitter.com/nateabele/statuses/933228799
I'll have to do a blog post expanding on this at some point.
On Oct 6, 1:12 pm, 703designs <[EMAIL PROTECTED]> wrote:
> It's...getting...bigger. Compare the archive sizes from 1.1.x to 1.2
> RC3. Sure, it's no Zend Framework, but let's try to keep
Hi Ryan,
1: Not that I am aware of. It is a very good idea for a page in the
cookbook, though.
2: This is usually very simple. Sometimes you have to watch out
though.
Usually this is totally automatic.
$one = $this->ExampleModel->findById($id);
$one['ExampleModel']['example_field'] = 0;
$this-
I am trying to create my first shell script. The shell script is in /
vendors and when I run, I get this:
class CloudShell extends Shell {
var $uses = array('Item');
function main() {
$this->out("test\n");
}
}Error: Class CloudShell could not be loaded
What am I mis
On Oct 6, 2008, at 11:12 AM, 703designs wrote:
>
> It's...getting...bigger. Compare the archive sizes from 1.1.x to 1.2
> RC3. Sure, it's no Zend Framework, but let's try to keep the framework
> light and simple if possible. A web framework and simplicity may seem
> like oil and water at times,
It's...getting...bigger. Compare the archive sizes from 1.1.x to 1.2
RC3. Sure, it's no Zend Framework, but let's try to keep the framework
light and simple if possible. A web framework and simplicity may seem
like oil and water at times, but a concerted effort to limit the core
is important. Opin
Hi all,
Although the subject pretty much says it all, here it is again.. When
using Cake's i18n shell to extract all the strings, is it possible to
to use heredoc syntax in any way? If not, what is the suggested way of
translating long (and I really do mean *long*) strings?
My test up to now tel
Thanks for explaining the behaviour Mark.
I guess I should expect the same from the different Cake-related
projects dealing with migrations and things. They probably use the
same classes or at least the same methods of reading the schema. (The
ones I have peeked at the source for seem to)
/Mart
Just to help others who might help you, are you running the latest version
of Cake?
On Mon, Oct 6, 2008 at 10:34 AM, Marc Campeau <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> I'm having trouble with the HtmlHelper and the $scripts_for layout.
> Basically, I use the helper to add CSS inline ($h
As a new Cake user, I am having a bit of trouble transitioning from
writing my own MySQL queries, to letting Cake do the heavy lifting for
me. I think I have SELECT and INSERT down, but am still struggling
with UPDATE. Two questions:
1.) Is there a good resource I can refer to that shows examples
Yeah sorry, I thought I should have put that in the message.
I'm running off the latest code from the SVN Repository, checked it
out last week, Friday if I remember well.
Thanks for the heads up,
Marc
On Oct 6, 12:52 pm, "Lamonte(Scheols/Demonic)" <[EMAIL PROTECTED]>
wrote:
> Just to help othe
I have a few models with HABTM relationships
What I want to do is filter by two models in the relationship
Something like this:
$this->Model1->findAll("Model1.type = 2 AND Model2.id > 10");
I've played with containable behavior, but no matter what, it only
seems to search the first model.
When
Hi everyone,
I'm having trouble with the HtmlHelper and the $scripts_for layout.
Basically, I use the helper to add CSS inline ($html-
>css(array('someCss'), null, null, false);) from within the different
elements (/views/elements/) that the view needs to render. I would
have expected these CSS t
Got it.
On 10/6/08, Fran Iglesias <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> El 04/10/2008, a las 17:41, Lamonte escribió:
>
> > How do you do it.
>
>
> controller->render('view_name');
>
>
> --
> Fran Iglesias
> [EMAIL PROTECTED]
>
>
>
>
>
> >
>
--
Join cleanscript.com Come here for professional
> So that means if a software firm develops a commercial product based
> on cakephp he is able to sell the commercial product but his customers
> do not have the rights to distribute or sell it?
As I understand it, you can distribute and sell anything you make with
cake, and you can have a sep
For example, you can
- load necessary settings from db when you need them
- load all settings once and use Configure::store() (also called from
afterSave callback of this model), Configure::load() (called from
bootstrap) and then Configure::read() where necessary
- same approach as 2nd one, but wi
$this->Article->bindModel(array(
'hasOne' => array(
'ReviewCount' => array(
'className' => 'Review',
'fields' => 'COUNT(ReviewCount.id) AS review_count'
)
)
));
$articles = $this->Article->find('all', array(
'group' => 'Article.id',
'order' => 'review_count DESC'
));
h
for some reason on some of my cake pages i'm seeing the ascii for -
instead of the "-"... i'm seeing -
i'm using the html->link function and it happens in there. anyone know
why?
i'm on cake 1.1
--~--~-~--~~~---~--~~
You received this message because you are subsc
sdozono:
The following head tag was taken from docomo.jp:
http://www.w3.org/1999/xhtml"; lang="ja" xml:lang="ja">
The following head tag was taken from softbank.jp
http://www.w3.org/1999/xhtml";>
Maybe I have to set the language in the HTML tags as well.
Might try it tomorrow and see what
The importing of the tables is done through Model::schema() and
CakeSchema which are both oblivious to collation.
-Mark
On Oct 6, 9:20 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
> I still feel very much like a noob when writing tests, so patience
> please :)
>
> I have a Test for a
On Oct 5, 5:49 am, . <[EMAIL PROTECTED]> wrote:
> i am trying to use sanitize::html. my problem is that it even removes new
> line characters \n, which i want to keep. how would you handle this in cake?
> thanks
HTML collapses all whitespace to a single space. Like villas said,
check your source,
On Oct 6, 8:30 am, Jipson <[EMAIL PROTECTED]> wrote:
> Hi Friends,
>Now I am facing a problem that, in my project I havesome datas
> like (admin email, site name, payapal email etc) in my settings
> table.I have to get these all values throughout in my project like
> global variables in ph
sdozono:
That's interesting. I have created several websites in Japanese but I
always use UTF-8 and it comes out all right.
I just have to make sure that the tags contain:
I had trouble before with garbage characteds in UTF-8 if I don't set
the Content-Language tags. But after I set the Con
Would the following behavior from the Bakery help?
http://bakery.cakephp.org/articles/view/countercache-or-counter_cache-behavior
On Oct 3, 8:50 pm, "Matthew Camuto" <[EMAIL PROTECTED]> wrote:
> Apologies in advance. GMAIL auto-sent my last emal before finishing!
>
> hi there
>
> thsi group
Hi bookme,
The point of hashing data like passwords is that it can't be returned
to its original form. (except for brute hacking)
There is no way to "un-hash" the password.
I don't think I have ever filled out a form where the password was
kept when a validation error re-displayed the form.
It is
In the title string the front bit before "-" is from po file and the
end bit which is the problematic area is the one from $this-
>pageTitle:
オーストラリア大使館のカルチャーセンター - 悤
This is the broken characters "悤", it is supposed to say ようこそ.
Somehow from all these problems I figure that CakePHP hasn't go
Hi,
I am working on Signup action in users controller using Auth
component.
signup.ctp file includes username, password, password2(confirm
password).
Username
text('username', array('class' => 'fullwidth'))); ?>
Password
password('password', array('class' => 'fullwidth'))); ?
>
Confirm Password
p
Hi Anja
Sorry, I think I've replied too fast: $uses is for controllers, not
models... (I think you need to use App::import("Model","otherModel")
to use a non-associated model)
Anyway, if your model belongsTo your otherModel (and thus your
otherModel hasOne or hasMany your model), then from your
i want to use the $_SESSION['var'] variable in my third party.
so how can i access. is cake use the cookie for session. i want
$_SESSION. i am confused
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
hello from Japan.
I tested this case at my Japanese environment.
I saved your text in a text file with Shift-JIS format. (Japanese
Windows common charset)
After I opened the file in "UTF-8" charset, I got the same kind a
garbage character.
Hope that helps.
*Original and saved in Shift-JIS forma
Hi,
I don't think you are correct about that. Did you check the source
code of your browser output to verify that the \n newlines had really
been removed. You may find that they are still there :-)
Simply use: echo nl2br($your_string) to show the newlines as
breaks.
HTH
On Oct 5, 10:49 am
Thanks. So now that I've got everything configured correctly, I shouldn't
have to worry about curly quotes because Cake will convert them to straight
for me? No string manipulation needed inside of my app?
On Sun, Oct 5, 2008 at 10:12 PM, David C. Zentgraf <[EMAIL PROTECTED]> wrote:
>
> class DA
Hi Friends,
Now I am facing a problem that, in my project I havesome datas
like (admin email, site name, payapal email etc) in my settings
table.I have to get these all values throughout in my project like
global variables in php.What are the steps I have to do for it? Please
help me.
I would like to use an ajax upload in which users can fill the form
while uploading a file . But the problem is :
When you upload a file while filling the form . Where does the file
goes . If it uploads the file what happens if user close the page ?
The main question is how can I make an ajax
Hi,
> for some reason on some of my cake pages i'm seeing the ascii for -
> instead of the "-"... i'm seeing -
>
> i'm using the html->link function and it happens in there. anyone know
> why?
Set $escapeTitle to false, see
http://api.cakephp.org/1.1/class_html_helper.html#444f26b63f2193142b8016
Hi clemos!
Thank you for your helpful answer.
Another question: Is the $uses variable also necessary if my model benlongsto
the otherModel? Means it is already included in the $belongsTo array.
Or does the belongsto-relation only work for the foreignkey connection?
Thanks a lot!
Anja
-Urs
Yeah to my knowledge it shouldn't make a diff but this issue is really
baffling me.
オーストラリア大使館のカルチャーセンター - �悤
That is the HTML source from Firefox 3.
This issue is really baffling me as to why it is happening. I have
tested it out on Firefox, IE, Chrome an
On 6 Oct 2008, at 17:47, grigri wrote:
> Make sure that your charset meta-tag is BEFORE the title tag. In an
> older version of cake, the default layout had the reverse (title
> first) which meant that it wasn't parsed as UTF-8.
This shouldn't be the case.
An HTML document is not evaluated by th
$this->pageTitle isn't any different in my experience.
Have you checked that the .php file (your controller) is certainly
saved as UTF8? That depends on your text editor...
On 6 Oct 2008, at 16:03, exo_duz wrote:
>
> Sorry forgot to add:
>
> All other information is also set to UTF-8 such as t
Hi
Yes, it is almost total nonsense, IMHO, because you shouldn't need to
go through controllers to pass data from one model to another...
Accessing to a model from another associated model is done like that:
$other_model_data = $this->OtherModel->getValues($othermodelid); //
"$this" reprensents y
Hello,
I have a method in a model and want to read values from another model in
a method.
Model: Hotel
function getanothermodelsvaules($othermodelid){
//some code
$othermodel =
$this->requestAction($this->othermodels/getMyValues/'.$othermodelid);
//some more code
}
Ques
Make sure that your charset meta-tag is BEFORE the title tag. In an
older version of cake, the default layout had the reverse (title
first) which meant that it wasn't parsed as UTF-8.
On Oct 6, 9:20 am, exo_duz <[EMAIL PROTECTED]> wrote:
> David,
>
> That's what I thought as well, but I am using
FYI everybody:
I have yet to find a MySQL Schema manager (or diff-tool) that supports
field collations. This type of change is not picked up by any differ I
have managed to get up and running. If you are sure you have a tool
that does this I would be very interested in a quick reply.
Example fie
David,
That's what I thought as well, but I am using Dreamweaver CS3 9.0 and
it seems that when I open a new Document it will always be in UTF-8.
On Oct 6, 5:00 pm, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote:
> $this->pageTitle isn't any different in my experience.
> Have you checked that the
Hi,
El 04/10/2008, a las 17:41, Lamonte escribió:
> How do you do it.
controller->render('view_name');
--
Fran Iglesias
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To
i just upgraded to rc3 (from rc2), why does the admin routing break? i have
a :1 at the end of the urls...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php
Hi David,
All pages contain:
charset('UTF-8'); ?>
in the default layour (default.ctp).
On Oct 6, 3:22 pm, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote:
> That's simply an encoding problem.
> Is your .php file saved in UTF8?
> Are there UTF8 meta tags in the page header?
>
> Also see very
Sorry forgot to add:
All other information is also set to UTF-8 such as the App.Encoding in
core.php and also the database is set to UTF-8 in database.php.
I am using i18n and all text from the .po files are correct, it is
only when I try to pass the $this->pageTitle that the encoding do not
see
100 matches
Mail list logo