View Full Version : CakePHP
- Is there a way to nicely format text from database with cakePHP?
- Is there a way to add methods to a controller through a component in CakePHP?
- Is there any sort of "App" Shell in CakePHP?
- Cakephp way of getting the execution time for a page request?
- Are CakePHP configuration variables applicable just to a specific session?
- How to I match empty string only with regex?
- Is there a way to connect root (/) to my dashboard controller?
- Does cakePHP use MD5 for the passwords?
- Whats the difference between sammy an prototype?
- How do I run a report that takes longer than 30 seconds to generate?
- How to create error "layouts" in cakephp 1.3?
- Does it matter where schema phps are in the directory tree in order to migrate them or create them?
- Would this be the right way to switch a datasource ?
- Is it pretty self evident how it works?
- If Member HABTM Department and viceversa, $this->Member->Department->find() gives me an array where
- Is there any way to see in the sql debug log the line in the controller or model where a query is be
- Is there sha1 encoding with diffrent length?
- Is there a way to check if the class has already been initialized?
- Is there a good place with actual code examples of cakephp?
- Is it valid to have in Security.salt not utf-8 chars?
- Is calling getLastInsertID() safe if multiple users are saving crap to my db?
- Is there a reason then it would show up in the error log?
- Is getting another server in order to have a new ip really the solution?
- When I try to print an image through the paginator's sort() method, it replaces < with < etc. -- how
- How to set a redirect in case of "page not found" errors?
- Are there any good prebuilt photo album plugins/etc build in cakephp?
- Would you like to create some basic class methods index add view edit?
- Is it reasonable in cakephp to use Configure::write('foo', 'bar') to add those to the configuration
- If you guys where setting up a user on your linux production server that was going to be pulling / c
- If I have a blackholecallback for a form token failure, how can I pass parameters to it so I can dis
- Whats the best way to interact with session variables when using javascript?
- Do you want to hide stuff on future page loads after an option has changed, do you want to hide some
- Is it a bad idea to make a redundant foreign id so I don't have to traverse 4 models to find it?
- Is there a way to pass data directly from a controller to a helper instead of controller=>view=>help
- What's the way to use special characters when setting pageTitle?
- Is there a way I can see the generated sql statement programmatically?
- Can I use $form->select in a loop with same options in 7 combo boxes ?
- If I need to implement three-layer template inheritance (rather than the two-layer system made easy
- Would you like to create the basic class methods for admin routing?
- How can I get the username from Auth in View after the user is loged in?
- Is that the only right way to handle changes in submodules?
- How can I access a helper from inside the controller, is I can set some values for the helper?
- How can I change the default style of the radio button (from horizontal to vertical) ?
- Does the content of bootstrap or other files in config changed ?
- Is there a way to get the name of the method being invoked during beforeRender?
- If I don't have the time helper, how would I format an sql date?
- If your controller/view doesn't have a model (for a general search page), how do you fee information
- How can I have sub set of array containing dates month wise ?
- What's a common reason that paginate fields to return even an empty array?
- Can I make variable names on a object containing spaces?
- Is it possible to render a view that belongs to a plugin out side /app in a controller action that i
- What would be the connect pattern for a string like "test_+_bla" ?
- Is it possible to make an object "have" different types of models?
- How can I put data from my controller to my helper?
- If I want to use all the same settings as before (except for a few I changed), is it necessary to ru
- How to set routes like that, if I want to access any location(URL) that is not present in applicatio
- When using $this->updateAll from a model why am I getting Unknown column 'User.User' in 'field list'
- Is there a better way to include cake's core in more than one project?
- Is there some way to switch off any/all output buffering/filtering in cake?
- Can I get to that from the route.php config file?
- If your controller/view doesn't have a model (for a general search page), how do you fee information
- Does cakephp have a wrapper around super globals like $_GET?
- Are there any decent plugins that record changes to a model's data?
- Is there a way to get a call trace on cakephp?
- Is this http://nuts-and-bolts-of-cakephp.com/2008/10/16/how-to-validate-habtm-data/ still a valid ap
- Is there a difference between $this->params['isAjax'] and $this->RequestHandler->isAjax() ?
- Is it possible to get a localized output from Time helper's timeAgoInWords method?
- Is it possible, that it's not mentioned yet in the blog example that helpers have to be added?
- Will ldap authentication make it into the cake bundle?
- If I'm renaming an uploaded file in a behavior (and saving the new filename), what's the best way to
- Is it possible to access an object property by trying to access the object itself?
- Will auth still auto hash, if login field is set to username, instead of email ?
- Do you want access to all groups?
- How can I get cake to auto make a select checkbox type thing via cakebake?
- Do Sessions work alright in 1.2?
- How do I go about changing the default path for the image helper?
- Is there a way to get am/pm time with the time helper?
- If I call $this->render() will stop execution of whatever goes below?
- Can I use 'rule'=>'isUnique' for Creation and updation at time?
- Is there a cakephp roadmap where I can see future changes/features etc.?
- Is there a program to make find wizard ?
- Is there a program to make find wizard ?
- Will it open 1 window first, and then use javascript to popup a second and close the first?
- Are there any helpers for getting recursive file /directory lists?
- Is there any type of a log that tells us why cake isn't using it?
- How do I get a single value out of a data model?
- Is there a way Ican fake an authentification for testing controllers?
- Is there a way to make cakephp create tables as needed if they don't already exist?
- How can I make the caching create a folder if it does not exist?
- Is there a way to tell if cake is being run from a console?
- Is it fine to use a cron_dispatcher rather than a shell for cron jobs?
- Can someone look at this array question - trying to extract data from each but different data each t
- What would be the best way to set my header content-type to image/png within the mvc pattern?
- Is there a way to control the order of the fixtures loading in simpletest?
- Is it possible to redirect a user to the page I redirected them to after they logged in, if they try
- Does someone have any experience in openid identity?
- How can I change something in the Cookbook?
- How can I abstract the form from the add and edit views. Should I create an element or can I load a
- When a user goes to http://test.com/test and there is no controller named test, how do I force cakep
- Is there a clean way to make some kind of soft-delete behaviour in some models ?
- Is there a way to remove routing prefix on an Auth logoutRedirect(); ?
- What is the best way to include a global list of error codes in my app?
- When using a join table (habtm) should I set both id's as foreign key and drop the primary id auto_i
- Do you know if I can set attributes of an <option> tag using e.g. the $this->Form->select() ?
- If you use set('tablename', $this->paginate()) how can you run a query on the table first to restric
- Is this possible with something in the core or I will have to hack the ACL behavior ?
- Is there a quick way to get a sum of all rows in cake?
- Is there any way I can get cake to NOT format its response so that I have to do a Set::Extract on th
- Is it possible that this "(default) 74 queries took 975 ms" is wrong?
- If I include user_id in Blog model, it would generate hasMany by default isn't it ?
- When an error page is loaded the datasource is not initialized, how can I initialize my datasource?
- Is there a callback in the controller that happens on aftersave()?
- How do I update multiple divs with a js->link()?
- Is it possible to call a component function in an aftersave() callback?
- How can I use contain in my paginate to bring Category inside the ProductLine ?
- Does ClassRegistry::init() initialize over and over if called multiple times or is it cached?
- Is there a way to submit a form to a page that then allows me to download a file?
- What does that mean "cake handles it" ?
- Is it necessary in cakephp, to escape (f.e. mysql_real_escape_string or stripslashes or ...) variabl
- If I have a small table of like 3 records related to another table of like 6 records and both are no
- If I wanted to specify a "deleted" table, like to make a record look deleted. I have one that's got
- How wouldst I go about creating a test case for a possible bug in cake?
- Is there any functions to create the record and return the id of that record ?
- Are there any nice functions mysql or cake that will allow me to quickly pull a count of policies g
- If you have just instantiated a class in local scope (in your class's action), why are you unsetting
- Can I use authcomponent so that admin section uses user-table and registered users pages use clients
- Should I not be doing it that way?
- Will http socket support all the SSL, redirection, etc.. crap that curl does ?
- What is mode for get a where condition (sql string generated) from $conditions array?
- How come setAction() isn't in the cake book?
- Would instaling a new gateway be as simple as dragging and dropping one directory?
- If I made indidividual gateways have their own folders, would they go IN the cart plugin or next to
- How do I execute the save function for the current model from a behavior?
- Is there any helper for kilo and grams like we have helper for $number->currency() ?
- Is there any helper for kilo and grams like we have helper for $number->currency() ?
- Can someone help me with redirection troubleshoting?
- How do you apply a class to form input elements?
- Is this what you want?
- If the database is setup conventionally correct, and all the proper relationships defined when you d
- Is there a demo app anywhere that uses the cakedc Users plugin?
- Would there be a good explanation as to why a find with contain, is finding all associated records e
- Can I define where error-mesage div on validation will appear?
- How do I access a model from within a controller w/o adding it to $uses?
- What is your ultimate goal?
- How do I get the following to work in cake1.3?
- Can I use nginx to serve cached files?
- If it's static content being cached (e.g. no <?
- What I mean is, does the simplicity of the cakephp framework come at a cost to the development proce
- When you say poor performance, are you suggesting that the framework bogs down the application?
- Is there a best practice to setting sidebar content in your layout from the view of your action?
- How could the first place that it goes to be Users?
- If I create a form with $this->Form->create(null, array('type' => 'get')) it don't create name with
- When you write a custom validation rule in a model, is is there a way to pass it a variable?
- Is there an easy way to get all aco's for a specific aro-id with help of the acl component?
- Does bootstrap can be ok ?
- Would a kind soul mind looking at my user and group models, to see if I've set things up correctly?
- When calling Acl::check() $aro and $aco are ids or objects?
- Will ClassRegistry::init() when used to grab a model instance instanciate a new model or can it retu
- Is there a good example on integrating wordpress into cake ?
- If I use curl to submit credit card information to authorize.net, does this mean I have to make sure
- Does cake implement anything like that, or does it prefer you to use the standard approach of .PO fi
- Is there a way to apply a title to a label for a group of checkboxes created on a HABTM relationship
- Can I use `postal codes` as primary key of a table instead of auto incremented `id` ?
- Is there a reason why saving a habtm with saveAll doesnt update the created/modified fields?
- Isnt there an example app for the migrations lpugin on github?
- What is the proper way to handle test data or default data using the migrations plugin?
- Do any of you guys have any articles or papers on best practices for using cake to create a web serv
- How do I change the default db from the core config?
- Is it possible to read an array out of the configure class?
- What is the best way to store adn track default data for an app?
- Is there a way to know from a controller from wich controller arrived to the controller I am?
- Can someone take a look at http://pastebin.com/9Gpv8zqs ?
- If I am using 'with' do I still need to define the association foreign key and foreign key?
- Is the beforeSave() of a behavior executed before or after the one in the model?
- When I start one test class after another each test class work, but when I start tests I get an erro
- How can I change the table scope for a model file ?
- When using $this->Html->script, is there a way to pass stylesheet/less to the rel ?
- When using $this->Form->create(FALSE, ...) and method="get" , why $_GET is empty and the keys in the
- If a new version of cakePHP comes out, do I just replace a folder to upgrade?
- Is it possible to make an object have differents types of models?
- Do you know if cakePHP works with mod_cgi?
- How can I use set in a component so I can get info in my Email templates?
- Can someone take a look at http://pastebin.com/9Gpv8zqs ?
- What is the best way to swap in different elements into a view in the controller?
- Is there a way when adding a multiple list of checkboxes to add additional fields?
- What is the best way to include a model in a component?
- What do I need to do in core.php?
- Whats the easiest way to get the user id of the current user?
- Is it possible to load the auth component in a helper?
- Are there any issues with using RequestHandler and Router::parseExtensions('json') completely within
- Who the hell wants their website to look like www.example.com/app/webroot/index.php?
- Is there a way to make it delete all the rows before inseting?
- Can I call a var in my /email/html/template.ctp as <?
- Does it removes all the previous records inserted in the current table?
- What is the best (and efficent) way for use str_replace with offset?
- Is there a way to use virtual fields to equal the count of linked table data?
- Can I get two lists of two models that are associated each other by using find('list') method?
- Can you not get that data through associations to your page model or is it completely unrelated stuf
- Are there any plugins/behaviors/etc for making content (ie blog/news/event posts) something that can
- Is there any plans to include an image handler in the core cake release someday?
- Do most people conform their dbs to the naming convention?
- Is it a common practice to put the resources table in a separate db?
- If my vendors table has a field industry_id and I want to use scaffolding, id add "var $hasOne = 'In
- What's the proper way to create new applications within the cake/ directory?
- Can I put "series_id' in my "episodes" sql table?
- Is there an different way to get both the serie and the season in Episodes then?
- When you reference a model in a controller with the following $this->set('contacts', $this->Contact-
- When creating a custom validation function, does it pass the entire data array to check or only 1 fi
- Is there a way to bake all fixtures in just 1 command ?
- Are there any faq-style plugins for cake?
- What's the fn to keep only the chunks of an array that shares the same keys as another array?
- If I'm sure that my site doesn't support unicode, I can replace this "[^sp{Ll}p{Lm}p{Lo}p{Lt}p{Lu}p{
- Is there any way to merge one model into another using joins?
- How would I go about setting the condition to query a field in a database using then regex to captur
- How can I do a use between as an operator when using postConditons ?
- Would $this->Resources->find('all', 'fields' => array('name')); look right to get all resource.name
- Is ther e a way to see if an array is a key=>value pair or just values?
- What could cause a cakePHP app to not have it's layout template rendered locally vs. when it's hoste
- Is it like a system which have to notify the other model involved ?
- Is there a fatal error somewhere, that has an error suppressed?
- When I press the submit button, a strange orange thing with no message on it appears below the passw
- When I specify fields in $this->paginate I lose my defined virtual field is this expected?
- What other files are generated when using bake?
- Where are the messages in model->validate() printed when a save() fails due to failing to validate?
- If I have 7 or so tables to insert records and they are not all necessarily related to the same mode
- Is there a way to continue using $this->pageTitle for setting page title with 1.3.6?
- If I saveAll this data http://bin.cakephp.org/view/2087609625 shouldnt it auto populate the hasMany
- Whats the best way to have an email sent when a record is saved (ie Comments added)?
- Is there a way to use pagination with multiple elements from different controllers/models ?
- How generally are models supposed to communicate with other pieces when wanting to trigger things in
- Whats the best way to get an action to redirect to the action that sent the post data to it?
- Should I be able to find data posted through HttpSocket in $_POST?
- Is there any library out there for verifying email addresses?
- Would it be worthwhile to use CakePHP to make a forum?
- What's the best way to put a month and year set of inputs on the page along with their own validatio
- If you're doing a foreach to grab a url from json, what's the best way to integrate that into an img
- How would I format a Model::find if I wanted to select all fields with a distinct ID?
- Are there any printable docs for 1.3 available?
- What should be the name of table in case of HABTM b/w two Models, RentInclude and SingleListing?
- Is it a deadlock or it keeps on eating up memory ?
- Does someone know any api for gmail in cake to login from another website than gmail?
- Are there any printable docs availalbe for 1.3?
- What's a good way to call multiple lines of reusable code if I'm building a view with several elseif
- Is there some automagic way to restrict access to a controller's actions other than creating routes?
- When my users get their own ssl cert, they will definitely get their own ip addresses yes?
- Is it possible to run Cron Job on particular time zone?
- Can someone point me to a good Ajax tutorial with Cake 1.3 ?
- Is it like that?
- How can I send a POST request a controller's action without using a Form?
- Is it possible to do an on the fly model association based upon data in lets say the User Object so
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.
Content Relevant URLs by vBSEO 3.6.0