Affichage des articles dont le libellé est Re: Insert ad script footer in core theme. Afficher tous les articles
Affichage des articles dont le libellé est Re: Insert ad script footer in core theme. Afficher tous les articles

Re: Insert ad script footer in core theme

mardi 30 septembre 2014

the ad management plugin is used to display two ads at the right of the site. Unfortunately the plugin doesn't wants to work with top or bottom banners..And also everything is in English so maybe I miss something..



Re: Insert ad script footer in core theme

Re: Insert ad script footer in core theme

OK, please put your previous file back. :)



The remove blank lines likely is the issue. Sorry about that. I can see the Ad Management mod code in here though. Might be worth asking how to get that operational.



Re: Insert ad script footer in core theme

Re: Insert ad script footer in core theme

Sorry the site is down :



www.infotrucs.fr



it says "unable to load 'main_above' model



just like everytimes I tried



Re: Insert ad script footer in core theme

Re: Insert ad script footer in core theme

Hmm...there is a lot of whitespace in this file...I'll see what I can do. I used Delete Blank Lines in Notepad++ which from my experience isn't always reliable, but try the attached? If it fails, you always have your attachment above as a backup.



Re: Insert ad script footer in core theme

Re: Insert ad script footer in core theme

OK, just for fun as I only have a few more minutes before this stupid baseball game ends and I have to get to bed...would you mind attaching the index.template.php file and a link to where this is being used?



Re: Insert ad script footer in core theme

Re: Insert ad script footer in core theme

Crashes the site as in the code you inserted isn't quite right? How are you inserting the code? Where and what? :)



Re: Insert ad script footer in core theme

Re: Insert ad script footer in core theme

I know I tried to copy the first code at the end like you say, I tried a lot of places but all times it crashes the site..I just tried again but nothing more..



Re: Insert ad script footer in core theme

Re: Insert ad script footer in core theme

You were able to put this at the top, right? Have you tried putting a copy of what you put at the top in the bottom? I'm not familiar with the core theme, but the area would be function template_body_below(). Somewhere in there should work.



Re: Insert ad script footer in core theme

Re: Insert ad script footer in core theme

Sorry it doesn't work..



I don't know, when I set the ad management it returns no error but doesn't display the script.



I just put name, then I paste the script code, and finally I tick the "Display ads on the bottom of the page" to have the ad at the ...



Re: Insert ad script footer in core theme

Re: Insert ad script footer in core theme

I use the ad management mod and it works for me. Are you sure you are you entering it correctly? Although I use Google on mine, seems like it should work for you.

Also, make sure you have the ad set to display in that location in settings.

[code]<div a...



Re: Insert ad script footer in core theme

Re: Insert ad script footer in core theme

Any idea ?



At least to make work the ad manager mod ?



Re: Insert ad script footer in core theme
 

Lorem

Ipsum

Dolor