wired code insert in html block

Good morning everyone.

I insert this google wiget in my block. after click on save --- it automatic inserted the Red Code --- I delete the redcode, save, check it again, it there WHY ??? how do i remove the red code permanently?

<td style="width: 638px;" align="undefined" valign="undefined"><!-- Place this tag where you want the badge to render. -->

<div class="g-plus" data-href="//plus.google.com/107653265809555817330" data-rel="publisher"></div>

<!-- Place this tag after the last badge tag. -->

<script type="text/javascript">// <![CDATA[

(function() {

var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;

po.src = 'https://apis.google.com/js/plusone.js';

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);

})();

// ]]></script>

</td>

Quote · 12 Mar 2013

Edit the database entry for that just like you did for the come2play code...

It's being stripped off by the editor.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 12 Mar 2013

Remember you can also do this in a php block as well.

You have an example right on your front page. The addthis code is in a php block. I did that one for you.

You can simply do the same thing as that block replacing the addthis code with the new code your trying to use.

https://www.deanbassett.com
Quote · 12 Mar 2013

Newton & Deano

Thanks so much for youe help.

Deano I am having issues with understand how to use the phpcode - i am trying to figure it out now. I have some little knowledge about the phpadmin so i am going to explore and replace the html block with phpblock also trying to see if i can edit the table as Newton said. I be back and let you guys know. God bless me for not crewing up Cool

Quote · 12 Mar 2013

Newton

I went to phpadmin --- i search sys_page_compose & sys_page_Compose_page

the html-block is inside Homepage --- Caption Language key of this block is "Guitar Scales - Chords -  Arpeggios - Modes - Tabs - Video Lessons"

i am lost because i don't know what I am search for --- i did check the page "home" table to edit it and have no clue if that is the place to edit the code ?

Damn this is so very hard and so confuse

i am going to try phpblock from deano tool to see.

Deano --- i am uable to search for ADDThis in phpadmin ??? what do i look for ??? where ???

 

I am just trying to learn - i don't hink i understand phpadmin & phpblock in details yet - which scare me out

Quote · 12 Mar 2013

There is another option if your uncomfortable with the database.

I have another mod called Block Tools that also allows you to edit HTML blocks.

This tool does not have a tinymce editor. And inserts the code as is without any filtering directly into the database. I designed it for this reason.

This mod also allows you to insert html blocks as well, but it would be easier to just create the block as normal in the page builder, then use this tool to edit the existing block. Saves you the trouble of having to go back to the builders to put the new block where you want it on the page. And you don't have to go into phpMyAdmin.


https://www.deanbassett.com
Quote · 12 Mar 2013

 

Deano --- i am uable to search for ADDThis in phpadmin ??? what do i look for ??? where ???

I did not say to look for it there. I said it's on the front page.  It was created with Deanos tools, so you look at it's code with deanos tools as well.

I think the block tools option i mentioned above will be easier for you.


https://www.deanbassett.com
Quote · 12 Mar 2013

Hello Deano

 

When I am using the ur deanotools to created phpblock - Do  I need to creadted a language key for it prior to created the phpblock ? I think I understand and try to replace the html block with ur phpblock

thanks

Quote · 12 Mar 2013

Yes. If you need to have the blocks title in different languages then yes. Create a language key and use that key for the block.

https://www.deanbassett.com
Quote · 12 Mar 2013

Thanks I understand it now - i am going to try.

Quote · 12 Mar 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.