Hi everyone!I need some help!
I'm trying to use twitterbootstrap plugin on cakephp 2.0.I was
following the tutorial from github and it says that I have to put the
plugin in app/Plugin/TwitterBootstrap/webroot folder.I didt it and
loaded all the plugins with CakePlugin::loadAll() and it also says
Thank you for your input, lowpass, and excuse my late reply.
I found out that what I had to do to get it to work the way I thought
it would work was quite simple - despite my having echo
$this-Js-writeBuffer(); at the end of my default-layout, I've
included the line on every, which of course
Let's say that your current validation rules in model Contact looks like:
public $validate = array(
'street' = array(
'allowEmpty' = true,
'rule' = array('minLength', 4),
'message' = 'At least %s characters required',
),
'postcode' =
I am new to CakePHP and am following the Packt Publishing book to get used
to the tool (and challenge myself following 1.2 wirtten apps on 2.1.2).
It's working well however I am stuck with basic scaffold as described in
the books and online documentation.
I am running MySQL 5.5 on Ubuntu Linux
jhonnatas where did you find it? Please share the link, i configured the
twitter bootstrap manually in my project.
2012/5/7 blaster jhonnatas.ai...@gmail.com
Hi everyone!I need some help!
I'm trying to use twitterbootstrap plugin on cakephp 2.0.I was
following the tutorial from github and it
Check id field in the db
It looks like they are empty
Andras Kende
214 799 1177
and...@kende.com
http://www.kende.com
On May 8, 2012, at 4:07, Ludovic Ferre ludovic.fe...@gmail.com wrote:
I am new to CakePHP and am following the Packt Publishing book to get used to
the tool (and challenge
You are absolutely right.
So should I set the ID filed to autoincrement or would the scaffold take
care of that?
Ludovic
On Tue, May 8, 2012 at 2:02 PM, Andras Kende and...@kende.com wrote:
Check id field in the db
It looks like they are empty
Andras Kende
214 799 1177
and...@kende.com
Dang, of course I should. Let me correct that now :D.
On Tue, May 8, 2012 at 2:11 PM, Ludovic FERRE ludovic.fe...@gmail.comwrote:
You are absolutely right.
So should I set the ID filed to autoincrement or would the scaffold take
care of that?
Ludovic
On Tue, May 8, 2012 at 2:02 PM,
Ah ah.
It's all fixed.
Thanks for the quick check. I'll remember that one!
On Tue, May 8, 2012 at 2:13 PM, Ludovic FERRE ludovic.fe...@gmail.comwrote:
Dang, of course I should. Let me correct that now :D.
On Tue, May 8, 2012 at 2:11 PM, Ludovic FERRE ludovic.fe...@gmail.comwrote:
You
Some suggestions?
Thanks!
Il giorno lunedì 7 maggio 2012 10:33:41 UTC-3, manzapanza ha scritto:
I'm trying to Save and Validate categories with 3 translations for the
field 'name' using TranslateBehavior.
I have a problem with the validation of the field with Translation.
Hello.
I need help with defining some unusual routes.
Here are my 2 tables Colors and Products:
mysql select * from colors;
++--+
| id | name |
++--+
| 1 | blue |
++--+
mysql select * from products;
++--+--+
| id | name | color_id |
I was wondering how relevant is to translate* CakePHP core terms or its
default app/. Are there core translations initiatives by the community or
the biggest effort is focused on CookBook??
* I'm talkin about terms, not validation rules.
By the way, how to localize core terms? Where should I
Hi,
I also have the same problem with cake php application, SQL Error:
2006: MySQL server has gone away [CORE/cake/libs/model/
datasources/dbo_source.php line 673]. can anyone help?... it's urgent
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
hi Ludovic Plese check these in your site i hope these work for you.
1. Make sure you set up your DATABASE_CONFIG is setup correctly
(database.php)
2. Check that your tmp folder (and all of it’s sub folders) are writable
(at least chmod 666 on Linux),
3. While you’re there delete
I'm not an expert on routes, either. But I would start here to find
out.Routing Cookbook
v2http://book.cakephp.org/2.0/en/development/routing.html
Sincerely,
Michael Stelly
mobile: +1.918.978.2000
skype: mjstelly
LinkedIn http://www.linkedin.com/in/mstelly
On Tue, May 8, 2012 at 7:26 AM,
On Tue, May 8, 2012 at 1:26 PM, Confused Dev confused.de...@gmail.com wrote:
Hello.
I'd like to have links like this:
http://example.com/items/blue/bowl/1
I don't even know where to begin to make it produce automatic links
like that. Any help would be greatly appreciated.
You could try
Can you throw some background on what you are trying to achieve (why these
links?)?
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 8 May 2012, at 14:29:16, Mike Griffin wrote:
On Tue, May 8, 2012 at 1:26 PM, Confused Dev confused.de...@gmail.com wrote:
Hello.
I'd like to have
Hi Stork,
thanks so much for your answer.
I have these fields for my basic contact form: first_name, last_name, email
and phone.
For my catalog form I would like to use the same model, just need to
validate also the fields: street, postcode, city and country.
What you do, is to kind of ignore
Hi,
I am just about relaunching a website and they gave out tons of QR Codes
with links like:
www.domain.com/detail.php?id=1234
What can I do to catch all this domains having the details.php?Id= and
forward this to (controller=detail action=index, 1234)
Is there a way to handle this with
hi,
what is your speed expectation ? do you have any minimum and maximum time
limit ?
why not try to do the save only once...like firing all the insert in 1 shot
to the db.
or just create raw insert command and run the execute..
On Tue, May 8, 2012 at 12:27 AM, John Hardy
I answered on ask.cakephp.org for a long time, but it logged me out on a
regular basis and didn't give me notifications when people commented or
asked further questions, so I would have to revisit questions just to see
the activity. I've started answering on StackOverflow instead. I agree that
/app/Locale/fre/LC_MESSAGES/cake.po (French)
create cake.po use PoEdit to translate it . It take you several hours to
translate , not lost too much your time ..
When you done with translations then post a article to
http://bakery.cakephp.org
--
Our newest site for the community: CakePHP
Put this code ( modify it fit with your code ) in boostrap.php
if (preg_match('/details\.php?id=(.*)/', $_SERVER['REQUEST_URI'],
$match) !== false) {
if (isset($match[1])){
$location = '/details/index/' . $match[1]
CakePHP 2.0 has Router::redirect()
http://book.cakephp.org/2.0/en/development/routing.html#redirect-routing
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
https://github.com/cakedc
search *users* , this plugin is stable at 95% , 5% isn't stable . but it
is good, you can see and get code from it .
Now , it is best, if you develop users magnagement for yourself. Then you
can easier to fix any errors happen.
--
Our newest site for the community:
https://github.com/cakedc
search *users* , this plugin stable at 95% , 5% isn't table . but it is
good, you can see and get code from it .
Now , it is best, if you develop users magnagement for yourself. Then you
can easier to fix any errors happen.
--
Our newest site for the community:
Thanks Vikram, it was a user error indeed as I forgot to set the Id as
primary key not null auto_imcrement!
Le 8 mai 2012 15:18, vikram sharma vikramka...@gmail.com a écrit :
hi Ludovic Plese check these in your site i hope these work for you.
1. Make sure you set up your DATABASE_CONFIG
hi
http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#FormHelper::month
i have run this line
echo $this-Form-month('mob', null, array('monthNames' = false));
and i see this error:*Fatal error*: Unsupported operand types in *
lib\Cake\View\Helper\FormHelper.php* on line *1990*
HHiHi,
I have Servers and People table. Hi,
Hi,
Using cake version 2.x.
I have Servers and People table
All sys admins contact are put into People table.
Each server has *one* primary sys admin, and *one* secondary sys admin. I
create primary_sys_admin_id and secondary_sys_admin_id in
So sometimes the results for my model finds seem to very between the
two formats:
$results['Faction'] = array()
and
$results['Faction'] = array('id'=null, 'name'=null)
What determines the two? I would prefer that it always give me the
listed fields with null values, but I am unsure what is
you can usually find the latter in belongsTo relations.
cake will then return the result with those values set to null.
if you have hasMany relations (a separate query) it doesnt make sense to
return lots of empty result sets
and therefore it would just be an empty array
Am Dienstag, 8. Mai
about the folder: Oh, of course!! Thanks for notice me, I didn't connect
the dots: the core's localization .po goes in the app folder, that is it?
yeah, I agree this is really a hard work and important. I just asked
because I'm about to start to colaborate on translations (terms or
cookbook)
i think the docs are outdated in this case.
there are only 2 arguments in 2.x
see the class itself for details.
(any decent IDE would have pointed that out to you directly, though)
Am Dienstag, 8. Mai 2012 18:46:41 UTC+2 schrieb hoss7:
hi
yes,thank you
On Tuesday, May 8, 2012 9:16:41 PM UTC+4:30, hoss7 wrote:
hi
http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#FormHelper::month
i have run this line
echo $this-Form-month('mob', null, array('monthNames' = false));
and i see this error:*Fatal error*:
For my catalog form I would like to use the same model, just need to
validate also the fields: street, postcode, city and country.
If validation rule doesn't contain 'required' = true, then it is not
processed, if proper field (key) doesn't exist in model's data. It means -
just with
We're in the process of upgrading our existing 1.3 install to 2.0.
After running the upgrade shell, I got this error when trying to load
the main page:
Fatal error: Cannot redeclare config() in /Applications/MAMP/htdocs/
rdi_dev/lib/Cake/basics.php on line 43
When trying to bake, I get the
I have downloaded cakephp 2.0
I'm learning cakephp, and try to bake model, controller and views...
I have bake a project to..
But then I have see that the code generated by the bake script is following
previulsy convention...
The app_controller file is located in the main directory and is not
Obviously because you have executed the 'cake' command for a previous
version, make sure you call the shell for 2.0 instead
On Tuesday, May 8, 2012 1:09:24 PM UTC-4:30, gabrielem wrote:
I have downloaded cakephp 2.0
I'm learning cakephp, and try to bake model, controller and views...
I have
I'm new to CakePHP (and also PHP) and I've started a project that uses it.
I'd like to implement a DataSource to use with CouchDB and I'm wondering if
there is some source of information to do so, other than this one:
http://book.cakephp.org/2.0/en/models/datasources.html. There, I can find
an
Thanks.
On Tue, May 8, 2012 at 1:39 PM, euromark dereurom...@googlemail.com wrote:
you can usually find the latter in belongsTo relations.
cake will then return the result with those values set to null.
if you have hasMany relations (a separate query) it doesnt make sense to
return lots of
40 matches
Mail list logo