Categories

有特色的模板

Drupal 7.x. 如何使用锚定导航

Carey Burns 2015年4月14日
Rating: 5.0/5. From 1 vote.
Please wait...

Drupal 7.x. 如何使用锚定导航

我们的支持团队准备为您提供一个新的教程,展示如何使用锚定 navigation in Drupal:

drupal_anchored_navigation_1

  1. 要编辑或添加内容,请导航到 Structure > Blocks 在管理面板中.

  2. 我们将添加一个新的块到首页,并将其指定为锚定 navigation.

  3. Click on 添加新块 link:

    drupal_anchored_navigation_2

  4. Type in Block title, 块描述 and Block Body:

    drupal_anchored_navigation_3

  5. 选择块位置 themexxxx in 区域设置 area:

    drupal_anchored_navigation_4

  6. 为了分配块只到主页,滚动到 可见性设置 在块编辑模式下,切换到 Pages tab.

  7. In 在特定页面上显示块 部分,检查 只有列出的页面.

  8. Type 到相同的文本字段中 tab:

    drupal_anchored_navigation_5

  9. 完成后保存块.

  10. 创建并保存块之后,您可以继续进行主菜单编辑.

  11. Navigate to Structure > Menus > Main menu > Add link, type in 菜单链接标题 and Path:

    drupal_anchored_navigation_6

  12. 要添加菜单项,请键入 #block-id in Path 字段,其中#block-id -块或区域id.

  13. 以下id可供使用:

    • #首页起始id;

    • #content -内容区域id;

    • #section_1_wrapper - Section 1区域id;

    • #section_2_wrapper - Section 2区域id;

    • #section_3_wrapper - Section 3区域id;

    • #section_4_wrapper - Section 4区域id;

    • #section_5_wrapper - Section 5区域id;

    • #section_6_wrapper - Section 6区域id;

    • #section_7_wrapper - Section 7区域id;

    • #section_8_wrapper - Section 8区域id;

    • #section_9_wrapper - Section 9区域id;

    • #section_10_wrapper - Section 10区域id;

    • 任何其他块id

  14. Click on Save 当你完成时.

  15. 检查你的结果 website.

请随时查看下面的详细视频教程:

Drupal 7.x. 如何使用锚定导航

最佳Drupal模板
这个条目被张贴了出来 Drupal教程 and tagged anchored, drupal, navigation. Bookmark the permalink.

提交罚单

如果您仍然无法找到关于您的问题的足够的教程,请使用以下链接向我们的技术支持团队提交请求. 我们将在接下来的24小时内为您提供我们的帮助和协助: 提交罚单