Pages with no navigation - how to implement?

NikLP - November 7, 2008 - 15:17
Project:Auto Assign Role
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:cyberswat
Status:closed
Description

The interface says (under "Assign from Path" and "Display Method") "Pages with no navigation do not display in the menu and rely on you to provide a method for end users to reach them."

What sort of methods can we use to implement this feature? It's not specific - it would be nice if there was a hint in the interface.

#1

cyberswat - May 10, 2009 - 05:25

What I had in mind was a user implementing a path in their own module through something like hook_menu. How would you phrase it so that it makes sense?

#2

NikLP - May 10, 2009 - 11:38

I think, just adding what you said to what's already there(?) "[them] by adding your own menu [link/callback/hook] in a custom module." Or something like that... :)

#3

eosrei - August 13, 2009 - 00:38

On my current project, I made a page with links to the registration forms and descriptions. Same type of functionality as: http://drupalsn.com/sign-up

Menu items aren't required, so specifying menu items will probably cause confusion.

#4

cyberswat - August 13, 2009 - 00:40
Status:active» fixed

There's a solid description on this field in the dev version that I believe provides an explanation that helps clarify the issue.

#5

crash98 - August 18, 2009 - 20:53

@cyberswat: Can you please tell where to find that description?
Im using AAR + content profile.
I want to override the page user/register with a link page to the different profile paths (pages with no links) like eosrei postes in #3. A regular page with links to the paths is not the problem - but how to show it on the user/register page instead of the normal forms?
Is there a workaround or do i have to use sign-up ro realise it?

#6

cyberswat - August 18, 2009 - 21:12

@crash98 take a look at #477910: fix / simplify content profile integration comment #29 ... I actually just committed what your describing today and describe where/how you would use the finctionality your asking about

#7

crash98 - August 20, 2009 - 19:02

Thx for your help cyberswat. Ive integrated your files and it works so far. What i get is a redirect from user/register to a default path role path which i now define by AAR.
But how can i build a page where the user can choose the role (like this ) on the page user/register?

#8

cyberswat - August 20, 2009 - 20:21
Component:User interface» Code
Category:support request» feature request
Assigned to:Anonymous» cyberswat
Status:fixed» active

I guess the easiest way would be for me to give you a text box that lets you designate a specific node as the user/register page. Then it would be up to you to modify the content of that node to present the links to the appropriate registration pages. I'll get this implemented ... thanks for pointing to an example.

#9

dasch - August 21, 2009 - 12:48

This would be a great feature!
I'm searching for a user/register override for some days to implement the old "role signup" behaviour.

1. Click on "Create new account"
2. Get a page with description and the "user/register/[role]" links.
3. Click on the role you want and get the registration form for that role.

http://drupal.org/node/217389 #33 wants exactly the same, but there was no solution posted.

#10

cyberswat - August 25, 2009 - 13:06
Status:active» fixed

http://drupal.org/cvs?commit=255832

#11

crash98 - August 26, 2009 - 19:26

thx for your help cyberswat. Works perfectly for me. Great Job!

#12

cyberswat - August 26, 2009 - 19:33

Good to hear ... enjoy

#13

System Message - September 9, 2009 - 19:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.