Hi again,
I just realised the journal is full of "page not found" entries for chatblock/images/* and chatblock/css/chatblock.css ... however I configured the top URL correctly.
Maybe the module doesn't use the correct function to build its URLs ?
Here is what I did to make it work, for the TWISTED smiley:
$message = preg_replace("/>\:>/" , theme_image(drupal_get_path('module', 'chatblock').'/images/twisted.gif', ":twisted:"), $message);
And for the CSS:
$output .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"".check_url(base_path().drupal_get_path('module', 'chatblock').'/css/chatblock.css')."\" />\n";
(not sure about the last one)
Note that using this gets rid of the chatblock_get_url in some places, I'm sure it could disappear everywhere with clever uses of drupal_get_path...
Comments
Comment #1
dwees commentedThis should be fixed in the latest version of Chatblock. Download the module in a few hours and test it out.
Dave