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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 345
  • Total: 345

PHP Article: Intro and Main Artcl

Started by tolisgr, March 31, 2008, 04:47:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tolisgr

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

IchBin

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. :)

tolisgr


:( 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.

alhaudhie

wht i cant use intro for article show in frontpage?

G6Cad

No intro on the frontpage while using PHP articles no

tolisgr


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  :-\

alhaudhie

#6
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....

IchBin

Because they are ordered by date possibly?

alhaudhie

i try to adjust the date by the current day, but still fail....


This website is proudly hosted on Crocweb Cloud Website Hosting.