Whithout flash, you can use jQuery fileuploader plugin :
http://pixelcone.com/tutorial/ajax-file-upload-using-jquery-and-cakephp-media-plugin/
On 9 nov, 07:28, Shinya Koizumi sh.koiz...@gmail.com wrote:
I wouldn't use flash ( I just can't ignore iOS ) , but I would use this
On Nov 9, 7:32 pm, Miles J mileswjohn...@gmail.com wrote:
No there isn't really. This is also a problem for any language, and
unless you have back-end parsed JS files it's not possible. The only
solution is so place a JS literal object in your page source
containing the message strings:
Hello
Im getting this error message when trying to paginate.
Warning (512): Controller::paginate() - can't find model equipos in
controller EquiposController [CORE\cake\libs\controller
\controller.php, line 1104]
This is the function in the controller (line with arrow)
function
I investigated beforehand and this is fair use of a trademark. I'm not
trying to impersonate or cause confusion among CakePHP users by making
a CakePHP tutorial site... the word CakePHP is used nominatively.
If this were true, then many sites that contain trademarked names
would have to be
I have tried many times to use this plugin and I failed. I am
following documentation, but it does not work for me. I am posting the
simple code here, to know what wrong I am doing.
1-I put this plugin in this folder app/plugins
2- I add TinyMce helper to articles_controller
?php
class
The 1.2 cheat sheet is a thing of beauty. I have it printed out
poster size, framed and hanging on my wall at work. Is there any plan
to create one for 2.0? If not, does anybody have the 1.2 one in word
format? I would be willing to do the work to update it and convert it
to pdf for others.
I thoroughly researched this beforehand and this falls under fair
use for trademarks as it is used nominatively and does not cause
confusion. If not, alot of similar websites would also have to be
shutdown (Google photoshop tutorials, excel tutorials or similar
to see a great list of websites
Hi everyone.
I was looking for something so I figured out I might ask here :
I'm new to cakephp (frameworks in general), and I'm looking for a
tutorial describing how to create user profile (with perosnal url,
like mysite.com/profiles/user01 ).
Thanks ofr any help.
--
Our newest site for the
two questions:
a)why are you using both find(all) and paginate?
b) why do you use lowercase model name in paginate()?
On 9 Nov., 14:21, Jean Luis Morillo jeanluis.mori...@gmail.com
wrote:
Hello
Im getting this error message when trying to paginate.
Warning (512): Controller::paginate() -
i changed the form fields to username and password. could it be possible
that may not use usr and pwd?
It does not explicitly state this in the 2.0 documentation, but
'username' and 'password' have always been the default auth fields.
This is inferred by the fact the param keys are called
nothing happens. users cannot de-associate Articles and Pieces
So within your article/edit action what find calls are you making to
fetch the article and all pieces (related or not)?
Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new
* lays down his shield and breathes a sigh of relief * :)
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group,
personally I use
body id=?php echo $this-name = class=?php echo $this-action
Nice, gives controller and/or action style context to the layout.
*stars thread*
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
Hi
I worked a lot with the auth component and the routing but I'm still
confused whether the 2 complement or there's ways to work with everyone
alone. Here's my case and the problem I always get when working with the 2
together:
I use the auth component and let's say I want to create the
Hi there!
I'm having a hard time using namespaces in a cake2-created feed. I'm
trying to create an iTunes-compatible podcast-feed which requires the
itunes:-namespace.
Digging around the RssHelper-code I actually came to the conclusion
that it's either a cakephp-bug or simply not yet implemented
What is this cheat sheet? Where can I get one? Is there one for 1.3?
On Wed, Nov 9, 2011 at 12:07 PM, amykhar amyk...@gmail.com wrote:
The 1.2 cheat sheet is a thing of beauty. I have it printed out
poster size, framed and hanging on my wall at work. Is there any plan
to create one for
http://lmgtfy.com/?q=cakephp+cheatsheet
:-)
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email
I'm new to cake php, so I would have liked to know where I could get a
tutorial to create a user registration page for my website.
Thanks a lot.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org
Yup, it's right here.
http://cakephp.org/files/Resources/CakePHP-1.2-Cheatsheet.pdf
Where is the one for 1.3 and 2.0?
amykhar, you're better off using the old one as a template and building on
top of that for 2.0
On Thu, Nov 10, 2011 at 9:41 AM, Benni Graf bennig...@gmail.com wrote:
Hi,
I really don't get it sorted out...
my degault sort direction is ASC
in my view I have this:
?php
$sortDir = $paginator-sortDir();
$text = ($sortDir == 'asc')?__('getting higher',
true):__('getting lower', true);
?
?php echo
I have this element where I display a list of testmonials and now i'm just
creating them on the HTML, there's no data source.
I want to use something like *fixtures* to separate this data from the
view, but I don't want to use a new table for it, since I will not perfor
filters or anything where
That is very cool. If someone makes a personal one for 2.0, I would be
interested.
On Thu, Nov 10, 2011 at 9:06 AM, Yves S. Garret
yoursurrogate...@gmail.comwrote:
Yup, it's right here.
http://cakephp.org/files/Resources/CakePHP-1.2-Cheatsheet.pdf
Where is the one for 1.3 and 2.0?
One solution would be ArraySource from plugin
https://github.com/cakephp/datasources
- app/Config/bootstrap.php:
CakePlugin::load('Datasources');
- app/Config/database.php:
class DATABASE_CONFIG {
public $array = array('datasource' = 'Datasources.ArraySource');
...
}
-
Beauty of ArraySource is - conventional usage of model (although
limited a bit) - fields, order, limit, associations...
https://github.com/cakephp/datasources/blob/2.0/Test/Case/Model/Datasource/ArraySourceTest.php
--
Our newest site for the community: CakePHP Video Tutorials
http://book.cakephp.org/view/1261/login
http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html?highlight=register
On Thu, Nov 10, 2011 at 9:04 AM, centralizeme cen.tralize...@gmail.comwrote:
I'm new to cake php, so I would have liked to know where I could get a
You might want to add $options['direction'] as:
?php echo $this-Paginator-sort($text, 'OBJ_PREIS', array('direction' =
'desc'));?
Andras Kende
http//www.kende.com
On Nov 10, 2011, at 9:23 AM, heohni wrote:
Hi,
I really don't get it sorted out...
my degault sort direction is ASC
in
I also had trouble using tinymce. I then tried yui's rich text editor
and ran into a lot of styling issues and conflicts.
Finally I found ckeditor: http://ckeditor.com/. It works flawlessly
for me and is very easy to integrate, like 4 steps total.
1. Just download and put the ckeditor folder
I've done some reading around about CSS and how it could be applied.
This is my view:
http://bin.cakephp.org/view/1233273546
This is the CSS file:
http://bin.cakephp.org/view/1264404759
On line 360 in the CSS file, I'm trying to create a border around the links
that I'm creating on line 19 in my
We have some bug fix that are on HEAD that we are interested about. I was
wondering when the 2.0.3 will be available.
Best,
Chris
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help
I have went through that entire tutorial. I think the issue is coming
from when I have changed the user model and controller to account
as the name.
http://api20.cakephp.org/class/auth-component
$this-Auth-authenticate = array(
'Form' = array(
'userModel' = 'Users.User'
Without trawling through all of your css, I can tell you that you are setting
the class in the second parameter of the link function when it should be in the
first. Try changing line 19 to:
• echo $this-Html-link(
• $letter,
• array(
•
Typo. I meant third of course, not first.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 10 Nov 2011, at 19:43, Jeremy Burns | Class Outfit wrote:
Without trawling through all of your css, I can tell you that you are setting
the class in the second parameter of the link function
Here's the ticket on this Issue:
http://cakephp.lighthouseapp.com/projects/42648/tickets/2207-authcomponentsessionkey-property-cannot-be-changed
The only workaround is extending the authcomponent and doing your own thing.
Sad but true.
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ -
Cool, thanks. It looks kinda messed up at the moment, but that needs some
massaging.
On Thu, Nov 10, 2011 at 2:44 PM, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
Typo. I meant third of course, not first.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 10 Nov
If you were using MooTools, you could also just use the Locale
library.
http://mootools.net/docs/more/Locale/Locale
Really wish people would use Moo more over jQuery. jQuery is a designs
framework.
On Nov 10, 1:40 am, AD7six andydawso...@gmail.com wrote:
On Nov 9, 7:32 pm, Miles J
I've nothing against MooTools, but why jQuery is a design framework?
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt*
Assando Sites*,
use the head :)
thats what I do.
the only real difference is the naming^^ nothing fancy after all
On 10 Nov., 20:07, Chris Cinelli chris.cine...@formativelearning.com
wrote:
We have some bug fix that are on HEAD that we are interested about. I was
wondering when the 2.0.3 will be available.
Connect a route
from
/profiles/:slug
to
controller: Users
action: View
use a sluggable behavior
if you follow tutorials available at book.cakephp.org you'll a few tutorials
to get you going.
You may also benefit from seeing the CakeDC plugins on github Users for
example allows Account holders
Update:
Layouts and other View files will load properly from the Themed
folder. It's only assets like css and js that don't load. So it must
have something to do with the dispatcher?
PHP 5.2.17 is on dev server and 5.2.14 on production server.
-Corie
On Nov 9, 9:42 am, Corie
Fixed!
Theme folder names must always be CamelCased. The reason it worked on
development server is because of case insensitivity. That always gets
me.
-Corie
On Nov 10, 8:41 pm, Corie corie.sl...@gmail.com wrote:
Update:
Layouts and other View files will load properly from the Themed
Something similar happened for me before with a plugin missing it css and js,
finally tracked it down to a conflicting rewrite / cache settings for static
files in nginx ...
Andras Kende
On Nov 10, 2011, at 7:41 PM, Corie wrote:
Update:
Layouts and other View files will load properly
This cheatsheet is great, if anyone updates it for 2.0 please post
Best regards,
Kervin
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of
Justin Edwards
Sent: Thursday, November 10, 2011 11:29 AM
To: cake-php@googlegroups.com
Subject: Re: 2.0 Cheat Sheet pdf
This weekend
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
Kevin,
seo friendly urls in cakephp are very very easy…
below is the basic idea to do domain.com/video/return-of-the-jedi instead of
domain.com/videos/view/1
videos database table (add a slug field)
id | name | slug | …
1 | Return of the Jedi | return-of-the-jedi | ….
routes.php
I'm playing with Model::paginate() and would like to ignore belongsTo table
relationship. How could I make it? Is that possible?
Thank you.
--
Regards,,,
thom
http://mynameisthom.blogspot.com
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the
;)
Von: José Lorenzo jose@gmail.com
An: cake-php@googlegroups.com
Gesendet: 5:02 Freitag, 11.November 2011
Betreff: Re: Scheduled day for 2.0.3 release?
This weekend --
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
hi,
you can ignore ur table relationshop with
$this-yourModel-unbindModel('theModelThatYouWantToIgnore');
http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html?highlight=unbindmodel
or you can use recursive see here
There are multiple way to do this.. unbindModel is a very easy, just add right
before paginate code :
$this-Topic-unbindModel(array('belongsTo' = array('Category'), false));
http://book.cakephp.org/view/1045/Creating-and-Destroying-Associations-on-the-Fly
Andras Kende
http://www.kende.com
On
48 matches
Mail list logo