Active
Project:
Modal forms (with ctools)
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2013 at 19:53 UTC
Updated:
3 May 2013 at 17:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
frjo commentedYou need in one way or another add the class "ctools-use-modal" to the link.
Comment #2
dercheffeit works fine :D thx.
Comment #3
dercheffefrjo, please let me ask you one more thing about this fixed bug:
Your solution only works fine as long as I link to "modal_forms/nojs/login" directly.
If I try to mask the login url via the the config page of this module then I get an ajax error code 200. Although the class ctools-use-modal" is added to the link's CSS now.
Also if I try to mask the url with an alias by the path-module manually in my menu I get the same error message.
thanks
Comment #4
dercheffeComment #5
frjo commentedUnsure what you mean by mask "via the the config page". What you have there are options to activate scripts that automatically can rewrite e.g. login links in to modal login links.
Have not tested with path aliases but I would have guessed that it works. You should always enter the original path in to the menu item and then let Drupal convert it when needed.
Comment #6
dercheffeIf I choose these options e.g. for the standard Drupal Login ("mydomain.com/user") and I link my menu entry to this page (the css classes you mentioned are included into the link), I still get an error message as you can see on the screenshot (attached an my last post). I guess that the rewrite applies only to standard drupal links, like you have those e.g. below teasers.
It would be great, if there is a way, that the module is working with path aliases too. Especially to improve the SEO friendliness of this module.
thx again for your good work and your help
phil