TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,022
  • Total Topics: 21,332
  • Online today: 473
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 214
  • Total: 214

TinyPortal frontpage ...

Started by pgc_boss, April 19, 2006, 11:10:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kail

That's a good idea Ray, thanks.

But what i need is that when a guest arrives he see the homepage without bars, only header and footer, and when he enter the forum the bars magical appears.
Near same as this site :)

anunlike

I believe this is what you want (?):

Admin >> Settings >> Frontpage >> What to show on frontpage: >> Single Page

Then just create your article, make sure the green circle is filled in as opposed to the red, turn off the sidebars (deselect leftblocks / rightblocks) and turn on / off all the options you want / don't want:

Admin >> Articles >> Choose / Create your article

Then, set it to be featured:

Admin >> Aricles >> Set as featured

Ray

Quote from: kail on May 13, 2006, 07:13:09 PM
That's a good idea Ray, thanks.

But what i need is that when a guest arrives he see the homepage without bars, only header and footer, and when he enter the forum the bars magical appears.
Near same as this site :)
ah I see what you want -- I think that is something Bloc will have to give you a code for -their is a change you can make for the site to open to a page and not the default, but sadly I do not know where it is :-\

kail

Quote from: anunlike on May 13, 2006, 08:38:31 PM
I believe this is what you want (?):

Admin >> Settings >> Frontpage >> What to show on frontpage: >> Single Page

Then just create your article, make sure the green circle is filled in as opposed to the red, turn off the sidebars (deselect leftblocks / rightblocks) and turn on / off all the options you want / don't want:

Admin >> Articles >> Choose / Create your article

Then, set it to be featured:

Admin >> Aricles >> Set as featured

In TP0.86 if you disable the bars in the featured article and set frontpage as single page, all page of the forum gain the same visualization. Check the first post :)

Quote from: Ray on May 14, 2006, 02:31:01 AM
ah I see what you want -- I think that is something Bloc will have to give you a code for -their is a change you can make for the site to open to a page and not the default, but sadly I do not know where it is :-\

I've found the perfect solution in the lines i've pasted, just a mod to an 'if'.
But i don't really like modify the core files .. for a lot of motive you should understand  ^__^

I've thought to change the value of the bars draw flags, but the echo of the left and center bar take place before the eval of the article, so i can't modify the bars draw flags from the article body.
The only solution i think to be possible without change the core code (as i had to do :( ) is to call the collapse js function in the article ... but i don't like it because during the page loading the bars are shown, and disappear only after the loading.


This website is proudly hosted on Crocweb Cloud Website Hosting.