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,230
  • Total Topics: 21,353
  • Online today: 446
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 117
  • Total: 117

How to create a site page...

Started by DcMega, October 05, 2006, 08:20:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DcMega

Hello
I'm new to php and have some problems. I'm not sure if this board is the best for my topic, but still...
The problem is that i don't understand, how to create a new inner page (manually) just like
/index.php?action=search
/index.php?action=forum
/index.php?cat=1
so that all panels (top, bottom, TinyPortal) are included as in the examples above.

I don't understand, how to change inner page text  :tickedoff:
Perhaps, i'm becoming mad, looking through the code, but not understanding.
Please, somebody, help me!
For example, how to create a new page with all the panels on their places and the inner text is something like "Test".

akulion

You can create an article and put it in the middle but if thats now what you want then:

best to use Iframes its the simplest manner

DcMega

#2
Quote from: akulion on October 05, 2006, 08:45:59 PM
put it [article] in the middle

that's the problem - if i create an article it is shown as a separate page with no tinyportal
another decision is to create an article category and put there one article - but i don't think it is right to behave so ^_^

OK, THANKS for iframes, I'll study it and try out
i hope, everything will be OK



frankly speaking, firstly i tried to do it another way:
to add 'mytest page' => array ('mytestpage.php', 'mytestpage') to $actionArray in index.php
then create file 'mytestpage.php' and function mytestpage() in it

but... I can't understand how to do so. Code is so huge... you see...
so, is it possible to do in such way? if yes, then how?

akulion

when u create ur article
look at the bottom

there are drop down boxes which allow you to say which blocks will appear on the left and right

that way you can preserve the look for your site :up:

DcMega

wow ;)
fantastic
i should be more attentive  :o

This website is proudly hosted on Crocweb Cloud Website Hosting.