TinyPortal

Development => Feedback => Topic started by: tolisgr on March 31, 2008, 04:47:06 PM

Title: PHP Article: Intro and Main Artcl
Post by: tolisgr on March 31, 2008, 04:47:06 PM
Hello,

I'm wondering if there is any way to create a PHP article with Intro and Main Article! Or if it is possible to embed some php code in simple (html) articles.

Thank you
Title: Re: PHP Article: Intro and Main Artcl
Post by: IchBin on March 31, 2008, 05:04:02 PM
There is no option for a php intro. The only work around I would try is to create an article that is an intro to another article. Twice the work, but thats about all that comes off the top of my head this early in the morning. :)
Title: Re: PHP Article: Intro and Main Artcl
Post by: tolisgr on March 31, 2008, 05:17:31 PM

:( I already do that for a while and it's not so easy. if someone has an other idea please post it here. anyway I like tinyportal with or without that option,

thanks for reply.
Title: Re: PHP Article: Intro and Main Artcl
Post by: alhaudhie on April 11, 2008, 01:08:18 PM
wht i cant use intro for article show in frontpage?
Title: Re: PHP Article: Intro and Main Artcl
Post by: G6Cad on April 11, 2008, 02:53:48 PM
No intro on the frontpage while using PHP articles no
Title: Re: PHP Article: Intro and Main Artcl
Post by: tolisgr on April 11, 2008, 03:15:49 PM

Yes there is no way. The only way is to create 2 seperate articles and connect them to look to your visitors as one. The one has the role of intro and second (php article) has the role of full article  :-\
Title: Re: PHP Article: Intro and Main Artcl
Post by: alhaudhie on April 12, 2008, 01:53:34 PM
but im using html article..
in the first submit there is the intro in the frontage, but when i try ti edit that article after publish it,  i cannot use intro anymore....
Title: Re: PHP Article: Intro and Main Artcl
Post by: IchBin on April 12, 2008, 05:23:43 PM
Because they are ordered by date possibly?
Title: Re: PHP Article: Intro and Main Artcl
Post by: alhaudhie on April 13, 2008, 04:41:34 AM
i try to adjust the date by the current day, but still fail....
Title: Re: PHP Article: Intro and Main Artcl
Post by: InternetRebel on May 09, 2008, 05:26:19 PM
Sort of fixed this, maybe it works for you too.

http://www.tinyportal.net/index.php?topic=23466.msg192346#msg192346