Project:AJAXify
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:zeta ζ
Status:reviewed & tested by the community

Issue Summary

I’ve been experimenting with this module, and found that, if the menu is on a page like example.com/taxonomy/1/1 and the source string is ajaxify/div.content/node/4 it doesn’t work. Instead it seems to be looking for example.com/taxonomy/1/4, which might not even exist.

Surely ajaxify/div.content/node/4 should retrieve the <div class="content">...</div> element from example.com/node/4 whatever page the menu is on.

Comments

#1

Assigned to:Anonymous» zeta ζ
Status:active» needs review

I have used the following code which seems to fix this.

  if (in_array('ajaxify', $path)) {
    while(array_shift($path) != 'ajaxify') ;

#2

Status:needs review» reviewed & tested by the community
nobody click here