I created a node/add/content-type menu link in my main menu, but it only shows to those who have access to it.
How could I show this to everyone, including anonymous users, and use http://drupal.org/project/r4032login for those who have no access?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
Add to the menu a page with no access restrictions that contains the login form. (But still called "Add Content Type" or whatever it's currently called).
Using Rules, add redirects to node/add/content-type
Just found the Menu item visibility module. Here is a quote about it (from the module's project page):
... exposes configurable and extendable visibility settings for menu links. For example, if you want to create a 'My account' link that points to /user, both anonymous and registered users have access to the /user path, so both will see the link, even if anonymous users do not technically have an account. Using this module will allow you to only have your 'My account' link visible to registered users, and hide it from anonymous users.
I solved the same problem. It seems the only easiest way is to manually set the menu path as an absolute URL, ie. http://youdomain.com/*
With the help from fishfree and the menu token module we can use a link like "[site:url-brief]/node/add/article" to solve the problem.