Theme hook simpleads_type_ not found

Created on 28 March 2014, about 10 years ago
Updated 9 June 2023, about 1 year ago

Hello. I installed your module with the required additional modules (link & library). Creating a company and an ad does not pose a problem, but the ad itself does not show on the page.
If you open it in View, the ad doesn’t even show as a preview. It only starts to show if you change the format from Simple Ads to some other, e.g. html.
Along with that the error log says: "Theme hook simpleads_type_ not found."
Some investigation shows that in template views-simpleads.tpl.php variable $type is empty.
If I change 'simpleads_type_' . $type[$id] to 'simpleads_type_graphics' all is well.. if ad is image:)

Please tell me if there’s a way to handle that.

I am currently migrating from drupal 6x to 7x, and i’m looking for a replacement for the advertisement module. I like your module and i’d like to use it, but so far have not been able to make either version 1.8 or 2.x work.
(I dont' like when ads refresh only after cache clear :( )
Thanks in advance.

🐛 Bug report
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

🇷🇺Russia asPagurus

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024