PDA

View Full Version : CakePHP



Pages : [1] 2 3 4

  1. Is there a way to nicely format text from database with cakePHP?
  2. Is there a way to add methods to a controller through a component in CakePHP?
  3. Is there any sort of "App" Shell in CakePHP?
  4. Cakephp way of getting the execution time for a page request?
  5. Are CakePHP configuration variables applicable just to a specific session?
  6. How to I match empty string only with regex?
  7. Is there a way to connect root (/) to my dashboard controller?
  8. Does cakePHP use MD5 for the passwords?
  9. Whats the difference between sammy an prototype?
  10. How do I run a report that takes longer than 30 seconds to generate?
  11. How to create error "layouts" in cakephp 1.3?
  12. Does it matter where schema phps are in the directory tree in order to migrate them or create them?
  13. Would this be the right way to switch a datasource ?
  14. Is it pretty self evident how it works?
  15. If Member HABTM Department and viceversa, $this->Member->Department->find() gives me an array where
  16. Is there any way to see in the sql debug log the line in the controller or model where a query is be
  17. Is there sha1 encoding with diffrent length?
  18. Is there a way to check if the class has already been initialized?
  19. Is there a good place with actual code examples of cakephp?
  20. Is it valid to have in Security.salt not utf-8 chars?
  21. Is calling getLastInsertID() safe if multiple users are saving crap to my db?
  22. Is there a reason then it would show up in the error log?
  23. Is getting another server in order to have a new ip really the solution?
  24. When I try to print an image through the paginator's sort() method, it replaces < with < etc. -- how
  25. How to set a redirect in case of "page not found" errors?
  26. Are there any good prebuilt photo album plugins/etc build in cakephp?
  27. Would you like to create some basic class methods index add view edit?
  28. Is it reasonable in cakephp to use Configure::write('foo', 'bar') to add those to the configuration
  29. If you guys where setting up a user on your linux production server that was going to be pulling / c
  30. If I have a blackholecallback for a form token failure, how can I pass parameters to it so I can dis
  31. Whats the best way to interact with session variables when using javascript?
  32. Do you want to hide stuff on future page loads after an option has changed, do you want to hide some
  33. Is it a bad idea to make a redundant foreign id so I don't have to traverse 4 models to find it?
  34. Is there a way to pass data directly from a controller to a helper instead of controller=>view=>help
  35. What's the way to use special characters when setting pageTitle?
  36. Is there a way I can see the generated sql statement programmatically?
  37. Can I use $form->select in a loop with same options in 7 combo boxes ?
  38. If I need to implement three-layer template inheritance (rather than the two-layer system made easy
  39. Would you like to create the basic class methods for admin routing?
  40. How can I get the username from Auth in View after the user is loged in?
  41. Is that the only right way to handle changes in submodules?
  42. How can I access a helper from inside the controller, is I can set some values for the helper?
  43. How can I change the default style of the radio button (from horizontal to vertical) ?
  44. Does the content of bootstrap or other files in config changed ?
  45. Is there a way to get the name of the method being invoked during beforeRender?
  46. If I don't have the time helper, how would I format an sql date?
  47. If your controller/view doesn't have a model (for a general search page), how do you fee information
  48. How can I have sub set of array containing dates month wise ?
  49. What's a common reason that paginate fields to return even an empty array?
  50. Can I make variable names on a object containing spaces?
  51. Is it possible to render a view that belongs to a plugin out side /app in a controller action that i
  52. What would be the connect pattern for a string like "test_+_bla" ?
  53. Is it possible to make an object "have" different types of models?
  54. How can I put data from my controller to my helper?
  55. If I want to use all the same settings as before (except for a few I changed), is it necessary to ru
  56. How to set routes like that, if I want to access any location(URL) that is not present in applicatio
  57. When using $this->updateAll from a model why am I getting Unknown column 'User.User' in 'field list'
  58. Is there a better way to include cake's core in more than one project?
  59. Is there some way to switch off any/all output buffering/filtering in cake?
  60. Can I get to that from the route.php config file?
  61. If your controller/view doesn't have a model (for a general search page), how do you fee information
  62. Does cakephp have a wrapper around super globals like $_GET?
  63. Are there any decent plugins that record changes to a model's data?
  64. Is there a way to get a call trace on cakephp?
  65. Is this http://nuts-and-bolts-of-cakephp.com/2008/10/16/how-to-validate-habtm-data/ still a valid ap
  66. Is there a difference between $this->params['isAjax'] and $this->RequestHandler->isAjax() ?
  67. Is it possible to get a localized output from Time helper's timeAgoInWords method?
  68. Is it possible, that it's not mentioned yet in the blog example that helpers have to be added?
  69. Will ldap authentication make it into the cake bundle?
  70. If I'm renaming an uploaded file in a behavior (and saving the new filename), what's the best way to
  71. Is it possible to access an object property by trying to access the object itself?
  72. Will auth still auto hash, if login field is set to username, instead of email ?
  73. Do you want access to all groups?
  74. How can I get cake to auto make a select checkbox type thing via cakebake?
  75. Do Sessions work alright in 1.2?
  76. How do I go about changing the default path for the image helper?
  77. Is there a way to get am/pm time with the time helper?
  78. If I call $this->render() will stop execution of whatever goes below?
  79. Can I use 'rule'=>'isUnique' for Creation and updation at time?
  80. Is there a cakephp roadmap where I can see future changes/features etc.?
  81. Is there a program to make find wizard ?
  82. Is there a program to make find wizard ?
  83. Will it open 1 window first, and then use javascript to popup a second and close the first?
  84. Are there any helpers for getting recursive file /directory lists?
  85. Is there any type of a log that tells us why cake isn't using it?
  86. How do I get a single value out of a data model?
  87. Is there a way Ican fake an authentification for testing controllers?
  88. Is there a way to make cakephp create tables as needed if they don't already exist?
  89. How can I make the caching create a folder if it does not exist?
  90. Is there a way to tell if cake is being run from a console?
  91. Is it fine to use a cron_dispatcher rather than a shell for cron jobs?
  92. Can someone look at this array question - trying to extract data from each but different data each t
  93. What would be the best way to set my header content-type to image/png within the mvc pattern?
  94. Is there a way to control the order of the fixtures loading in simpletest?
  95. Is it possible to redirect a user to the page I redirected them to after they logged in, if they try
  96. Does someone have any experience in openid identity?
  97. How can I change something in the Cookbook?
  98. How can I abstract the form from the add and edit views. Should I create an element or can I load a
  99. When a user goes to http://test.com/test and there is no controller named test, how do I force cakep
  100. Is there a clean way to make some kind of soft-delete behaviour in some models ?
  101. Is there a way to remove routing prefix on an Auth logoutRedirect(); ?
  102. What is the best way to include a global list of error codes in my app?
  103. When using a join table (habtm) should I set both id's as foreign key and drop the primary id auto_i
  104. Do you know if I can set attributes of an <option> tag using e.g. the $this->Form->select() ?
  105. If you use set('tablename', $this->paginate()) how can you run a query on the table first to restric
  106. Is this possible with something in the core or I will have to hack the ACL behavior ?
  107. Is there a quick way to get a sum of all rows in cake?
  108. Is there any way I can get cake to NOT format its response so that I have to do a Set::Extract on th
  109. Is it possible that this "(default) 74 queries took 975 ms" is wrong?
  110. If I include user_id in Blog model, it would generate hasMany by default isn't it ?
  111. When an error page is loaded the datasource is not initialized, how can I initialize my datasource?
  112. Is there a callback in the controller that happens on aftersave()?
  113. How do I update multiple divs with a js->link()?
  114. Is it possible to call a component function in an aftersave() callback?
  115. How can I use contain in my paginate to bring Category inside the ProductLine ?
  116. Does ClassRegistry::init() initialize over and over if called multiple times or is it cached?
  117. Is there a way to submit a form to a page that then allows me to download a file?
  118. What does that mean "cake handles it" ?
  119. Is it necessary in cakephp, to escape (f.e. mysql_real_escape_string or stripslashes or ...) variabl
  120. If I have a small table of like 3 records related to another table of like 6 records and both are no
  121. If I wanted to specify a "deleted" table, like to make a record look deleted. I have one that's got
  122. How wouldst I go about creating a test case for a possible bug in cake?
  123. Is there any functions to create the record and return the id of that record ?
  124. Are there any nice functions mysql or cake that will allow me to quickly pull a count of policies g
  125. If you have just instantiated a class in local scope (in your class's action), why are you unsetting
  126. Can I use authcomponent so that admin section uses user-table and registered users pages use clients
  127. Should I not be doing it that way?
  128. Will http socket support all the SSL, redirection, etc.. crap that curl does ?
  129. What is mode for get a where condition (sql string generated) from $conditions array?
  130. How come setAction() isn't in the cake book?
  131. Would instaling a new gateway be as simple as dragging and dropping one directory?
  132. If I made indidividual gateways have their own folders, would they go IN the cart plugin or next to
  133. How do I execute the save function for the current model from a behavior?
  134. Is there any helper for kilo and grams like we have helper for $number->currency() ?
  135. Is there any helper for kilo and grams like we have helper for $number->currency() ?
  136. Can someone help me with redirection troubleshoting?
  137. How do you apply a class to form input elements?
  138. Is this what you want?
  139. If the database is setup conventionally correct, and all the proper relationships defined when you d
  140. Is there a demo app anywhere that uses the cakedc Users plugin?
  141. Would there be a good explanation as to why a find with contain, is finding all associated records e
  142. Can I define where error-mesage div on validation will appear?
  143. How do I access a model from within a controller w/o adding it to $uses?
  144. What is your ultimate goal?
  145. How do I get the following to work in cake1.3?
  146. Can I use nginx to serve cached files?
  147. If it's static content being cached (e.g. no <?
  148. What I mean is, does the simplicity of the cakephp framework come at a cost to the development proce
  149. When you say poor performance, are you suggesting that the framework bogs down the application?
  150. Is there a best practice to setting sidebar content in your layout from the view of your action?
  151. How could the first place that it goes to be Users?
  152. If I create a form with $this->Form->create(null, array('type' => 'get')) it don't create name with
  153. When you write a custom validation rule in a model, is is there a way to pass it a variable?
  154. Is there an easy way to get all aco's for a specific aro-id with help of the acl component?
  155. Does bootstrap can be ok ?
  156. Would a kind soul mind looking at my user and group models, to see if I've set things up correctly?
  157. When calling Acl::check() $aro and $aco are ids or objects?
  158. Will ClassRegistry::init() when used to grab a model instance instanciate a new model or can it retu
  159. Is there a good example on integrating wordpress into cake ?
  160. If I use curl to submit credit card information to authorize.net, does this mean I have to make sure
  161. Does cake implement anything like that, or does it prefer you to use the standard approach of .PO fi
  162. Is there a way to apply a title to a label for a group of checkboxes created on a HABTM relationship
  163. Can I use `postal codes` as primary key of a table instead of auto incremented `id` ?
  164. Is there a reason why saving a habtm with saveAll doesnt update the created/modified fields?
  165. Isnt there an example app for the migrations lpugin on github?
  166. What is the proper way to handle test data or default data using the migrations plugin?
  167. Do any of you guys have any articles or papers on best practices for using cake to create a web serv
  168. How do I change the default db from the core config?
  169. Is it possible to read an array out of the configure class?
  170. What is the best way to store adn track default data for an app?
  171. Is there a way to know from a controller from wich controller arrived to the controller I am?
  172. Can someone take a look at http://pastebin.com/9Gpv8zqs ?
  173. If I am using 'with' do I still need to define the association foreign key and foreign key?
  174. Is the beforeSave() of a behavior executed before or after the one in the model?
  175. When I start one test class after another each test class work, but when I start tests I get an erro
  176. How can I change the table scope for a model file ?
  177. When using $this->Html->script, is there a way to pass stylesheet/less to the rel ?
  178. When using $this->Form->create(FALSE, ...) and method="get" , why $_GET is empty and the keys in the
  179. If a new version of cakePHP comes out, do I just replace a folder to upgrade?
  180. Is it possible to make an object have differents types of models?
  181. Do you know if cakePHP works with mod_cgi?
  182. How can I use set in a component so I can get info in my Email templates?
  183. Can someone take a look at http://pastebin.com/9Gpv8zqs ?
  184. What is the best way to swap in different elements into a view in the controller?
  185. Is there a way when adding a multiple list of checkboxes to add additional fields?
  186. What is the best way to include a model in a component?
  187. What do I need to do in core.php?
  188. Whats the easiest way to get the user id of the current user?
  189. Is it possible to load the auth component in a helper?
  190. Are there any issues with using RequestHandler and Router::parseExtensions('json') completely within
  191. Who the hell wants their website to look like www.example.com/app/webroot/index.php?
  192. Is there a way to make it delete all the rows before inseting?
  193. Can I call a var in my /email/html/template.ctp as <?
  194. Does it removes all the previous records inserted in the current table?
  195. What is the best (and efficent) way for use str_replace with offset?
  196. Is there a way to use virtual fields to equal the count of linked table data?
  197. Can I get two lists of two models that are associated each other by using find('list') method?
  198. Can you not get that data through associations to your page model or is it completely unrelated stuf
  199. Are there any plugins/behaviors/etc for making content (ie blog/news/event posts) something that can
  200. Is there any plans to include an image handler in the core cake release someday?
  201. Do most people conform their dbs to the naming convention?
  202. Is it a common practice to put the resources table in a separate db?
  203. If my vendors table has a field industry_id and I want to use scaffolding, id add "var $hasOne = 'In
  204. What's the proper way to create new applications within the cake/ directory?
  205. Can I put "series_id' in my "episodes" sql table?
  206. Is there an different way to get both the serie and the season in Episodes then?
  207. When you reference a model in a controller with the following $this->set('contacts', $this->Contact-
  208. When creating a custom validation function, does it pass the entire data array to check or only 1 fi
  209. Is there a way to bake all fixtures in just 1 command ?
  210. Are there any faq-style plugins for cake?
  211. What's the fn to keep only the chunks of an array that shares the same keys as another array?
  212. 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{
  213. Is there any way to merge one model into another using joins?
  214. How would I go about setting the condition to query a field in a database using then regex to captur
  215. How can I do a use between as an operator when using postConditons ?
  216. Would $this->Resources->find('all', 'fields' => array('name')); look right to get all resource.name
  217. Is ther e a way to see if an array is a key=>value pair or just values?
  218. What could cause a cakePHP app to not have it's layout template rendered locally vs. when it's hoste
  219. Is it like a system which have to notify the other model involved ?
  220. Is there a fatal error somewhere, that has an error suppressed?
  221. When I press the submit button, a strange orange thing with no message on it appears below the passw
  222. When I specify fields in $this->paginate I lose my defined virtual field is this expected?
  223. What other files are generated when using bake?
  224. Where are the messages in model->validate() printed when a save() fails due to failing to validate?
  225. If I have 7 or so tables to insert records and they are not all necessarily related to the same mode
  226. Is there a way to continue using $this->pageTitle for setting page title with 1.3.6?
  227. If I saveAll this data http://bin.cakephp.org/view/2087609625 shouldnt it auto populate the hasMany
  228. Whats the best way to have an email sent when a record is saved (ie Comments added)?
  229. Is there a way to use pagination with multiple elements from different controllers/models ?
  230. How generally are models supposed to communicate with other pieces when wanting to trigger things in
  231. Whats the best way to get an action to redirect to the action that sent the post data to it?
  232. Should I be able to find data posted through HttpSocket in $_POST?
  233. Is there any library out there for verifying email addresses?
  234. Would it be worthwhile to use CakePHP to make a forum?
  235. What's the best way to put a month and year set of inputs on the page along with their own validatio
  236. If you're doing a foreach to grab a url from json, what's the best way to integrate that into an img
  237. How would I format a Model::find if I wanted to select all fields with a distinct ID?
  238. Are there any printable docs for 1.3 available?
  239. What should be the name of table in case of HABTM b/w two Models, RentInclude and SingleListing?
  240. Is it a deadlock or it keeps on eating up memory ?
  241. Does someone know any api for gmail in cake to login from another website than gmail?
  242. Are there any printable docs availalbe for 1.3?
  243. What's a good way to call multiple lines of reusable code if I'm building a view with several elseif
  244. Is there some automagic way to restrict access to a controller's actions other than creating routes?
  245. When my users get their own ssl cert, they will definitely get their own ip addresses yes?
  246. Is it possible to run Cron Job on particular time zone?
  247. Can someone point me to a good Ajax tutorial with Cake 1.3 ?
  248. Is it like that?
  249. How can I send a POST request a controller's action without using a Form?
  250. Is it possible to do an on the fly model association based upon data in lets say the User Object so