0

I want to redirect the users to a particular page when they view a certain page when there are some conditions. The condition is that the user has uploaded a node, for example an article.

Say there are two pages, Page A and Page B.

Page A Link <-- if the user has not uploaded a node, clicking on this link will take him to Page B

I have installed the node limit module which allows the user to upload only one content.

  • can you provide more info? clarify how he/she uploads a content?... – xurshid29 Oct 20 '14 at 7:26
  • @xurshid29 I made the edits. The user uploads the content type normally. – newbie Oct 20 '14 at 7:29
  • you mean user creates a node? or uploads a file? – xurshid29 Oct 20 '14 at 7:30
  • Yes..sorry my drupal terms are not exact – newbie Oct 20 '14 at 7:31
  • @xurshid29 I mean creates a node. – newbie Oct 20 '14 at 7:40
1

It seems you can achieve that using the Rules module.

The Rules module allows site administrators to define conditionally executed actions based on occurring events (known as reactive or ECA rules). It's a replacement with more features for the trigger module in core and the successor of the Drupal 5 workflow-ng module.

| improve this answer | |
  • I tried using the Rules module. But I'm not exactly sure how to go about it.. – newbie Oct 20 '14 at 7:19
  • How do I put the condition that user has uploaded one content – newbie Oct 20 '14 at 7:19
  • not content.. I mean node* – newbie Oct 20 '14 at 7:29
  • Sorry about that @Krishna – newbie Oct 20 '14 at 8:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.