hi, i'm a noob here in drupal, and i'm trying to figure out a login destination

i want that when a new user is created, since it has to be activated when he has paid for the subscription for my website, to redirect him to the product page if it's the first time he opens the website, otherwise, if he's an activated user, to go to the standard private-home-page

i know i have to go to "user administration" -> "login destination", and then i have

"redirection conditions" and "destination URL settings", and it says

IMPORTANT! If using a WYSIWYG editor - ensure that you use its plain text mode! There is a link below the text box.

at the beginning of both boxes

how do i know if i'm using this kind of editor?

how should i write my redirection condition?

i'd really appreciate if anybody could help me with the actual code i have to write in there.

Comments

SidneyGijzen’s picture

If you have a What You See Is What You Get (WYSIWYG), e.g. CKEditor, installed, make sure it will be excluded for that field. If that's the case, you will see something along the lines of "CKEditor: the ID for excluding or including this element is "here you will see the id of the element for login destination'.". If you click on the link for "excluding or including" part, you will be redirected to settings page for CKEditor, where you can exclude that specific field.

stokks’s picture

ok, now i've understood that i don't have such a editor...

so now my problem is the right set up for these login destination for these conditions, can anybody help me?

Thanks anyway MF82

SidneyGijzen’s picture

You're welcome. I got that module working perfectly when following this comment. Please read the whole referenced thread to get an idea of what's going on and for possible other solutions.