phpDesigner
ᐧ
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2014-03-02 10:08 GMT+01:00 Thomas von Hassel :
> Tangentially related to CakePHP, but what IDE (if any) are you guys using
> these days ?
>
> /thomas
>
> --
> Like Us on FaceBook https://www.facebook.com
No.
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2013/9/13 aram harutyunyan
> Hi
> Is it possible to create a plugin inside a plugin with CakePHP?
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
>
And you are talking to who? ;)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2013/8/25 Vanja Dizdarević
> A few possibilities to check:
>
> - Your domain's A records, MX records, SPF records (must be in order)
> - Check if the target server bounces an admin notice back to
Check for media view in cake book
Dne 6. avg. 2013 15:43 je "raj kumar Pustela"
napisal/-a:
> Hi to all,
>
>
>how to create download link on website in cakephp 2.0
>pls help me
>
> Thanks
> Rajakumar.P
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter
Second way. Because you can modify returned data before print/echo.
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2013/7/16 David Suna
> As a best practice, should a helper output content or return the content
> to the View?
>
> In other words, should the call to the helper
If you overwrite it in basics.php then you will always ovewrite it when you
update cakephp
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2013/3/13 onur
> is there any way to override __() in basics php ?
>
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
>
start reading book.cakephp.org :)
It's the best for beginners. There are some examples too :)
Good luck
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2013/3/4 Nematullah Atef
> Dear All,
>
> hope all is fine,
>
> recently i start working in Cakephp how can i do to
pe it helps
and if you have more fields than 2, you can make for loop and inside for
just change this "zero" to 1, 2, 3, 4, 5... how many fields you have.
Have fun!
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2013/2/28 kicaj
> I create form with many fields and fields for up
I think is paginate name for property, not paginator
Dne 11. jan. 2013 11:15 je "Sam" napisal/-a:
> Dear CakePHP experts,
>
> The default maxLimit for Paginator component is 100. For some reason, I
> would like to extend it to 1000 to all my controllers. What I did was to
> add the following code
make sure, that file below exists:
C:\wamp\www\cakephp\app\View\User\index.ctp
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/11/30 the beginner
> hello.
>
> im new here.
> somebody can tell me what should i do to overcome this error :
>
> *Error: *The view fo
Put this in htaccess:
Options -Indexes
If it's not good, make index.html file so it will open this file if someone
add '/img' to the link..
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/11/17 Daniel
> On my server space I have my "img" folder in the
$group['Group']['id']-$group['Group']['photo_secret'] here is problem...
try this
$file = new File(WWW_ROOT ."/img/group-banners/banner/" . $group['Group']['id']
. "-" . $group['Group']['photo_
i don't know if i understand you good, so i hope this is was you need:
use nl2br(); function when you print code
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/11/6 Chris
> hi guys,... I'm using cake 1.3,... how can I add tags in a
> form textarea so it can count
what..if you want to use datatables, than do not use pagination in cake
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/11/1 Panda Taruma
> iI am using jquery datatable. successfully ..
> but the data show a maximum of 100 rows.. anybody can share to me??
>
> --
> Like
render your template with $this->render(); and pass variables to it, than
here just print json_encode($variable); :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/10/31 Jeremy Burns | Class Outfit
> Completely - but how do I render the element as json? As soon as I do
> $thi
in controller for errors and print it..understand ?
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/10/31 Jeremy Burns
> Not an expert at jQuery, but getting there.
>
> I'm submitting data to a controller function that saves a record via ajax.
> If the save works, I'm
you need to change incldue path look at book.cakephp.com
and if i'm right you want to "hide" files from public so nobody can see
them. That's why cake uses .htaccess files ;)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/10/31 Piotr Beschel
> How to move cake
http://edapx.com/2012/08/14/crop-and-resize-images-in-cakephp/ something
like this?
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/10/28 Piotr Beschel
> Hello Bakers,
> I'm looking for Image crop resize helper + component for cakephp 2.X.
>
>
> --
> Li
your file is .class ??..and tell us which cake u use
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/10/16 Lucas Simon Rodrigues Magalhaes
> Hiii, good morning!
>
> I have a erro when I try load a third Lib in my controller.
>
> The code:
>
> App::uses('html
i don't understand what u want..
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/10/12 cosinusweb
> Hello,
>
> I' ve a table "recharge" which contain an id field from an other table.
>
> When I try to delete the linked id from mysql it does not work w
use "url" key in array list for FormHelper::create() method and create url
u like with cake's paths :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/10/3 Chris
> hi guys,...
> I want to create Form to submit in action 'compose' with "ID"
>
i think it should be $this->PhotoShow or $PhotoShow..i'm not sure :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/30 Ivan Rimac
> Html->link($this->photoShow->thumb($user_obj),
> '/photos/index/' . $user_obj['User']['username'
if($this->Session->check('user'))
$this->user = $this->Session->read('user');
if(!$this->is_user())
if u use Auth Component...than this will not work 4 sure...:)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/26 Jeremy Burns | Class Ou
t;dateFormatAfterFind($val['Event']['begindate']);
}
}
return $results;}
This code works, if you have "all" type for search, if you use "first", it
will not work..
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/23 d6games
> The 2.0 book documentation for
you need than create your custom pagination process...cake's pagination
system will not help you :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/22 sathishbabu R
> Thanks for great answer,
>
> Customizing array format is not going to complex, But here, I want
> pagi
i hope i understand you good, but pagination is created for records from
database..for ordering arrays and stuff like that use Set (in new version
is Hash) class from cake :)
http://book.cakephp.org/2.0/en/core-utility-libraries/hash.html
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9
it's $actsAs ... you forgot "s" :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/22 Jono Austin
> It's a behaviour and is integrated via $actAs - unless I am missing a step?
>
>
> On 22 Sep, 2012, at 7:05 PM, "Dr. Tarique Sani"
> wrote:
and ? it's not working ?
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/13 TonyCharlotteCakePHP
> Is it possible to set or change the limit of pagination globally for all
> controllers?
>
> I've tried adding the below to the AppController:
>
>
e cho $this->Paginator->prev('',
array('escape'=>false, 'tag'=>'li'));
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/13 heohni
> cho $this->Paginator->prev('', array('escape'=>false,
> 'ta
AppController extends "Controller" class...and in this class it was
automatically added this component.
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/13 McScreech
> Thank you very much, I had forgot to include the Session component.
>
> I haven't begun a
first..your controller should extends AppController, than make sure
SessionComponent in included in your component list :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/13 McScreech
> G'day,
>
> I do not understand how I induced this error:
> 'Error: Cal
the fuck..switched what ??
" when the hosting company switched to 5.0 " ??
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/11 damanlovett
> I have an old application that is using Cakephp 1.3, it appears that the
> app has been producing blank pages when the hosting com
but if you're on cake 2.x you need to use $this->viewClass instead of
$this->view
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/11 Yasir Arafat Hasib
> Hello
>
> Check the link i think this will help you
>
> http://arafats.info/cakephp-download-me &
try to print_r($this->params); and you will see that you need to use other,
not "url" key :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/8 girl
> I have such a code:
>
> $dif=$game['Game']['difficulty'];
> echo "Number of experim
if you need to call from model, than use Model::find() method in your
controller
probably you will need to use "find" associated with "count" type, so check
this:
http://book.cakephp.org/2.0/en/models/retrieving-your-data.html#find-count
--
Lep pozdrav, Tilen Majerle
http://
Like you said..you need to edit system paths :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/9/4 Eduardo Arruda
> Hello guys,
>
> First of all I'm having trouble to baking on Cake2.
>
> I opened this topic to learn the "how to".
>
> So, What I nee
or do like Greg said...good option :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/21 Greg Skerman
> no real need for ACL, or 2 seperate tables that I can see.
>
> Add a field to users called "role"
>
> then use isAuthorized() to allow access to the admin se
i think, you need this (
http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/simple-acl-controlled-application.html
)
and not 2 tables and all..
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/21 raj kumar Pustela
> hi to all,
>
t; --
> You received this message because you are subscribed to the Google Groups
"CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com.
> Visit this group at http:/
if you have associated Topic and TopicTree, than you can access in
controller with $this->TopicTree->Topic, if you don't have accociated this
2 models, than you can use $this->loadModel('Topic'); in your controller,
and then $this->Topic->myFunction();
--
L
i think that is not possible...try with elements
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/13 Jim Bracewell
> My aim is to retrieve the html of a view without user interaction
> (basically just call a function that returns the html that is generated for
> a specific
can you please describe your problem more ? :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/13 Jim Bracewell
> I am having a problem trying to call render on views from two seperate
> controllers and retrieve the html automatically to the original function.
> I tried $thi
$this->Weeklyroster->id = $week;
you must replace 'week' with 'id' :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/13 mohit kumar
> $this->Weeklyroster->week = $week;
--
You received this message because you are subscribed to the Google Group
i'm using second option. Model can be created with
ClassRegistry::init('ModelName'); to get model instance :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/11 sanjeev
> Hello,
>
> What is the best practice to display data e.g. list of products, events,
and what ?
we can now find this template or what ?
omg..
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/9 Rahul
> Hi,
>
> I am looking for some help to setup gebo admin template for my project,
> please share any useful links/info .
>
> gebo admin template is the
ok, i understand...
allow user to write some idk, php code, save it in database and than use
php's eval.
http://si2.php.net/manual/en/function.eval.php
eval will execute code :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/10 Sanjeev Divekar
> No it's not cache. I wa
it sound's like you cache some view. Why you don't just use Cache by
cakephp ?
http://book.cakephp.org/2.0/en/core-libraries/caching.html
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/10 sanjeev
> Hello,
>
> I am developing CMS which need to execute some php code e
i'm not understanding you well, describe more about your problem..
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/10 mohit kumar
> Any idea guys?
>
> *With Best Regards,
> Mohit Kumar <http://kumarmohit.com>*
> *+91-9582894570*
>
>
>
> On Thu
book.cakephp.org => Models => Retrieving your data...
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/9 mohit kumar
> Is it possible to retrieve data recursively for related models.
> For example,
> I have a table with Roster, which has Shifts and each shift has several
http://book.cakephp.org/2.0/en/installation.html
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/8 vikram sharma
> Hello
> Any body Suggest me to easy way installation of cake php
>
>
> --
> You received this message because you are subscribed to the Google
if you want to fetch like this, try this
Html->link($this->Andante->fetchLanguage('aside_addasfriend',
$opt_as), array('controller' => 'relationships', 'action' => 'addfriend',
$current_user['id'], $user_data['
you cannot "strip-down" nothing..
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/7 sanjeev
> Hello Everybody,
>
> I have developed CMS in CakePHP but Size of CakePHP installation is too
> high. Any idea how to stripped-down CakePHP installation (in terms of fil
probably because of cache :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/6 Serkan Sipahi
> thnx, it works :) i have a question, i get this strange problem sometimes,
> why?
>
> --
> *Von:* Tilen Majerle
> *An:* cake-php@googlegrou
and you need to enable ThemeView in controller
public $viewClass = 'Theme';
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/6 Tilen Majerle
> View/Themed/Frontend/Frontend/Layouts/default.ctp
>
>
> your path is incorrect
> it should be:
> View/Themed/
View/Themed/Frontend/Frontend/Layouts/default.ctp
your path is incorrect
it should be:
View/Themed/Frontend/Layouts/default.ctp
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/8/6 Serkan Sipahi
> View/Themed/Frontend/Frontend/Layouts/default.ctp
--
Our newest site for the commun
it always search for primary key, set $primaryKey variable in model to your
column
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/7/29 newt_e
> Hi,
>
> I've have two tables:
> authors, has a column called id (amongst others)
> books, has columns called id and autho
actually: paginate uses Model::find('all', $yourconditions);
in $yourconditions you can pass all things like fields, conditions, limit,
group, etc...
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/7/28 Mitchell, Kevin
> Thank you, Chetan:
>
> That was helpful; I j
$this->Post->getLastInsertID();
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/7/27 bigjimmi
> Is it possible within a Add() function to find the ID of a post just as
> its written to the DB?
>
> Basically I'm trying to create a ACO for the post when its saved by
this is group for help, but you have to corrent describe your problem, give
us your details (cake version, php version, server type, problem)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/7/16 Lboogie
> Are you able to help or not...isn't this what is group for? Excuse me
Like "MarcoArruda" said...use elements or more describe your problem..
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/7/16 MarcoArruda
> What are you trying to do?
> Maybe there's another way to solve this..
> Did you try using elements?
>
> Em segu
this is not corrent, do this:
$this->data = $this->ProductGroup->find('first',
array($this->modelClass . ".{$slug}" => $id));
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/7/13 astralravenko
> $this->data = $this->ProductGroup->fin
this code is for cake TO 1.2. This code will fail on newer versions of cake
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/7/13 Ain Devonshire
> can you translate this to english?what is maak?
>
>
> On Saturday, June 9, 2007 5:01:29 PM UTC+8, Watcher wrote:
>>
>
you can use Tree Behavior to properly nested menu items, then use
Model::find('threaded'); and you will get nested array, then just
recursively go through all array and make html output with ul and li.
Then use css or jQuery for nice user display (Mootools, etc..)
--
Lep pozdrav, Til
'loginRedirect'=> array('controller'=>'users','controller'=>'edit' ),
'logoutRedirect'=> array('controller'=>'users','controller'=>'logout' )
you have twice 'controll
you get any errors ?
App::uses('Folder', 'Utility');
$folder = new Folder(APP . 'View' . DS . 'Pages' . DS);
$readed = $folder->read();
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/7/9 Shahruk Khan
> $Folder = new Folder('');
Router::connect('/*', array('controller' => 'users', 'action' => 'view'));
i think you need to add this at the bottom, buuut
this roule is not valid if i'm right
Router::connect('/*/profil/*', array('controller' =&
your path structure is incorrect, PluginName failed after "Plugin" and
before "View"
And second
Try this:
$this->element('Think.sub\subOne');
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/7/6 LiveJin
> The error log:*Element Not Found: Elements\su
http://majerle.eu
2012/7/3 David Lozzi
> Hi There,
>
> I'm new to PHP. I installed PHP/MySql using Xampp. I downloaded CakePHP
> into a directory called caketest. When I land on the home page I get two
> red issues around security (blog tutorial said that's optional), all green
> except for da
because this is php error
you can not use methods/functions when declaring properties in class
use this in AppController:
public function beforeFilter() {
parent::beforeFilter();
$this->Auth->userScope = Configure::read('User.ACTIVE');
}
--
Lep pozdrav, Tilen Majerle
h
in your controller
$this->redirect(array('action' => 'view'));
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/6/28 kwixson
> How do I redirect a user from the index action to the view action if the
> user has a particular role (i.e., member, as opposed t
Form->input('UserProfile.id'); ?>
try add this line :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/6/28 cronet
> Form->input('User.id'); ?>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out
$var = $this->Login->find('list',
array('fields'=>array('Category', 'Category'),
'conditions'=>array('Login.username'=>$dbuser['Login']['
username'])));
or disable primary key
you need to activate plugin
CakePlugin::load('Utils');
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/6/19 Jeremy Burns
> I'm just breaking my way into CakePHP 2. I'm trying to attach the
> SluggableBehavior from the CakeDC Utils Plugin to a model and am reall
before you call $this->paginate('Post')
do this
$this->paginate = array('Post' => array('conditions => array('User.id' =>
$id)));
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/6/18 JonStark
> Here is the function I use to displa
$this->Cookie->time = '365 Days';
you missed "+" so
$this->Cookie->time = '+365 Days';
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/6/17 Daniel
> $this->Cookie->time = '365 Days';
--
Our newest site for the community:
CakeSession should be used as static, like CakeSession::read(), ::write(),
and so on, like below
App::import('Model', 'CakeSession');
CakeSession::yourmethod();
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/6/14 Umashankar Pandey
> App::import('Model',
if is problem only with deleting of habtm...check this then
http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#hasandbelongstomany-habtm
and look at 'unique' key in habtm relationship :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/6/12 ce
HP Questions site http://ask.cakephp.org and help
others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
at http://groups.google.com/group/cake-php
>
--
if i understand you good you need to translate large part of files...
use Poedit program
and use this tutorial to set up for searching in files
http://planetcakephp.org/aggregator/items/2411-internationalization-and-localization-in-cakephp
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012
can u describe your problem more clear please :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/6/8 georgio ch
> How can i validate a page inside default layout so that when i change
> page the default content must change or stay the same depends the
> page i am clicking
>
ok, tell us if you will still have problems :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/6/5 Benjamin Allison
> How did i miss that?! I think that's the right answer.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
nt
PS: if I don't understand you correctly, soory :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/6/5 Benjamin Allison
> So afterFind works fine and dandy when I'm within the corresponding
> model/controller. However, when calling an *associated* model, the data
> s
do you manually define it in app/webroot/index.php?
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/6/2 Miles J
> Search and find out where its being defined twice.
>
>
> On Saturday, June 2, 2012 8:55:14 AM UTC-7, alvin567 wrote:
>>
>> Notice: Constant CAKE_C
Table 'test.cake_errors' doesn't exist
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/5/19 Florin Trifu
> Table 'test.cake_errors' doesn't exist
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out th
in your __construct() method for component, first parameter is
ComponentCollection $collection object.
>From here you can store controller to component like
$this->Controller = $collection->getController();
then params you have in $this->Controller->params
--
Lep pozdrav, Til
which cake version ??
$ajax is helper, if you use Cake 2, than use $this->Ajax instead
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/5/1 Ankit Patel
>
>
>
>link(
> 'Response will be add at the top of selected element',
> array( 'controll
does folder "cakephp" in your webroot exists ??
if u use xampp for linux, then default webroot is "htdocs" folder inside
xampp, check there..
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/4/30 darryl bautista
> hi, i have a problem with my apache2, when i
you got this error because key 'password' didn't exists :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/4/29 Charles Blackwell
> $this->data['User']['password']
>
--
Our newest site for the community: CakePHP Video Tutorials
http
Yep...cake's book says that you should there hash password :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/4/29 Tilen Majerle
> only PHP basics :)
>
> public function beforeSave()
> {
> if (isset($this->data['User']['password'
only PHP basics :)
public function beforeSave()
{
if (isset($this->data['User']['password'])) {
$this->data['User']['password'] =
AuthComponent::password($this->data['User']['password']);
}
return true;
}
Every hosting site should support CakePHP :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/4/29 zer0_gravity
> Could you recommend a few good web hosting site that support CakePHP?
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.
use uploadify
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/4/16 bs28723
> Anyone know of a good progress bar for file uploads?
>
> Don't need anything fancy, just something that gives users visual
> feedback that the large image file they are uploading is taki
you have to set view to json
public $viewClass = 'Json'; something like that :)
read manual again :D
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/4/14 Serkan Sipahi
> Hi all,
>
> I want to create a JSON response! Scripting my file according to the
> manuel: h
ur cake version is ?
and instead of this Form->create('Image',
array('enctype' => 'multipart/
form-data')); ?>
use Form->create('Image', array('type' => 'file')); ?>
and in your controller simply debug $this->
tell us ur error and version u're using for tinymce and cakephp (all, not
just "2")
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/3/29 Raj
> Hi Guys,
>
> I am integrating tiny mce editor using cake php 2.
>
> I got error using this plugin http://cak
just don't use array_values in foreach and should work
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/3/18 luftlinie
> hi everyone,
>
> i have an array "$book['BookAttachment']" like this:
> ==
>
> Array
> (
&g
http://book.cakephp.org/2.0/en/views.html#elements
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/3/16 Fabiano
> I'm using User Management Plugin.
>
> My default layout has an element that I wanna to render one plugin's
> view (login.ctp).
>
> How can i g
or render is the same
use $this->Controller->set(); and $this->Controller->render();
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/3/11 romel javier gomez herrera
> App::import('Model', $key);
> $this->$key = new $key;
>
--
Our newest site for the co
you can load model to controller, so something like
$this->Controller->loadModel('ModelName') and then you can use it with
$this->Controller->ModelName->methodName();
or you ClassRegistry::init('ModelName'); to initialize a model :)
--
Lep pozdrav, Tilen Maj
maybe u have to use $this->assertEquals()
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/3/10 Jordy van Kuijk
> Hi all,
>
> I'm trying to set up some test case for my *User* model with CakePHP 2.0.
> I'm following the book and wrote my first test class:
>
&
1 - 100 of 504 matches
Mail list logo