symfony-1.4
add clause WHERE for admin generator
I generated with Admin generator this: abstract class autoNewsActions extends sfActions { public function preExecute()[详细]
2023-04-01 07:42 分类:问答template for FORM in Symfony with admin generator
I generated admin doctrine in Symfony 1.4. I use generator.yml. I would like edit template for form. I know that it is in cache. I copy this for backend, but there doesnt have $form.[详细]
2023-04-01 07:17 分类:问答Doctrine Set Case When
Is it possible to write in Doctrine the following SQL query? UPDATE Inventory SET a = CASE WHEN a=id THEN NULL ELSE a END,[详细]
2023-04-01 04:01 分类:问答how to show a success dialog box after filling the newSuccess.php form?
I need to put a dialog box saying something like \"success!\" after so开发者_C百科meone fill a newSuccess.php form. How can I do it?You can use flash massages. You can read about it.You also can use t[详细]
2023-03-31 23:08 分类:问答save for two table - doctrine and symfony
i have two table: News: id title body and NewsCopy: id title body if i add new News i would like also add this same all data for table NewsCopy?[详细]
2023-03-31 18:54 分类:问答Database set cell to NULL
I have the following table structure: Inventory: userid - a - b - c - d - e - f - g - h - i - j - k The letters represent an inventory\'s slots. Here are stored products\' ids. These products\' dat[详细]
2023-03-31 18:44 分类:问答How to show a fixed number of characters from a sentence - symfony
I have a sentece that works like a title, but is to 开发者_StackOverflowbig to be shown in the page. I can I set the variable to only show a bit of the sentence in symfony?[详细]
2023-03-31 17:38 分类:问答Symfony translate database value before output
I have a table for \'alerts开发者_如何学Go\'. I would like to store there the alerts for the users in Engligh, and translate the alert into the users\' culture before showing it. Like an usual message[详细]
2023-03-31 15:34 分类:问答symfony doctrine:build --all
I have started to learn symfony and I am a little bit confused. In \'practical symfony\' they explain symfony doctrine:build --model, symfony doctrine:build --sql and symfony doctrine:insert-s开发者_如[详细]
2023-03-31 15:24 分类:问答how to get content from another module - symfony
I need to get fields from another module. How can I do this in symfony? (e.g.: I\'m need s开发者_开发问答omething from module=\"x\" to be working in the showSuccess.php from module=\"y\")The only opt[详细]
2023-03-31 13:06 分类:问答