TinyPortal

Development => Support => Topic started by: gfxindia on September 24, 2006, 01:57:34 PM

Title: FrontPage
Post by: gfxindia on September 24, 2006, 01:57:34 PM
Hi,
I want my forum to be accessible only through http://mysite.com/index.php?action=forum

And i will have custom content in index.php

Is this possible. without tinyportal

Is so, HOw to do it ?

Thank You
Title: Re: FrontPage
Post by: G6Cad on September 24, 2006, 02:46:09 PM
This have been answers so many times so you should know this answer Darkman ;)

Make a frontpage with what ever content you like, and then have your forum set to "go directly to forum index" and skip the front portal page.
You wont be able to show any blocks on your index page though
Title: Re: FrontPage
Post by: gfxindia on September 24, 2006, 02:51:29 PM
i know that Ma'm.
what i wanted was :
Without using tinyportal, i want to have a frontpage and set forum to index.php?action=forum

I not gonna use TP for my new site. Coz it renders invalid HTML and my partners want the site to be Valid.
Title: Re: FrontPage
Post by: stormlrd on September 24, 2006, 02:58:57 PM
Really? ive seen several of bloc's tp themes totally valid lol, its the designer m8 and that includes me as very few of mine are even close to valid html.
Title: Re: FrontPage
Post by: bloc on September 24, 2006, 03:02:35 PM
I am not sure how you can do that really..making index.php inside the forum folder render a custom page(without anything smf in it) and index.php?action=forum render the forum.

Its the one and same file, just different parameters attached to it.

A redirect might work though..when there are no parameters. But you still need to adjust the index.php pretty much like TP does - making action=forum the default page. And even in some spots SMF will revert back to index.php, and not index.php?action=forum, making you suddenly jump into your custom page again!
Title: Re: FrontPage
Post by: gfxindia on September 24, 2006, 03:06:32 PM
Ok.
Then let me know this part :
I want to use TP with the only feature of action=forum

What changes do TP cause in index.php

If i do that alone, wouldn't that work ?

Storm :
no theme will be valid.
Can you link to some ?

The default theme renders invalid for me. lol
Title: Re: FrontPage
Post by: Xarcell on September 24, 2006, 03:09:30 PM
Try using a frame. That will make everything alot easier for you.

Set your top frame to 1px.

Then when you set up your links right, you can jump in and out of TP just fine. You can get in and just fine with anything.
If you wanna do something trickier, just use ajax, but it gets a bit more complicated. Just put TP inside a page.

Why not just use a TP article to put what you want in it with no blocks? You can set a theme to it too if need be. You can make the article look like it's not TP, and put what you want in it.

At www.feyorin.com is one of my test sites. I use a 1px frame there to play music throughout the site.
Title: Re: FrontPage
Post by: gfxindia on September 24, 2006, 03:11:56 PM
i dont wanna use TP.
i dont want to use frames too.

any other way ?
Title: Re: FrontPage
Post by: Xarcell on September 24, 2006, 03:14:51 PM
If you don't want to use TP, why are you posting here?

I don't understand what you are trying to do. Just use simple HTML/CSS pages then.
Title: Re: FrontPage
Post by: gfxindia on September 24, 2006, 03:16:32 PM
just bcoz, people here are active, fast and talented than those out there.

not only HTML/CSS i will be using PHP too. using SSI.php
Title: Re: FrontPage
Post by: Xarcell on September 24, 2006, 03:17:26 PM
www.lissaexplains.com

You can get simple HTML/CSS and PHP, and SSI instruction there.

I'm locking this thread.