TinyPortal

Development => Block Codes => Topic started by: alhaudhie on September 12, 2007, 11:04:17 AM

Title: Article Block in Forum
Post by: alhaudhie on September 12, 2007, 11:04:17 AM
How can i make a block take can show new article in the forum page. My site is directly go to the forum. Im dont want to use frontpage but still want the block articles show in my forum directly.
Title: Re: Article Block in Forum
Post by: Zetan on September 12, 2007, 11:12:58 AM
Hi, follow this..

Admin > TinyPortal/Settings > Front Page.

You will see several options on how to display the front page.

[ ] Only forum-posts
[ ] Forum-posts and articles - sorted on date

Those two are what you may be interested in, hope that helps.
Title: Re: Article Block in Forum
Post by: alhaudhie on September 12, 2007, 11:15:16 AM
when i play with that option, my forum index disappeared....

how can i make to put it still in the main page...
Title: Re: Article Block in Forum
Post by: Zetan on September 12, 2007, 11:25:23 AM
[ ] Go directly to forum index

Will display the Forum Index and blocks if set correct.

The other settings I posted will not display the forum index, but posts from the forum.
Title: Re: Article Block in Forum
Post by: alhaudhie on September 12, 2007, 11:45:20 AM
when i chose go to forum directly the article block is gone... i want most of this...

is there any code to put in new center block to show articles?
Title: Re: Article Block in Forum
Post by: Zetan on September 12, 2007, 11:55:14 AM
At this time, no.. but work is in progress to display TP in more ways that it currently does.
What you could do, is maybe

[ ] Forum-posts and articles - sorted on date

Create a center block and from the Block Code Snippets board here at TP there are scripts that display like the Forum Index.