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

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

问题描述

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

解决方案

您可以使用Login Toboggan设置登录目的地。有一些模块可用于登录重定向,而无需编码。



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


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?

解决方案

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

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天全站免登陆