Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-06-10 18:36:55
- Gulfcoast
- Member
- Registered: 2009-04-12
- Posts: 76
[textile] Somewhat Off Topic
I have the first line of code that needs to be entered in an article but ends up being posted as the second line of code below. I have determined this to be the issue for my video to not show up on the page. I understand the ascii characters and such but is there a way around this? Thank you.
<script language="JavaScript">flowplayer("player", "scripts/flowplayer-3.1.1.swf");</script>
<script language="JavaScript">flowplayer(“player”, “scripts/flowplayer-3.1.1.swf”);</script>
Added bc.
to display the code at it is. -Gocom
Last edited by Gocom (2009-06-10 19:45:06)
Offline
Re: [textile] Somewhat Off Topic
See Textile. You need to escape the code, or it gets formated with Textile markup.
For example, inline escape:
Some text ==<script language="JavaScript">flowplayer("player", "scripts/flowplayer-3.1.1.swf");</script>== and some after.
If it is on it’s own paragraph/ line (blockversion):
notextile. <script language="JavaScript">flowplayer("player", "scripts/flowplayer-3.1.1.swf");</script>
Or just a space (" "
) before the code:
Some text
<script language="JavaScript">flowplayer("player", "scripts/flowplayer-3.1.1.swf");</script>
Some text more
Last edited by Gocom (2009-06-10 19:46:49)
Offline
Re: [textile] Somewhat Off Topic
Enter ==<script language="JavaScript">flowplayer("player", "scripts/flowplayer-3.1.1.swf");</script>==
. The double equal sign pause Textile processing for the enclosed text.
Offline
#4 2009-06-11 15:00:42
- Gulfcoast
- Member
- Registered: 2009-04-12
- Posts: 76
Re: [textile] Somewhat Off Topic
That got it guys. Thank you very much.
Offline
Pages: 1