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条)

报告相同问题?