我正在运行Symfony 2.0.6,并且出现以下错误:
InvalidArgumentException:没有扩展能够加载“ knp_menu”的配置(在/home/www/Symfony/app/config/config.yml中)。寻找名称空间“ knp_menu”
它适用于DEV,但不适用于PROD环境。
我想覆盖默认的SonataAdmin模板.
我在我的Namespace/bundle/resources/views中创建了一个standard_layout.html.twig(相同的结构,相同的文件名,相同的内容)
我在我的目标模板中复制了源模板的所有内容,我只是编辑目标的某些部分......当然没有
谢谢你的帮助再见
我使用星级http://www.fyneworks.com/jquery/star-rating/
我不明白如何在提交表单后获取用户检查的隐藏收音机的值
这里的代码:
<div class="line mrgT mrgB" id="starVin">
<input name="star1" type="radio" class="star" value="1" />
<input name="star1" type="radio" class="star" value="2" />
<input name="star1" type="radio" class="star" value="3" />
<input name="star1" type="radio" class="star" value="4" />
<input name="star1" type="radio" class="star" value="5" />
</div>
Run Code Online (Sandbox Code Playgroud)
我试试这个
alert( $('#formComent .star1:checked').val() );
Run Code Online (Sandbox Code Playgroud)
不起作用...
如何在symfony2上使用elasticsearch进行构面查询?
我可以做查询,得到结果,它的工作原理!
现在在这个查询,我想面对结果.