Let's
say I want to get the German or Korean locale code, is there an easy
way of getting them? Like a function perhaps?
Get it from where?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post
Thanks for the reply, Brian. Peculiarly, Rumpelstiltskin seems to have
been working over the weekend as this now functions.
For anybody else's reference, the syntax is:
$this-Node-removeFromTree($id,true); // deletes parent and moves
children up one level.
or
@Paul
I've recently been trying NetBeans again and noticed the problems you
describe. On the Mac, installing the latest updates (there were three)
did the job. On Ubuntu, I moved up to 6.8 and that solved it.
@evilbloodydemon
I haven't tried this bundle yet, but when I do I'll report back
On 14
Okay, sorted. I did it this way:
RedirectMatch ([A-Za-z0-9-]+)\.html$ http://website.co.uk/$1.html
I used the alphanum regexp instead of (*.) in order to drop the cake
webroot portion of the URL, i.e. only return the portion after the
final '/'
On 25 Sep, 12:12, leo
I had a problem with Ubuntu as well, but I think you are passed this
stage:
To enable mod rewrite, you need to add a symbolic link to the module
definition file, which lives in /etc/apache2/mods-available, to the
folder: /etc/apache2/mods-enabled. Do this by first changing to the
mods-enabled
If you are, then make sure that you have .htaccess files in all the
right places. I have found that Ubuntu often doesn't copy them with
the other stuff (usually just the one in the root of the structure
you're copying).
You shouldn't need to do anything with permissions on the cake folder
as it
If there's no significant overhead, it makes me wonder why it isn't
there by default.
On Aug 21, 1:53 pm, Bert Van den Brande cyr...@gmail.com wrote:
Can't think of any reason :)
On Fri, Aug 21, 2009 at 2:16 PM, leoponton@gmail.com wrote:
Is there any reason why it wouldn't be a good
Yep, my mistake. what I meant when I asked was...
Does anyone know of a knowledge base / wiki application built with
Cake?
On Aug 6, 12:00 am, Miles J mileswjohn...@gmail.com wrote:
What your asking for seems more like a full blown plugin, not a
component.
I for one havent heard of anything
so no - write in english or post in in the corresponding Malaysian
cakePhp forum
thats my opinion
The post was in English about something written in Malay.
by the way:
every Malaysian developer who wants to try out cake would need to
understand English anyway
And therefore, most Malaysian
@ JAmesF
Sources have sources. It's a tree thing. Wikipedia was my source.
Researchers and their studies/articles/whatever are, according to your
argument, not sources as they cite information gathered from another
source. It goes on.
source: a person, book, or document that provides
i dont think a lot of people are able to read that - or know the
language at all
i wonder... why not using ENGLISH in the first place?
I can only assume you made this comment to raise some hackles. While
we're at it why don't we just abolish German (I assume that's your
first language)?
What I am saying is that each time I view another page, the $html-
_crumbs array is redeclared. There is no trail of crumbs for Hansel
and Gretel to follow, only the last one they dropped.
I have used this before with great success, but not now.
I want (and expect) something like:
I'm not sure I fully understand you here.
The $currLang routine is just there to switch the language between
link text. It's really just aesthetic.
I don't do any language switching on the database. This just pulls
messages out of the po files in the required language.
Leo
that there is one in my fragment).
L
On Jul 28, 7:29 am, Yannis ikasso...@gmail.com wrote:
Hi leop,
Thanks for the code. I've used it but I get the following error:
Warning (2): Cannot modify header information - headers already sent
by (output started at .../config/routes.php:49) [CORE/cake/libs
Do I have to add something else to change the database locale?
No, I don't think so. That's all I have!
I can only suggest that you look carefully at the folder names and the
two or three letter acronyms to ensure that you have the correct ones
in the correct places.
Start with just two
That query won't work because, as you have described, the column name
does not exist on the table product. Without seeing your datamodel,
it's impossible to suggest a solution, but I suggest you look at using
'containable'.
Leo
--~--~-~--~~~---~--~~
You received
No ideas on this? I'm beginning to wonder if it's a bug.
L
On 17 July, 14:21, leo ponton@gmail.com wrote:
Some time ago I use the bread crumb functionality of HtmlHelper
without a great deal of difficulty.
Now, a year or so on, I'm at it again. This time I'm developing in a
full
Try this link: http://tinyurl.com/4w3d49 (p28n, the top to bottom
persistent internationalization tutorial.) That's what I used.
Switching languages can be awkward, depending on how and where you're
doing it. I'm looking out some examples for you - might be a little
while though as I'm working
The site is one I did a while back.
I will have access to the code when I get home - about 3-4 hours from
the timestamp on this comment.
I used poedit to do the extraction, not the console as, like you, I
found it very buggy.
The rest I'll check later and get back to you.
L
The database table names ought to be plural, viz: MEDICINAL_DEVICES,
USERS etc. Cake is intelligent enough to handle plurals such as
COMPANIES (COMPANY).
In the model definitions, the model will be the capitalised singular
version of the tablename, e.g. User
Foreign keys are singular, e.g.
@ Mark - Thanks. I'm just interested to know how many downloads
convert into real world applications.
As for the actual figures, it might be appropriate to list the
#downloads on the cakephp.org landing page, as well as the size of the
Google community. These are numbers that sell.
I skipped
Well this group, for example has 11311 members. How many times has
CakePHP been downloaded? How many sites that aren't scratch sites are
known to have been built with CakePHP? Are there any BIG users -
Joomla list theirs on their site: MTV, UN etc. It really wasn't such a
difficult question.
I
Are there any reliable statistics for real sites built with Cake?
#1 reliable does not go well with statistics ;)
Number of downloads is a reliable statistic.
#2 I don't really understand what you mean by *real* for that matter I am
not familiar with *unreal* sites either
real: actually
On Feb 24, 11:48 pm, BrendonKoz brendon...@hotmail.com wrote:
Can't Magento be used as a CMS as well?
Well, it _is_ a CMS, albeit a specialized one.
Cake can also be used to
manage certain areas of the other packages if you modify the useTable
information. There were a few blog posts I
http://www.website.com/product.xml?x=.$this-$data[$this-$name]['value1'].y=.$this-$data[$this-$name]['val
ue2'];
I see whitespace.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this
25 matches
Mail list logo