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,234
  • Total Topics: 21,353
  • Online today: 606
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 419
  • Total: 420
  • @rjen

Front page of the tiny portal site, quick question

Started by Ephemeral, March 08, 2007, 12:01:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ephemeral

Really quick question, on the front page of the tiny portal site, the content is divided into two sections, a left hand side and a right hand side. How does one accomplish this with TP?

Also, how did TP get the left hand menu and the bottom of the forum pages to be perfectly even everytime?

Thanks.

IchBin

Left hand menu? I'm sorry but I don't understand what you're asking about there. The left hand menu would be a block, nothing that you can control as far as with it being even with the bottom of your page. The TinyPortal site has a single article set as the frontpage, with HTML in it to complete the layout.

Ephemeral

Quote from: IchBinâ„¢ on March 08, 2007, 12:22:14 AM
Left hand menu? I'm sorry but I don't understand what you're asking about there. The left hand menu would be a block, nothing that you can control as far as with it being even with the bottom of your page. The TinyPortal site has a single article set as the frontpage, with HTML in it to complete the layout.

If you look at the tinyportal.co.uk main page, below the top menu there is a brief explanation of tiny portal, and on the right there is a few screenshots of new themes. How do you put in these two collumns (On my site its just one center block http://philosophy-forums.com, how do I divide it into two?)


G6Cad

Bloc posted in here somewhere how he have made this frontpage.
But it is shown as one page only, then he have added 3 diffrent articles on that page with layout c if i remember correct.

Search and you might find it

Ephemeral

Oh, and one more thing. On the front page of this site it shows all of the recent posts. I know there is a way to do this with tinyportal, but it looks like bloc is using the SSI php command to bring up the recent posts. Whenever I try to do this it doesnt work. Why?

And where do I put <?php require("SSI.php"); ?>


Ephemeral

Quote from: G6â„¢ on March 08, 2007, 09:31:19 AM
http://docs.simplemachines.org/index.php?topic=400

I've read all the documentation on the matter.

I put the desired code in a PhpBox to show recent topics.

I then edit the main index page and put <?php require("/SSI.php"); ?>

But the recent topics still doesn't show up, what am I doing wrong?

tick

I used this code (Blocs) on  my front page and it worked fine.  I did not however edit any of the theme index.  I just put it in a php article on front page.  I also tried it in a php box and it worked fine.  I could be wrong but I dont think you have to edit the theme just put the code in the block

bloc

You don't need the require at all when inside TP articles or blocks, its already loaded, so you can simply add a call to recentTopics(); and that would be it.

I know many like some more info on how to use the system as it currently stands, therefore I am working on setting up examples of working sites - with detailed explanations on each item, so you can duplicate it on your own site.

This website is proudly hosted on Crocweb Cloud Website Hosting.