Tuesday 05 October 2010 12:22:08 pm
@Ivan: you seem to be confused. Either that, or I am. When you create a new module and some views inside it, it is your job to create where appropriate in templates the links/forms that will send the user to your new module/view url The classes listed in the 'create here' dropdown are the content classes that are 1. defined in the system (in administration|classes) panel 2. available to the current user within the roles & policies section - ie. the user has permission on content/create for those classes within the current node I have a hard time understanding what you mean by having users being able to get redirected to your module when they select to create a new "class XXX" object. Anyway, it could be done by: . finding out the template used to fill that dropdown, and overriding it . adding to the list yor custom 'fake' line . adding some js magick that intercepts the 'onclick' event of the 'create here' button and, if your fake class is selected, send user to your module instead of sending him to content/action
Principal Consultant International Business
Member of the Community Project Board
|