This line in tinytax:
'
',
on a site that does NOT use clean urls, results in a url like this:
mydomain.com/?q=modules/images/plus.png
(the "?q=" part should not be there), which gives a "page not found" error, and the plus sign does not appear by the terms, so nowhere to click to go to the terms page (other than right-clicking on the term and choosing open in new tab).
When specifying the path from the root manually without using drupal_get_path, like this [ '
', ], it works fine without errors. (when drupal is not in a subdirectory, that is)
What is the correct way to get the path without the ?q= in it?
Comments
Comment #1
Leeteq commentedoops, forgot the code tags, ref. "This line in tinytax:"
'<img src="'.url(drupal_get_path('module','tinytax')).'/images/plus.png'.'"/>',Temp. fix: "like this":
'<img src="/module/images/plus.png'.'"/>',Comment #2
Leeteq commentedComment #3
sdrycroft commentedIt actually wants to be:
Thanks for pointing that out, I'll get a new release out with this fix in ASAP.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.