hi,
i would like to put an adsense banner next to the logo at header. I tried the banner module but the banner is rolling.
i there any way to do it. Where i have to put the code at header.html?????
thank you
hi, i would like to put an adsense banner next to the logo at header. I tried the banner module but the banner is rolling. i there any way to do it. Where i have to put the code at header.html????? thank you |
Hello you can put your banner into templates/base/_sub_header.html PS: If possible do not write me personally, please try to ask on the forum first |
thanks for the reply but i dont know well the structure and i dont know where to put it, if i want to adjuct it next to logo. couls you please show us where to be put? |
Hi I don't know if this is the correct way in regards to how "Boonex" would prefer, but it worked for me at HomebodyPersonals.com, which I'm now in the process of building up. Before doing this, encase your Adsense code in a DIV tag with the style tag set at float:right; and top-margin:12px; for a 468x60 spot. If needed, just view my source code. This is for the default template with the stock logo of 309x60 on the left. If and when you move to another template, you will need to change these. Once you have your Adsense code encased, paste it between the <div class="sys_ml_wrapper"> and <bx_injection:injection_logo_before /> tags found near the top in your _sub_header.html template file as mentioned above. You do not need to remove any tags, just remember that you can not use the built in banner feature of Dolphin for this banner position afterward without further changes as it will break the header layout. This should be considered quick and dirty. Hope this helps |
and how can I insert adsense in a html block? |
For a sidebar block I recommend downloading and installing Deanos Tools... http://www.boonex.com/unity/extensions/entry/Deanos_Tools_Dolphin_7_0_Version Once downloaded and installed as per the included instructions, create a PHP block and echo your adsense code, making sure you escape all quotes in your adsense code. You may also want to encase your adsense code in a div tag so that you can adjust your margins. For example, I gave my php block the language key _Adsense2 and named it Advertisements. Escaping all quotes (") with a backward slash (\"), I surrounded my adsense code with a div tag style of margin-left:10px; to offset the display slightly. I wasted a couple hours looking around inside the code with the thought of hard coding a solution. Since I'm not up to speed yet with the complexity of Dolphin, having only installed it yesterday, I decided a different approach was the way to go. As it turns out, this is a much cleaner solution. If you make mistakes, you can delete or edit them inside Deanos Tools, so no worries here. Hope this helps. If you need a more explicit example, just let me know. Enjoy! |
dolphin shows me a security attack message. I tried to write it manually to prove that character is the error, and just by typing <Hello> show message security attack |
I have know clue where that came from. Other than a couple parsing errors I received on my first attempts due to my own mistakes and a case of fuzzy brain, I received no security warnings whatsoever. Maybe someone else could shed some light on this. All that is required is that the rules of PHP be followed. It should be noted that the <?php and closing ?> statements are not required with Deanos Tools, these are already stated within the module, so all that's needed is the php content. An alternative would be to create an include statement that is pointed at an html file, this way no escapes are required. This would give you the ability to edit the content in a more traditional manner, which may be easier to manage all around. Example... include('/home/samplepath/templates/custom/adsense.html'); Sorry, I need to assume that I'm writing for newbies since this will be read by many. I also don't know anyone here, and the number of messages posted is not always indicative of experience. Please take all I post with a grain of salt if this is stuff you already know. Bottom line is that I'm not sure where the security message came from and hope someone else will shed some light on this. I'm using all of the solutions I posted here and all are working without problems for me. |
dolphin shows me a security attack message. I tried to write it manually to prove that character is the error, and just by typing <Hello> show message security attack Are you still running dolphin 7.0.0? https://www.deanbassett.com |
Hello Free Dating Site on: http://coolonweb.com |
I have version 7.01 and deanos tools 1.5 This is the mail that sends the security attack : Total impact: 35 |
I have version 7.01 and deanos tools 1.5 This is the mail that sends the security attack : Total impact: 35 Look up at my last post. The instructions to shut off those security messages is there. https://www.deanbassett.com |
I have set these values - 1 before you write the post, do you have any idea because not working well? |
Once the values have been set to -1 it should not happen. So yours is not working, and that would be the first case i have heard of. https://www.deanbassett.com |
Turns out i was wrong. Those settings are under other for both 7.0.0 and 7.0.1 so it may be possible the wrong settings have been changed. https://www.deanbassett.com |
follow your instructions at the bottom of the letter and the result is the same. I can only think that I am wrong entering the code. so as I am inserting adsense : echo '<script type="text/javascript"><!-- inserted into deanos tools 1.5 php block |
No. With the security setting off, you should not get any security warnings at all. The code you enter would not matter. It's obvious your copy of dolphin is broken. It's ignoring those security settings. https://www.deanbassett.com |
Hello Free Dating Site on: http://coolonweb.com |
your have reason deano When you paste something blogs shown alert security
How can I fix this? |