Is it possible to make selection rules for USER/ and USER/%?
I would like to use USER/ as a dashboard pane for my users and USER/% as their profile page... but I haven't found the selection rule for it so far...
I placed dsm($contexts); on the Panels Selection Rules (PHP CODE) but havent found anything that could help me on that.
Help anyone? :)
Comments
Comment #1
merlinofchaos commentedDrupal automatically forwards 'user/' to either 'user/UID' or 'user/login' if not logged in, so it is not possible to re-use that page without writing a menu task to override the behavior on this path. I'm not sure how difficult it would be to do this, honestly.
Sorry. :/
Comment #2
gilcpd commentedThanks Merlin :)
I've been trying to make somehow 2 user pages... one to use as profile and another to use as user management.
I did it with a regular page... but I cant add User as a context to a regular page :(
Does anybody has any suggestion?
Comment #3
merlinofchaos commentedCTools 1.3 and Panels 3.3 should have allow the loggedin user to be added as a context.
Comment #4
gilcpd commentedYeeeyyy!
Thanks Merlin I updated CTools and Panels it works perfectly!