I know darn well this isn't going to be the issue. This can't be an issue. I mean I've run across plenty of dolphin sites and I've seen google ads of some kind. For some odd reason I can't get my google ads to show up. I know the routine, I have to wait a few minutes before anything shows but I get absolutely nothing. I put my javascirpt code in the HTML block on the page builder, NOTHING. What am I doing wrong? I have to be doing something incorrectly. I mean for ME not to be able to insert google adsense and for others to do it with no problem, it has to be me. I have 7.0.2.
I've been ready other people talking about the troube they have been having. I hope this isn't something thats going to be a mjor problem. I mean really I don't even think that this should be a bug. This is one of those things that should be easily executed. WHAT IS THE DEAL!!!!!!!!!!!!!!!
Oh yeah and when I stick my google analytics code in my _footer.html, all get is the dang on code at the bottom of my site, SOME BODY HAVE AN ANSWER FOR THAT? soooo confused
|
For the page builder block, check the database and make sure the code is being stored correctly. For the Google analytics code, the only thing that comes to mind, is make sure that you put it immediately before the closing body tag. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
its because dolphin strips this bit out:
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
like houston said you have to put it directly in your DB sys_page_compose table then clear cache and cache_public.
https://dolphin-techs.com - Skype: Dolphin Techs |
Dolphin isn't supposed to be stripping anything that is posted by the admin. I lobbied for this for about a year. I know that on the user side, posts are finally not filtered by HTMLPurifier, and I thought this carried over to the admin side. Site admins should be able to post whatever code they please and should have the right to screw up their own site however they damn well please, without the script "protecting" us from ourselves. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
I agree, the site admin should be able to post what they want and break things to their heart's content.
https://www.deanbassett.com |
HoustonLively, that is why you are my dude! (hopefully you are a dude). But I feel that way to. I was just talking to my partner in crime and I was telling him that there should be no reason why I have to go all the way around the corner and down the street to get my google adsense to display properly. I could have sworn I was the administrator, who paid for a Freaking license. I should be able to do whatever the hell I please. BUT AT THE SAME TIME... can some one explain why this is the way that it is? I mean, maybe there is a good explanation to why we have to go about doing it this way.
Dolphin_jay came to the rescue like this isn't an accident. (by the way, THANKS DOLPHIN_JAY,YOU'RE THE BEST,YOU TO HOUSTONLIVELY)Is this something that is going to be a MUST do in every upgrade after 7.0.2? Or will it go back to 7.0.0's version?
Hopefully it is because if it isn't then I'm going to be a even funkier than I was before I began. WHO IS READY TO HAVE TO MANUALLY GO INTO THE PHPADMIN AND INSERT GOOGLE INTO EVERY PAGE !
|
There is also a php block solution to this as well. My deanos tools mod allows you to insert php blocks.
The code to use for the php block is simple.
$r = ' Your Google Code Here. '; echo $r;
I also have another mod called block tools that also has a html insertion which bypasses the dolphin filtering and inserts HTML directly into the database as is.
Either should work. The PHP way is free.
https://www.deanbassett.com |
deanos, it was like you slept next to me last night and stole my thoughts! I went to be thinking about the deanos tools module that I added to my site this past weekend. I thought about that php block and wondered if I was able to do something with it. This alone would make inserting ads ten times easier. I'm going to check that out in a bit. Appreciate it |
Trying to add my facebook like box and the code keeps getting stripped, in the html block and in the php block, is ther a different code I should be trying? Oh and this site is 7.0.2.
There is also a php block solution to this as well. My deanos tools mod allows you to insert php blocks.
The code to use for the php block is simple.
$r = ' Your Google Code Here. '; echo $r;
I also have another mod called block tools that also has a html insertion which bypasses the dolphin filtering and inserts HTML directly into the database as is.
Either should work. The PHP way is free.
Back to pulling my hair out! (ouch, ouch,ouch) |
There is a free mod out there for easily adding page blocks, I have found this works very easy and works well with google ads.
I dont remember off the top of my head, but it is from Gorpus... advanced add block?
choose add html block, enter in google code and save then place block where you wish.
Good Luck
|
you have to disable the tiny MCE editor (i think thats what its called) on the html blocks...that way its just a simple html box and nothing else, then google adsense code will work, this also applies to the FB like button |