TinyPortal

Development => Support => Topic started by: Medalist on March 07, 2008, 10:28:07 PM

Title: Home page + menubox
Post by: Medalist on March 07, 2008, 10:28:07 PM
I just want my menubox to be shown "only" at homepage, not on the other pages like forums etc.

How is it possible? I've played with that menubox's settings from block manager, but couldnt find a way for it.
Title: Re: Home page + menubox
Post by: TedNigma on March 07, 2008, 10:34:48 PM
that should be in the index.php of your theme.  Please look there, or search SMF for how to disable the menu in the theme.

GL!

p.s. If I am wrong, ooopps, at least I try.
Title: Re: Home page + menubox
Post by: Medalist on March 07, 2008, 10:54:41 PM
hmmm weird, trying on default theme even...

EDIT: none of the settings did work (although i took that box several times to the front page back and forth + creating new boxes and trying out them too)

after trying for 10+ hours,i got annoyed and simply removed SMF+TP then reinstalled.

Now taking to front page works, but with a problem. The block i want to see on the front page cannot be moved to the left side (currently staying in the center) of the front page (and no, i don't want to use "Featured article and front page blocks" option cause otherwise i'll need to show only 1 article on the front page which is meaningless to use these features, actually even this option is checked to test out but it only goes left if i assing the featured article to the block)

So now;

- I want to list so many articles on front page
- I want to use only 1 block (as article category list) on home page
- I want to see this block on the left side of the homepage
- I don't want to see this block on other pages of the site

guess that will sum of my problem :)

ps: working on intranet therefore i'm unable to give an URL + using default theme without anything installed but plain SMF 1.1.4 + TP 0.9.8.3
Title: Re: Home page + menubox
Post by: Medalist on March 08, 2008, 04:08:36 PM
Well, after the whole night without any sleep, i finally did what i want to, and want to post here for other people who may want to do same thing as i did.

APPLIES TO:
-----------
If you want:
- Only 1 block to show
- Only show that block on the left/right side of your home page
- Not to show this block on any other pages (forums, help, etc..)
- To show more than 1 article in the front page

WORKAROUND:
-----------

1) Admin --> Tiny Portal --> Settings --> Front Page --> Select "Only Articles"

2)"Visual options for frontpage":  select the side which you want to (Left / Right) and uncheck other sides

3) Admin --> Tiny Portal --> Settings --> Panels --> Set "Use left panel" + "Use right panel" + "Use center panel" to "off" (it won't work if you don't disable all the 3 of these)

4) Admin --> Tiny Portal --> Block Manager -->Edit Blocks --> Move the block which you want to, to the "Left side blocks" or "Right side blocks" section (whatever you prefer)

PLATFORM
---------
SMF V1.1.4 & TP V0.9.8.3 (without any themes, plain installation)