Fancybox didn't work, and I found out why, in fancybox_activate():

$path = libraries_get_path('fancybox') . DIRECTORY_SEPARATOR;

You don't use DIRECTORY_SEPARATOR for URLs, only for system paths. We're not including JS through the server,...

Solution:

$path = libraries_get_path('fancybox') . '/';
CommentFileSizeAuthor
#2 1364820_fancybox_dir_separator.patch427 bytesxandeadx

Comments

Anonymous’s picture

Title: You don't user DIRECTORY_SEPARATOR for URLs, only for system paths » Don't use DIRECTORY_SEPARATOR for URLs, only for system paths

Title

xandeadx’s picture

StatusFileSize
new427 bytes

please commit

joelpittet’s picture

Status: Active » Needs review

Looks like this has patch has already been committed to dev

bas.hr’s picture

Status: Needs review » Fixed

already in dev

xandeadx’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

xandeadx’s picture

Status: Closed (fixed) » Active

please commit

bas.hr’s picture

Status: Active » Fixed

Sorry, now its committed ;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.