Linked Questions

0
votes
1answer
33 views

Using only alias URL for a page [duplicate]

If I've got a page that originally has a node (ie node/20) for the URL and then if I've assigned its own custom URL (ie website.com/landingpage) I'm finding that I can still access the page by using ...
6
votes
2answers
4k views

How to use the Rules module to implement a custom redirect for an outdated URL?

I used to show content from a catalog via the Views module, accessing an external database, so that all of the URLs would be something like /content?name=[name]. For various reasons, I've opted to ...
5
votes
3answers
3k views

How to permit users to view unpublished nodes which they didn't create?

I have created two roles: Editor and Reviewer. Editor must only create unpublished nodes; instead, Reviewer must publish and view these nodes. How can I make users with a role see unpublished nodes? ...
2
votes
4answers
3k views

Locking nodes or entities to prevent concurrent editing

I have not had a need for this, but another (home built PEAR) CMS I support for a client uses locking to prevent two users from being able to edit a piece of content at the same time. It can be ...
1
vote
2answers
2k views

How to specify a Rules event like “Content is 'going to be' viewed”?

To answer the question about "How to restrict access to a node via node/12 and allow access via a path like content/sometitle?", I thought it should be possible to use the Rules module to do so. I ...
3
votes
2answers
376 views

Can the Flag module be used to lock content while editing to prevent concurrent edits?

We are trying to figure out a way to use the Flag module to prevent concurrent editing. In our research, we found the Content locking (anti-concurrent editing) module, but we thought since we are ...
3
votes
1answer
743 views

Limit number of event registrations per month

I'm creating a membership-based site in D7, using Date, Calendar, and Entity Registration (which was very easy to setup). Only authenticated users may register for an event. I'm trying to limit the ...
2
votes
2answers
333 views

How to specify a Rules condition like 'Before creating new content'?

I need to show an "Add content" link to users but I need to consider user field values to give access to the node form. For example, is the boolean field "Subscription fee paid" is True. I thought ...
1
vote
4answers
262 views

How to allow editing a single node to a single user?

I am building 500 nodes of same type with different info in them. When I am finished, I want to give each user that will register 1 node that is already in the system, and only that user can edit or ...
2
votes
3answers
156 views

How to disallow node authors to change node content if comments were submitted for that node?

On my site we have enquiries (nodes) and price offers (comments). So if there's at least one price offered (a comment submitted) the enquiry details (node) shouldn't be changed. Is there any way to do ...
2
votes
2answers
418 views

How can I create Rules condition for event when 404 error generated?

I've assigned page for 404 error handling (example.com/404). I've created Rules condition: Data to compare: [site:current-page:url], Data value: 404. And I've created some Rules action for this case. ...
3
votes
2answers
149 views

How to prevent edit or delete of some content by its author depending on an approval status field?

Here is a screenprint to illustrate part of my current implementation: This is what I want to achieve: If the value of 'Admin Status' is not "Approved", then the author can still edit or delete his/...
1
vote
1answer
268 views

How to redirect user using Rules when user visits a link with view?

I have a rule that redirects a user when visiting a view. But it does not work with the event "view page" or "Drupal is initializing". Here is the rule: { "rules_uid_141" : { "LABEL" : "uid=141", "...
2
votes
2answers
97 views

How to grant edit access only to set of users defined in a cck field of a node?

I am trying to restrict edit(node/%nid/edit) access only to users defined in one of the node fields. can I use hook menu alter for node/%nid/edit so i can write a custom access callback or use hook ...
2
votes
2answers
121 views

How to restrict access to a path like user/%/flag?

I have created a views to display flagged content. But the flag page is accessed by all users. I want users to access only their own flagged page.

15 30 50 per page