Skip to main content
20 events
when toggle format what by license comment
May 5, 2023 at 20:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Dec 30, 2022 at 10:05 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Sep 1, 2022 at 3:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Apr 23, 2022 at 11:03 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Dec 17, 2021 at 11:07 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Aug 18, 2021 at 18:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jan 22, 2021 at 5:00 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Sep 22, 2020 at 9:00 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
May 17, 2020 at 20:00 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Dec 20, 2019 at 0:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Aug 4, 2019 at 9:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Nov 26, 2014 at 17:31 answer added Cesar timeline score: 0
Nov 26, 2014 at 17:06 comment added Cesar I am adding the complete URL link in the page--*.tpl.php. I can see Ajax because I have a pager which is using Ajax and is working. I am going to see the difference at low level with Firebug as you suggest and will report back. Thanks a lot for your patience.
Nov 26, 2014 at 17:00 comment added AKS This is unfortunately not the case. Modal JS scans the page (works as a JS behavior, so it's called on document ready event AND after an Ajax call) for the matching links and registers the Ajax object in Drupal.ajax. Adding or removing the class later in a particular anchor tag will not make a difference because Ajax functionality is already bound to it. Are you adding the class to anchor tags using JS? Can you see Drupal.ajax stuff?
Nov 26, 2014 at 16:56 comment added Cesar It is exactly that class ctools-use-modal. I thought I understood the process. I click on the link, as it is modal and has the class jQuery sees as modal, instead of redirecting, opens a new window in modal form, and when the URL is called, Drupal makes the Ajax call to retrieve the form. So I simply put the link in another page and it does not work, even it does not open in modal, which is the most absurd thing.
Nov 26, 2014 at 16:46 comment added AKS What do you mean ahref has modal classes? What classes exactly? I think it should be ctools-use-modal plus the modal theme name. Also, check the Drupal.ajax in Firebug DOM inspector. you should see the href value of the link there if Ajax is set correctly.
Nov 26, 2014 at 16:43 comment added Cesar I have added in template.tpl.php the following: ctools_include('modal');ctools_modal_add_js(); and the source code lists the same css and javascript. The ahref has the modal classes. But still it doesn't work. What makes me crazy is that it doesn't even open a popup.
Nov 26, 2014 at 16:27 comment added AKS The Anchror tag needs some special classes, and the modal JS needs to be added to the page first. Also, the page should return valid Ajax commands instead of raw HTML or render array.
Nov 26, 2014 at 16:11 review First posts
Nov 26, 2014 at 16:23
Nov 26, 2014 at 16:08 history asked Cesar CC BY-SA 3.0