drupal 用户登录重定向 [英] drupal user login redirect

查看:16
本文介绍了drupal 用户登录重定向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了一个用于生成用户页面的模块.登录后,路径转到用户/[用户名],我想使用我的模块对其进行自定义.怎么处理?

hi i wrote a module for user page generation. After login the path goes to users/[user-name] and i want to customize it using my module. how to handle it?

推荐答案

您可以使用 Login Toboggan 设置登录目的地.有几个模块可用于登录重定向而无需编写代码.

You can use Login Toboggan to set a login destination. There are a few modules available for login redirecting without having to code.

要自定义用户个人资料页面的外观和感觉,您可以通过带有 CSS 的 TPL 来实现,或者您可以使用视图与面板一起创建内容窗格,并覆盖用户/% 个人资料视图.

To customize the look and feel of the user profile page, you can implement that through a TPL with CSS, or you can use Views to create Content Panes in conjunction with Panels, and override the user/% profile view.

这篇关于drupal 用户登录重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆