Hi there,
First, congratulation and thanks to this module creator, it have awesome functionnalities and it's a real pleasure to see open source project so complete like this module.
However, I encounter a problem with ember ads, maybe it's me that don't do things properly, but I red all documentation without find a solution.
I created 2 image ads, it's ok, I put the active block and they show in it.
But When I try to put these ads in my content, they don't show up. I tried with brackets [[ad]], with comment
and with php print ad(); , I checked the 2 checkboxes under "manually embed ads" in admin/content/ad/configure/embed.
I tried automatic embed ads too without success, I check to add ads on all my content types I never see ads in them after configure that...
Maybe a missed something, that's why I ask support. I have to precise that I personnalize my .tpl.php file for my content types, maybe it's the cause of the non display ads.
Comments
Comment #1
zmove commentedOk, I installed contemplate to see why embed ads doesn't display.
I see that in the $content variable, the ads is added, but the module don't add a $node->adds object to be able to place ads where you want on your .tpl.php file.
It's a little annoying because one of the most powerfull content system in drupal is to be able to define variables how you want in .tpl.php file, what CCK do.
So to be able to put embed ads on my website, I have to put a print $content, in my .tpl.php file and so, I cannot configure all other display as I want...
It is possible to make the embed ads system like the CCK system : to add a variable in your node object and to be able to only call ads in your .tpl.php file, it would allow lots of users like me, that confifure .tpl.php file to put ads where they want.
thank you for future answer.
zmove
Comment #2
zmove commentedI popup this thread because I don't know if my advice is good, or if I have an installation problem and should work like I described...
Comment #3
jeremy commentedThe ad_embed module doesn't provide any features to themes, it merely inserts ads inline into the node text. To display ads elsewhere, either enable the default blocks and position them with CSS, or call ad() directly as detailed in documentation/README.txt.
Comment #4
waddles commented@zmove
You say you created 2 image ads which implies you have them grouped, but if you don't specify a group when you display an ad it will use the default tid of '0' (actually 'FALSE'). But then if all your ads are grouped, it will not find any where tid=0.
Try using [[ad|group=43]] (assuming 43 is the taxonomy id of your image ads), or calling
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.