EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Recent Posts

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Re: Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 02:09:24 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:55:53 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 01:47:42 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:34:07 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 12:20:17 pm

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Recent Topics ezBlock

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Where is the facebook button color? by EzPortal
February 28, 2023, 06:45:09 pm

Display on Mobile - SMF 2.1.3 and EZ 5.5.2 by BugginIn
December 29, 2022, 04:07:13 pm

Blocks Help by Riggs1973
November 20, 2022, 12:59:30 pm

Surface ol lite theme release Free! by Steffen K.
November 18, 2022, 03:57:24 am

Undefined index: href by EzPortal
October 04, 2022, 08:49:59 pm

SMF-ezportal_column_5.cache): failed to open stream: No such file or directory by EzPortal
June 04, 2022, 11:40:13 am

Arcade block error: failed to open stream: No such file or directory by Shades
May 20, 2022, 02:47:13 pm

Author Topic: Code is reformatted in Page manager  (Read 7692 times)

0 Members and 1 Guest are viewing this topic.

Offline yameth

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
  • Gender: Male
Code is reformatted in Page manager
« on: April 23, 2016, 11:48:03 am »
I am trying to create a blank page through the page manager which will return Google search results.
I hide (disable?) TinyMCE, add the script given by Google but it does not work.
The code is reformatted, adding stuff underlined on the example below:

Code: [Select]
<div id="cse-search-results">&nbsp;</div>
<script type="text/javascript">// <![CDATA[
 var googleSearchIframeName = "cse-search-results";
  var googleSearchFormName = "cse-search-box";
  var googleSearchFrameWidth = 800;
  var googleSearchDomain = "www.google.com";
  var googleSearchPath = "/cse";
// ]]></script>

Any idea how to get around this?

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1299
  • Karma: 67
Re: Code is reformatted in Page manager
« Reply #1 on: April 23, 2016, 03:01:29 pm »
Try disabling tinymce completely under settings.
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline yameth

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
  • Gender: Male
Re: Code is reformatted in Page manager
« Reply #2 on: April 24, 2016, 02:23:04 am »
Quote
Disable TinyMCE when adding/editing html ezBlock
It was already disabled. I see no other option for pages.

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1299
  • Karma: 67
Re: Code is reformatted in Page manager
« Reply #3 on: April 24, 2016, 04:33:34 am »
What SMF Version are you using?
And can you post the original code here too
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline yameth

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
  • Gender: Male
Re: Code is reformatted in Page manager
« Reply #4 on: April 24, 2016, 10:55:46 am »
SMF 2.0.11 - EzPortal 3.0.3

The code is:

Quote
<div id="cse-search-results"></div>
<script type="text/javascript">
  var googleSearchIframeName = "cse-search-results";
  var googleSearchFormName = "cse-search-box";
  var googleSearchFrameWidth = 800;
  var googleSearchDomain = "www.google.com";
  var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>

Offline yameth

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
  • Gender: Male
Re: Code is reformatted in Page manager
« Reply #5 on: May 05, 2016, 03:47:24 am »
Hello there. Anything?

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1299
  • Karma: 67
Re: Code is reformatted in Page manager
« Reply #6 on: May 05, 2016, 06:12:27 am »
Yeah it is a bug would have to look into it.
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline yameth

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
  • Gender: Male
Re: Code is reformatted in Page manager
« Reply #7 on: May 05, 2016, 10:36:48 am »
Thanks for the reply.

 

Related Topics

  Subject / Started by Replies Last post
8 Replies
12263 Views
Last post October 04, 2009, 08:50:16 am
by EzPortal
3 Replies
10509 Views
Last post May 10, 2011, 03:51:18 pm
by EzPortal
1 Replies
5689 Views
Last post October 04, 2011, 02:20:05 am
by david090366
1 Replies
6843 Views
Last post July 25, 2015, 07:40:47 am
by EzPortal
6 Replies
6639 Views
Last post October 03, 2015, 01:47:21 pm
by Jim88

+-SMF Gallery

Quick Menu


Powered by EzPortal