Second block of news
Posted: 5. April 2010 12:30
Your Portal Version: 1.0.5
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
What have you done before the problem was there?
What have you already tryed to solve the problem?
Description and Message
Whether the second block of news on a portal with the themes is possible?
Tried to do:
1. Add in base portal config - "portal_news_forum_d"
2. Copy news.php to news_d.php and change
3. Add in portal.php
4. Add in portal_canter.html
Result:
In each block themes from both options in base are summarised
Excuse for bad English, help please with my problem[/i]
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
What have you done before the problem was there?
What have you already tryed to solve the problem?
Description and Message
Whether the second block of news on a portal with the themes is possible?
Tried to do:
1. Add in base portal config - "portal_news_forum_d"
2. Copy news.php to news_d.php and change
Code: Select all
$forum_from = $portal_config['portal_news_forum_d'];
Code: Select all
if ($portal_config['portal_news'])
{
include($phpbb_root_path . 'portal/block/news_d.' . $phpEx);
$template->assign_var('S_NEWS_COMPACT', $portal_config['portal_news_style']);
}
Code: Select all
<!-- IF S_DISPLAY_NEWS -->
<!-- IF S_NEWS_COMPACT -->
<!-- INCLUDE portal/block/news_compact_d.html -->
<!-- ELSE -->
<!-- INCLUDE portal/block/news_d.html -->
<!-- ENDIF -->
<!-- ENDIF -->
In each block themes from both options in base are summarised
Excuse for bad English, help please with my problem[/i]