If you managed to enter a url address for your textlink (look at: http://drupal.org/node/1704606), put it into a block and are looking forward to getting the text link ad you will see, that the text ad is displayed as plain text instead of a link.
This is caused by storing the text format numerical (3) in the field field_ad_test instead of a string ('plain_text').
But in function simpleads_preprocess_simpleads_text_element (line 118) is checked if the format is 'plain_text' what must fail.
So change
if (!empty($vars['ad']['destination_url']) && $vars['ad']['text_format'] == 'plain_text') {
to
if (!empty($vars['ad']['destination_url']) && $vars['ad']['text_format'] == '3') {
and everything works well.
Comments
Comment #1
minnur commented