1 drehwurm Sep 10, 2008 22:30
3 waltercruz Sep 11, 2008 17:27
It will require some hacking. Let's wait what tilqicom has to say :)
4 tilqicom Sep 11, 2008 23:32
well quite not.. my homepage wasnt that 'stable' (: it had 3 columns with containers filled with post list widgets gathering&displaying posts from other 10 some blogs..
Actually it was a replica of [url=http://www.filehippo.com/]this[/url] page :roll: except mine was better : P ( .. consider every single category as a blog.. and every box as a post list widget.. If sth similar works for you i can help you out or all you look for is an html-ish index.html and 5 page content, why dont you try 'generate static page' .. whats wrong with it
5 sam2kb Sep 12, 2008 05:14
This is pretty easy, just add this code in index.main.php
if( is_default_page() )
{
$disp = 'default_page';
}
Then [url=http://forums.b2evolution.net/viewtopic.php?t=14046]create new page[/url] and put there any text or widget/plugin
If you tell me the skin you are using I'll give you the exact code.
6 tblue Sep 12, 2008 16:54
To use a category page as the default page, try adding this code after the call to skin_init($disp) in index.main.php.
if (is_default_page())
{
$cache =& get_Cache('ChapterCache');
// 6 is the cat ID
$chapter =& $cache->get_by_ID(6);
// you could also use:
//$chapter =& $cache->get_by_urlname('on-the-web');
header_redirect($chapter->get_permanent_url());
}
The redirect isn't a perfect solution, but $cat (the ID of the category to display) can't be set after the call to skin_init() (because $MainList gets initialized there) and you can't determine whether the default page is displayed before the call to skin_init() without copying code.
Hi Alex,
This is a nice question for tilqicom who did something similar not to long ago. I'm sure he'll reply any time soon.
Good luck