dt3358 2012-01-04 09:20
浏览 107
已采纳

如何在Drupal中创建管理页面? 它甚至可能吗?

Let's say I'm making a blog in Drupal 7, and I want my end user to see a link: "Add Post", and when he clicks on that link he can add a new content. But instead of the default administration page, is it possible to create a new one, which has just the post title, tags, message and etc?

I've been searching for 2 days now, founding nothing about where to start/how to start a specific administration page instead of the default one.

  • 写回答

4条回答 默认 最新

  • duangan7834 2012-01-04 10:58
    关注

    You will have to create a specific module for that which will:

    • define the blog post editing form you want to have
    • define a page through a hook_menu function that includes the form
    • define a menu entry for it in the administrative menu
    • etc.

    You should really get a little more into extending drupal by reading some pro drupal 7 book. At least start reading http://drupal.org/node/1074360

    Another very good starting point is the drupal "examples" module, which provides example code for most things your modules need to do: http://drupal.org/project/examples

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器