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

zeta ζ’s picture

Assigned: Unassigned » 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') ;
owahab’s picture

Status: Needs review » Reviewed & tested by the community