TinyPortal

General => Chit chat => Topic started by: fenris_w0lf on January 28, 2006, 11:02:19 PM

Title: Question about TPAdmin - Edit Articles
Post by: fenris_w0lf on January 28, 2006, 11:02:19 PM
Hey,

its me again  ::)

When I now go back to edit my php articles, I dont get the php showing in the edit box....I get the *result* of the php !??

Is this really how its meant to be ??
Title: Re: Question about TPAdmin - Edit Articles
Post by: Moocat on January 29, 2006, 12:16:30 AM
there's a button in the wsiwyg editor that changes it to "html" view. which will also show php.
Title: Re: Question about TPAdmin - Edit Articles
Post by: fenris_w0lf on January 29, 2006, 01:02:42 PM
crap damn %ÂÃ,¤&%"#  :tickedoff: someone turned it on ...

i wonder who??? ::)  :-X ....lol
Title: Re: Question about TPAdmin - Edit Articles
Post by: bloc on January 29, 2006, 03:42:19 PM
no, its a bug..the WYSIWYG should not appear in php articles. Try not saving anything when you get that and rather close off WYSIWYG editor during the session. (located in "general settings")
Title: Re: Question about TPAdmin - Edit Articles
Post by: fenris_w0lf on January 29, 2006, 03:54:10 PM
there seems to be lacking a mysql column (field) for what type the article is.... ???
Title: Re: Question about TPAdmin - Edit Articles
Post by: bloc on January 29, 2006, 04:40:10 PM
No, its not a field for it..rather the "useintro" field is used. The values are:

0 : do not use intro(html)
1 : use intro(html)
-1 : php article

It was made like that because a intro for php seems un-needed anyway.
Title: Re: Question about TPAdmin - Edit Articles
Post by: fenris_w0lf on January 29, 2006, 04:45:52 PM
ah, the fieldname confused me then :)

hate to trouble a busy person like you but if you find time think you could look at this thread (only need to read from repy#13 and fwd)

http://www.tinyportal.net/smf/index.php?topic=1878.msg19232#msg19232