Counter Format Issue
Counter Format Issue
I am having some problem trying to use some code from the Census Survey folks. It is:
<__iframe src="http://www.census.gov/popclock/embed.ph ... clk=727707" width="389" height="930" frameBorder="0" allowtransparency="true"></__iframe>
It is probably me, but nothing shows up on the page but that code. I must not being using it correctly. I would appreciate a little help on this.
I am using CMSMS 1.11.9 thru Virtualmin 4.04Pro with LimeSurvey 2.05 (Stable) on CentOS 6.5, and accessing it thru Firefox 26.0. MySQL is version 5.1.71-1.el6. PHP is version 5.3.3-27.el6_5. Apache is version 2.2.15.
Thank you.
<__iframe src="http://www.census.gov/popclock/embed.ph ... clk=727707" width="389" height="930" frameBorder="0" allowtransparency="true"></__iframe>
It is probably me, but nothing shows up on the page but that code. I must not being using it correctly. I would appreciate a little help on this.
I am using CMSMS 1.11.9 thru Virtualmin 4.04Pro with LimeSurvey 2.05 (Stable) on CentOS 6.5, and accessing it thru Firefox 26.0. MySQL is version 5.1.71-1.el6. PHP is version 5.3.3-27.el6_5. Apache is version 2.2.15.
Thank you.
Re: Counter Format Issue
You didn't paste that code in the wysiwyg mode did you?but nothing shows up on the page but that code
Re: Counter Format Issue
Yup, I sure did.
Re: Counter Format Issue
I am such a boob.
Now it shows up correctly.
Except for this message:
This site requires Javascript enabled to retrieve and display data.
I would like to do this by server-side java. Is that possible?
Thanks.

Except for this message:
This site requires Javascript enabled to retrieve and display data.
I would like to do this by server-side java. Is that possible?
Thanks.
Re: Counter Format Issue
I should say it was working. However, it has now stopped displaying. I am at a loss. I cleared the cache and reloaded pages, all to no avail.
What did I do wrong now?
What did I do wrong now?
Re: Counter Format Issue
Seems like it could be the same issue as your other post.
For full iframe support in TinyMCE, you'll need to add support for iframe tag usage.
I can't say for sure if the default editor, MicroTiny, will support iframe html tags or not (without testing, I'm assuming it doesn't since it uses the TinyMCE engine...).
For full iframe support in TinyMCE, you'll need to add support for iframe tag usage.
I can't say for sure if the default editor, MicroTiny, will support iframe html tags or not (without testing, I'm assuming it doesn't since it uses the TinyMCE engine...).
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: Counter Format Issue
I will admit at this point that I am not knowledgeable on tags.
Re: Counter Format Issue
If you suspect TinyMCE to delete the iframe tags you might consider turning off WYSIWYG for that specific page. Have a look at the Options tab of the content page.
Re: Counter Format Issue
Sadly, that didn't help.
With wysiwyg on, the editor displays the correct counter and its formating. It even runs, incrementing the counts, in that editor window when java script is accepted. But it no longer displays on the open web page itself.
With wysiwyg on, the editor displays the correct counter and its formating. It even runs, incrementing the counts, in that editor window when java script is accepted. But it no longer displays on the open web page itself.
Re: Counter Format Issue
Post a link.
Re: Counter Format Issue
Not sure what you're doing in that template but I see at least two times:
in the page source.
That is very wrong.
Code: Select all
<!DOCTYPE html PUBLIC "-//W...>
< html>
<head>
</head>
< body>
< /body>
< /html>
That is very wrong.
Re: Counter Format Issue
Standard CMSMS, because I did not type my own code anywhere.
Re: Counter Format Issue
Here is the code that I found in the page editor:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html>
<head>
</head>
</__body>
<!-- Add code here that should appear in the content block of all new pages -->
<__iframe src="http://www.census.gov/popclock/embed.ph ... clk=727707" frameborder="0" width="389" height="930">
</__iframe>
<__body>
</__html>
What I find published on the web scares me too. How the heck did it get that way? What's wrong with the CMS?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html>
<head>
</head>
</__body>
<!-- Add code here that should appear in the content block of all new pages -->
<__iframe src="http://www.census.gov/popclock/embed.ph ... clk=727707" frameborder="0" width="389" height="930">
</__iframe>
<__body>
</__html>
What I find published on the web scares me too. How the heck did it get that way? What's wrong with the CMS?
Re: Counter Format Issue
I would not suspect the cms to have done this. Obviously you have edited the page (added the iframe code).