TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,224
  • Total Topics: 21,352
  • Online today: 633
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 264
  • Total: 265
  • @rjen

Article not saving

Started by Joramilea, October 16, 2006, 07:17:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joramilea

I figured out how to get my page into and article but I had to edit the code a bit to fix some problems.
Now when I go to save the article it won't save.  Any idea's why?

I have even closed the window I was working in thinking it may have stopped responding and opened my site up in a new window.  same thing.. it won't save.

G6Cad

With or with out The editor, and if you use Editor, what editor have you wet to use there ?

Joramilea

Lets hope I understand what you are asking.

I went to the admin > Article Manager > Add then pasted in my text <send>

Found errors in the article and went back to admin > article manager then clicked on the edit button for the article I am trying to redo.

I think it's a code issue here.  I may have been trying to use some coding in my article that TP doesn't support. 

<form><p>
      <textarea class="codecontainer" rows="7" name="S1" cols="100" wrap="virtual"><table cellspacing="0" cellpadding="0">
    <tr>
        <td align="center" background="picture.jpg"><img src="transparent.gif" width="500" heigth="318" align="Top"></td>
    </tr>
</table></textarea></p>
    </form>


Cause I cut the code minus the <form> info </form> and it works fine now.  go fig

*edit* DUH! the form tags are java arent' they?  and java doesn't work in articles?

G6Cad

Exactly ;)

But java will work if you turn the editor OFF and add the code manually with out the editor precent :)

Joramilea

Quote from: G6 on October 16, 2006, 07:42:56 PM
But java will work if you turn the editor OFF and add the code manually with out the editor precent :)

ok gotta see if I can figure it out.  I like the way this shows code on a website.

JPDeni

I know what the problem is. It's the </textarea> tag. You can't use it. The field where you put your html is a textarea itself and when it sees </textarea>, it thinks you want to close the editing field. (Not explaining very well, but it's a bit complicated.) I've got around it by making my articles that have textareas into php articles and using a variable for the end textarea tag. It's the only thing I've been able to figure out that'll work.

It's not really hard to do, if you'd like me to walk you through it.

Joramilea

ooo you said the evil coding word... php!   :o

hehe Well, I think I am going to try to get all my code tutorials up without showing the code.
then I will bug for help on getting the code to show on the page in a "cool" way. 

Thank you for the quick replies and help!

Joramilea

sorry to bug but do iframes work in articles?

Because I got my article up on the page.  Then went back in to edit in the html code and when I sent the article to be saved I got an error..

QuoteForbidden
You don't have permission to access /index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

JPDeni

Yes, other people have used iframes quite a bit. I don't know anything about them myself, but just the other day someone (akulion, I think) wrote a nice little tutorial about using them. Or I could be insane, which is always possible.  :uglystupid2:

Joramilea

when i did a search for the iframe tutorial, i found a post where akulion posed this
here is the iframe tutorial: http://www.tinyportal.net/smf/index.php?topic=9292.0
but it doesn't work.   :'(

This website is proudly hosted on Crocweb Cloud Website Hosting.