Redirect After Login
Please Note: All posts made on this section of the forum will also be sent a mailing list. Before posting ensure that this is the appropriate forum.
Tags
26 Jan 2010
Hi there,
I set up a page in my drupal site, and created a trigger with a redirect that redirects to a "landing" page. I then added an action that says "after a user has logged in", "Redirect to Landing Page".
But it doesn't work. It just stays on the same page. Any ideas why this may be, or any ideas how I can debug or troubleshoot it.
At worst, can you recommend an alternate solution.
Thanks,
Mark

Re: Redirect After Login
I tried to use this tutorial to change the login redirection from the user account (default in Our Drupal installation) to the front page.
1. ..../admin/settings/actions (Actions settings page)
Go to the bottom and open the drop down menu to the left of [create] and choose Redirect to URL press [create].
2. A new window opens - "Configure an advanced action"
Here you should read -
Description:
Redirect to URL
In the line below add the page link where your users should arrive at after logging in. In my case I choose
<front>.URL:
<front>Press [Save] and now you should have a new line added to "Actions available to Drupal:"
system ....... Redirect to URL ..... configure .... delete
3. Next step - go to Triggers. You can click on it above in the explanation text or use ..../admin/build/trigger/node.
Now choose the user tab or .../admin/build/trigger/user.
Go down to Trigger: After a user has logged in.
>From the drop down box choose "Redirect to URL" and press [Assign]
www.module-developer.com
www.module-node.com
Redirect After Login
Hi,
try using PHP as trigger. You could use Rules for redirecting too. But try it with PHP as trigger first.
greetings
Ivo
Segments e.U.
www.segments.at
Kaiserstraße 80/21
1070 Wien
Tel: 0676 / 400 87 80
Fax: 01/2533033-8852
Mail: office [at] segments [dot] at
FN: 307265 k
Geschäftsführung: Radulovski Ivo
Firmenbuchnummer: 307265 k
Eingetragen: HG Wien
Ust-IdN: ATU64789018
Sent from Wien, Österreich
Re: Redirect After Login
you could just create a node (your rediret "page") and set it to load only for a certian user or role
Drupal Goes Hosted With Private Beta Launch of “Gardens”
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
http-equiv="Content-Type">
(http://www.techcrunch.com/2010/01/27/drupal-garden/) href="http://www.techcrunch.com/2010/01/27/drupal-garden/"
rel="bookmark"
title="Drupal Goes Hosted With Private Beta Launch of “Gardens” (Invites)">Drupal
Goes Hosted With Private Beta Launch of “Gardens” (Invites)
title="Posts by Robin Wauters">Robin Wauters on January 27, 2010
Unfortunately the invites are gone.
source content management system Drupal
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com"> is increasingly being
used by organizations, corporations and governments to power their
websites and communities.
To name but a few entities who rely on Drupal for their websites:
id="snap_com_shot_link_icon" class="snap_preview_icon"
The White House, AT&T, Intel, BBC Magazines, Forbes, Stanford
University, Reuters and Procter & Gamble (and href="http://buytaert.net/tag/drupal-sites">plenty more
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com"> where that came from).
But up until now, there was no other way to set up a website or blog
class="snap_preview_icon"
id="snap_com_shot_link_icon" class="snap_preview_icon"
id="snap_com_shot_link_icon" class="snap_preview_icon"
with Drupal than having to download and run code from a server. href="http://acquia.com">Acquia
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com">, a href="http://buytaert.net/acquia-2009-retrospective">commercial company
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com">
that provides Drupal-based products, services and technical support, is
today bringing change to that situation with the private beta launch of
Drupal Gardens
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com">.
You need a beta invite code to get in for now, but the first
id="snap_com_shot_link_icon" class="snap_preview_icon"
100 TechCrunch readers to href="http://www.drupalgardens.com/techcrunch-beta-invite">sign up here
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com"> will get access today
(others will be granted access in the next few weeks).
Drupal creator href="http://www.crunchbase.com/person/dries-buytaert">Dries Buytaert
id="snap_com_shot_link_icon" class="snap_preview_icon"
id="snap_com_shot_link_icon" class="snap_preview_icon"
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com"> – also co-founder and
CTO of venture-backed
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com"> Acquia – in a href="http://buytaert.net/drupal-gardens-launches-in-private-beta">blog
post
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com">
announcing the private beta launch refers to Drupal Gardens as the
Wordpress.com or Ning for Drupal. Which was also the first thing I
thought when I tried it out for the first time (see screenshots below).
Built on the Drupal 7
id="snap_com_shot_link_icon" class="snap_preview_icon"
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com">
core, currently still in alpha, Acquia powers the entire back-end for
Drupal hosted websites and communities so users don’t need to worry
about server management and can focus on the personalization and
content part of the equation instead.
Unlike Wordpress.com, Buytaert tells me, Drupal Gardens isn’t really
meant for individuals looking to set up their own blog as much as it is
aimed to help organizations and small businesses set up a Drupal
environment with multi-user blogging features, social integration,
forums, custom content types, and so on.
The way I see it, Drupal Gardens is thus more of a competitor to the
id="snap_com_shot_link_icon" class="snap_preview_icon"
id="snap_com_shot_link_icon" class="snap_preview_icon"
id="snap_com_shot_link_icon" class="snap_preview_icon"
likes of Ning
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com"> and href="http://www.sixapart.com/">Six Apart
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com">. Both companies, as
well as Automattic
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com">,
have of course a considerable head start when it comes to hosted
micro-site content management services, so time will tell if Drupal
Gardens can break the mold.
As powerful as the Drupal CMS and its small army of code
contributors may be, how much demand can there really be for another
browser-based site builder?
Drupal Gardens will be available for free until the end of this
year. By the end of 2010, Acquia hopes to have finished incorporating
all of the important features that will enable organizations to create
feature-rich, social microsites. Although this is still undecided,
Acquia thinks it will be able to continue offering a free tier for
smaller sites alongside paid tiers for larger websites or those who
want access to premium features.
Preliminary pricing can be consulted on href="http://www.drupalgardens.com/pricing">this page
id="snap_com_shot_link_icon" class="snap_preview_icon"
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com">, but to be clear: all
of these packages will remain free of charge until the end of this year.
You can sign up for the beta href="http://signup.drupalgardens.com/">here
id="snap_com_shot_link_icon" class="snap_preview_icon"
style="border: 0pt none ; margin: 0pt ! important; padding: 1px 0pt 0pt; max-height: 2000px; max-width: 2000px; min-width: 0px; min-height: 0px; font-style: normal; font-weight: normal; font-family: "trebuchet ms",arial,helvetica,sans-serif; float: none; position: static; left: auto; top: auto; line-height: normal; background-image: url(http://i.ixnp.com/images/v6.19.0.1/theme/silver/palette.gif); background-color: transparent; visibility: visible; width: 14px; height: 12px; background-position: -1128px 0pt; background-repeat: no-repeat; text-decoration: none; vertical-align: top; display: inline;"
src="cid:part2 [dot] 04050509 [dot] 00090800 [at] korwe [dot] com">;
Acquia will open up the beta to thousands of users in the next couple
of weeks. General availability is expected in the second quarter of
2010.
-- Dr DH Hislop Tel: 27 21 913 6519 email: david [dot] hislop [at] korwe [dot] comRe: Redirect After Login
LoginToboggan provides redirect on Register + Confirm, etc.
http://drupal.org/project/logintoboggan
Redirect After Login
Hi,
yes we use this two modules for user-handling and maybe someday we will merge our module (login-destination) with logintoboggan.
greetings
Ivo from Austria
Radulovski Ivo
Segments e.U.
www.segments.at
Kaiserstraße 80/21
1070 Wien
Tel: 0676 / 400 87 80
Fax: 01/2533033-8852
Mail: office [at] segments [dot] at
FN: 307265 k
Geschäftsführung: Radulovski Ivo
Firmenbuchnummer: 307265 k
Eingetragen: HG Wien
Ust-IdN: ATU64789018
Sent from Wien, Österreich
Redirect After Login
Hi Mark,
I use an alternative solution.
Download this module: http://drupal.org/project/login_destination
It is called Login Destination. Very easy to use and will work
perfectly for what your purpose!
Triggers and actions doesn't always give the best results, but the
login destination module is exactly what you need!
Regards,
Chris van der Merwe--
Kind Regards
Chris van der Merwe
Vanderbot Drupal PHP Programming and Web Development
074 587 9174
vanderchris [at] gmail [dot] com
Redirect After Login
Hi Mark,
I use an alternative solution.
Download this module: http://drupal.org/project/login_destination
It is called Login Destination. Very easy to use and will work
perfectly for what your purpose!
Triggers and actions doesn't always give the best results, but the
login destination module is exactly what you need!
Regards,
Chris van der Merwe--
Kind Regards
Chris van der Merwe
Vanderbot Drupal PHP Programming and Web Development
074 587 9174
vanderchris [at] gmail [dot] com
Unsubscribe
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 4802 (20100124) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
Unsubscribe
Don't be rude and stupid. Remove yourself from the list.
Remove me from your list
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4802 (20100124) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
Unsubscribe
Kind regards,
eConsultant
Mail : willem[ at ]econsultant.co.za
Web : http://eConsultant.co.za
Tel : 0861 PRO WEB
Tel : 0861 776 932
Fax : 0866 066 048
Mobile : +27 82 823 0595
----------------------------------------------------
Email Disclaimer: http://econsultant.co.za/legal-notices
Unsubscribe
<!--[if gte mso 9]>
<![endif]--><!--[if gte mso 9]>
<![endif]-->
TX! When are you sending me the details for my guys to do QA?
Kind Regards
Craig N. Mentz
Development Manager
CareerJunction | CareerJunction Middle East | iTalent | Better jobs. More often.
Web:
www.careerjunction.co.za | email:
craig [at] careerjunction [dot] co [dot] za (craig [at] careerjunction [dot] co [dot] za)
Phone: +27 21 818 8723| Mobile: +27 82 779 1580 | Fax: +27 21 818 8841
From: drupal-ct-bounces [at] lists [dot] drupal [dot] co [dot] za [mailto:drupal-ct-bounces [at] lists [dot] drupal [dot] co [dot] za]
On Behalf Of Willem van Straaten
Sent: Wednesday, January 27, 2010 11:39 AM
To: drupal-ct [at] lists [dot] drupal [dot] co [dot] za
Subject: Re: [Drupal-CT] Unsubscribe
To unsubscribe please follow this link
http://mail.lists.drupal.co.za/mailman/listinfo/drupal-ct_lists.drupal.co.za.
Should you require any further assistance, please do not hesitate to contact me.
Kind regards,
Willem van Straaten
----------------------------------------------------
eConsultant
Mail : willem[ at ]econsultant.co.za
Web : http://eConsultant.co.za
Tel : 0861 PRO WEB
Tel
: 0861 DRUPAL
Tel : 0861 776 932
Fax : 0866 066 048
Mobile : +27 82 823 0595
Twitter
: @willemvstraaten
----------------------------------------------------
Email Disclaimer: http://econsultant.co.za/legal-notices
On 27 Jan 2010, at 11:21 AM, Eduard Grebe wrote:
Don't be rude and stupid. Remove yourself from the list.
Redirect After Login
Happy Days!
On 26/01/2010, Mark van Wyk <sparkyspider [at] gmail [dot] com> wrote:
> Hi there,
>
> I set up a page in my drupal site, and created a trigger with a redirect
> that redirects to a "landing" page. I then added an action that says "after
> a user has logged in", "Redirect to Landing Page".
>
> But it doesn't work. It just stays on the same page. Any ideas why this may
> be, or any ideas how I can debug or troubleshoot it.
>
> At worst, can you recommend an alternate solution.
>
> Thanks,
>
> Mark
>
--
Kind Regards
Chris van der Merwe
Vanderbot Drupal PHP Programming and Web Development
074 587 9174
vanderchris [at] gmail [dot] com