Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Using this great module I had the problem of loading.gif was missing. The problem was that I use pathauto module so the path to this image was break.
www.mysite.com/content/site/default/modules/ajax_register/images/loading.gif
I solved this changing:
$path = 'var tb_pathToImage ="' . drupal_get_path('module', 'ajax_register') .'/images/loading.gif";';
to
$path = 'var tb_pathToImage ="' . base_path() . drupal_get_path('module', 'ajax_register') .'/images/loading.gif";';
In line 18.
Thanks!!
Comment | File | Size | Author |
---|---|---|---|
#2 | 782590-loading_gif_not_found.patch | 835 bytes | MaxWesten |
Comments
Comment #1
Open Social CreditAttribution: Open Social commentedSame here, line change above worked. This should be fixed in the next release!
Comment #2
MaxWesten CreditAttribution: MaxWesten commentedThe proposed fix works.
I've rolled it into a patch and attached it.