• <bdo id='gLBqK'></bdo><ul id='gLBqK'></ul>

  • <small id='gLBqK'></small><noframes id='gLBqK'>

    1. <legend id='gLBqK'><style id='gLBqK'><dir id='gLBqK'><q id='gLBqK'></q></dir></style></legend>

      1. <tfoot id='gLBqK'></tfoot>
        <i id='gLBqK'><tr id='gLBqK'><dt id='gLBqK'><q id='gLBqK'><span id='gLBqK'><b id='gLBqK'><form id='gLBqK'><ins id='gLBqK'></ins><ul id='gLBqK'></ul><sub id='gLBqK'></sub></form><legend id='gLBqK'></legend><bdo id='gLBqK'><pre id='gLBqK'><center id='gLBqK'></center></pre></bdo></b><th id='gLBqK'></th></span></q></dt></tr></i><div id='gLBqK'><tfoot id='gLBqK'></tfoot><dl id='gLBqK'><fieldset id='gLBqK'></fieldset></dl></div>

        使用视图附加或嵌入节点添加表单

        Attach or embed node add form with a view(使用视图附加或嵌入节点添加表单)

          <small id='5Flbk'></small><noframes id='5Flbk'>

          <tfoot id='5Flbk'></tfoot>

              <bdo id='5Flbk'></bdo><ul id='5Flbk'></ul>
              <legend id='5Flbk'><style id='5Flbk'><dir id='5Flbk'><q id='5Flbk'></q></dir></style></legend>

                <tbody id='5Flbk'></tbody>
            • <i id='5Flbk'><tr id='5Flbk'><dt id='5Flbk'><q id='5Flbk'><span id='5Flbk'><b id='5Flbk'><form id='5Flbk'><ins id='5Flbk'></ins><ul id='5Flbk'></ul><sub id='5Flbk'></sub></form><legend id='5Flbk'></legend><bdo id='5Flbk'><pre id='5Flbk'><center id='5Flbk'></center></pre></bdo></b><th id='5Flbk'></th></span></q></dt></tr></i><div id='5Flbk'><tfoot id='5Flbk'></tfoot><dl id='5Flbk'><fieldset id='5Flbk'></fieldset></dl></div>

                  本文介绍了使用视图附加或嵌入节点添加表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在使用 Drupal 7.54.我想将节点添加表单附加或嵌入到视图中,以便当用户提交表单时,表单下方的视图将通过 ajax 实时更新.表单将显示在视图上方.我的视图块名称是 Statuses Stream.

                  I am using Drupal 7.54. I want to attach or embed a node add form to a view so that when a user submits the form, the view below the form will be updated in realtime via ajax. The form will be shown above the view. My view block name is Statuses Stream.

                  我尝试了 表单块 模块并将表单放在我的视图的标题部分使用查看 ui,但提交后,它正在重定向到节点创建的页面.

                  I tried Form block module and putting the form in the header section of my view using views ui, but after submit, it was redirecting to the node created page.

                  然后我尝试了 高级表单块 模块.我使用 AFB 模块创建了一个表单.表单名称为Statuses.它使用 ajax 提交表单,但没有实时更新视图.我必须手动刷新页面才能在表单下方显示创建的节点.

                  Then I tried Advanced Form Block module. I created a form using AFB module. The form name is Statuses. It is submitting the form with ajax, but it is not updating the view in the realtime. I have to refresh the page manually to show the created node below the form.

                  我愿意以编程方式或通过模块解决任何解决方案.

                  I am open to any solution programmatically or through a module.

                  注意:对于那些知道的人,我试图模仿 statuses 模块.它完全符合我的要求.当我知道它不是一个实体时,问题就开始了.所以现在我正在尝试使用 Content 类型实现相同的功能.

                  Note: For those who know, I am trying to mimic the statuses module. It does exactly what I am looking for. The problem began when I came to know that it is not an entity. So now I am trying to make the same functionality with Content type.

                  推荐答案

                  你可以使用类似 视图刷新 手动更新下面的视图而不是刷新页面.

                  You could use something like Views Refresh to manually update the view below instead of refreshing the page.

                  这篇关于使用视图附加或嵌入节点添加表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Rails 3.1 ajax:success handling(Rails 3.1 ajax:成功处理)
                  Ajax call in rails 3.2.3 with will_paginate gem(使用 will_paginate gem 在 Rails 3.2.3 中调用 Ajax)
                  How to disable ckeditor cloudservices(如何禁用 ckeditor 云服务)
                  Problems reading JSON file in D3 javascript in some (not all) browsers(在某些(不是全部)浏览器中读取 D3 javascript 中的 JSON 文件时出现问题)
                  How to onclick-trigger a non-native jQuery plugin#39;s action?(如何点击触发非本地 jQuery 插件的操作?)
                  Javascript function not getting called in Drupal 7 which used to run proper in Drupal 6(在 Drupal 7 中未调用 Javascript 函数,该函数曾经在 Drupal 6 中正常运行)

                        • <bdo id='WAQ2q'></bdo><ul id='WAQ2q'></ul>
                          <tfoot id='WAQ2q'></tfoot>
                            <legend id='WAQ2q'><style id='WAQ2q'><dir id='WAQ2q'><q id='WAQ2q'></q></dir></style></legend>
                          • <small id='WAQ2q'></small><noframes id='WAQ2q'>

                              <tbody id='WAQ2q'></tbody>
                          • <i id='WAQ2q'><tr id='WAQ2q'><dt id='WAQ2q'><q id='WAQ2q'><span id='WAQ2q'><b id='WAQ2q'><form id='WAQ2q'><ins id='WAQ2q'></ins><ul id='WAQ2q'></ul><sub id='WAQ2q'></sub></form><legend id='WAQ2q'></legend><bdo id='WAQ2q'><pre id='WAQ2q'><center id='WAQ2q'></center></pre></bdo></b><th id='WAQ2q'></th></span></q></dt></tr></i><div id='WAQ2q'><tfoot id='WAQ2q'></tfoot><dl id='WAQ2q'><fieldset id='WAQ2q'></fieldset></dl></div>