Closed (won't fix)
Project:
SimpleAds
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2012 at 12:45 UTC
Updated:
9 Jun 2023 at 17:03 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
smitty commentedI think, this is a real bug!
As a workaround you can change the Simple Ad Node to 'image Ad', enter the url address and then change back to 'Text Ad'. After Saving the node the url is displayed.
I could not find where in the code this could be changed. So somebody familiar with the SimpleAds module should have a look inside.
Comment #2
brenk28 commentedI think this occurs when your textarea is set to something other than plain text, basically to protect the user from themselves. However, I do think there are cases where you might want to let HTML in the textarea and still link it. simpleads.js and tjhe simpleads_preprocess_simpleads_text_element function in includes/simpleads.theme.inc need to be updated in order to allow this. This patch fixes the issue of the url field disappearing if you select Text Ad as the type, but also allows the user to enter HTML for text (which I think the module was trying to prevent).
Comment #3
duntuk commentedThank you for the patch.
This gotta be a bug.
It doesn't make any sense at all that the text ads can't do any click tracking--they only record impressions.
Tested this out with an html link and one with a url inside the image field and switching back to text via the describe above "workaround" @#1, which didn't apply any link (it simply showed text).
Comment #4
liliplanet commentedThank you! The patch works perfectly :)
Comment #5
jhodgdonfixing bug status.
Comment #6
minnur commented