【问题标题】:Include static HTML page under content of a drupal basic page. Can i make a block and include the static page? [closed]在 drupal 基本页面的内容下包含静态 HTML 页面。我可以制作一个块并包含静态页面吗? [关闭]
【发布时间】:2014-07-31 09:35:27
【问题描述】:

对不起,伙计们,我是 drupal 的新手,我在 drupal 上有一个现有的基本页面,但我需要在该内容下包含带有 jquery 的静态 html,我可以这样使用块吗?使这成为可能以及如何?

【问题讨论】:

  • $('.classToLoadFileInto').load('path/to/file.html');

标签: jquery html drupal drupal-7


【解决方案1】:

是的,您可以使用阻止。您可以在内容下方定义一个新区域您可以在内容区域本身中分配 html 块。块位置可以在 admin->structure->blocks 中分配。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-02-28
    相关资源
    最近更新 更多