Aktuelle Beiträge in rechte Spalte
Forum rules
Vor dem erstellen neuer Supportanfragen bitte zuerst in die board3 Portal FAQ schauen und die Suche benutzen!
Viele Fragen sind bereits schon gestellt und beantwortet worden.
Bitte auch unsere Forumsregeln lesen und beachten!
Vor dem erstellen neuer Supportanfragen bitte zuerst in die board3 Portal FAQ schauen und die Suche benutzen!
Viele Fragen sind bereits schon gestellt und beantwortet worden.
Bitte auch unsere Forumsregeln lesen und beachten!
-
Topic author - Valued Contributor
- Posts: 53
- Joined: 26. April 2010 22:33
- phpBB.de User: willi2010
Aktuelle Beiträge in rechte Spalte
Hallo,
hat einer schon versucht, den Block "Aktuelle Beiträge" in die rechte Portal-Spalte zu verschieben?
http://www.kf2-forum.de
Versionen:
phpBB 3.0.11
board3_portal_2.0.1
prosilver
phpbb_gallery_1_1_6
hat einer schon versucht, den Block "Aktuelle Beiträge" in die rechte Portal-Spalte zu verschieben?
http://www.kf2-forum.de
Versionen:
phpBB 3.0.11
board3_portal_2.0.1
prosilver
phpbb_gallery_1_1_6
Viele Grüße
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Re: Aktuelle Beiträge in rechte Spalte
Hallo
Der Block "Aktuelle Beiträge" ist für die Seite nicht geignet.
Der Block "Aktuelle Beiträge" ist für die Seite nicht geignet.
Gruß Udo
-
Topic author - Valued Contributor
- Posts: 53
- Joined: 26. April 2010 22:33
- phpBB.de User: willi2010
Re: Aktuelle Beiträge in rechte Spalte
Hallo,
man müste natürlich den Inhalt auf die Betreff-/Titelzeile mit Link reduzieren.
man müste natürlich den Inhalt auf die Betreff-/Titelzeile mit Link reduzieren.
Viele Grüße
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Re: Aktuelle Beiträge in rechte Spalte
Das musst du dann aber selber machenwilli2010 wrote:man müste natürlich den Inhalt auf die Betreff-/Titelzeile mit Link reduzieren.
Hier mal die grobe Anleitung:
Öffne: root/portal/modules/portal_news.php
Finde:
Code: Select all
public $columns = 21;
Code: Select all
public $columns = 31;
Code: Select all
return 'news_center.html';
}
}
Code: Select all
public function get_template_side($module_id)
{
global $config, $template, $db, $user, $auth, $cache, $phpEx, $phpbb_root_path;
$news = request_var('news', -1);
$news = ($news > $config['board3_news_length_' . $module_id] -1) ? -1 : $news;
$user->add_lang('viewforum');
$start = request_var('np', 0);
$start = ($start < 0) ? 0 : $start;
// Fetch news from portal/includes/functions.php with check if "read full" is requested.
$portal_news_length = ($news < 0) ? $config['board3_news_length_' . $module_id] : 0;
$fetch_news = phpbb_fetch_posts($module_id, $config['board3_news_forum_' . $module_id], $config['board3_news_permissions_' . $module_id], $config['board3_number_of_news_' . $module_id], $portal_news_length, 0, ($config['board3_show_all_news_' . $module_id]) ? 'news_all' : 'news', $start, $config['board3_news_exclude_' . $module_id]);
// Any news present? If not terminate it here.
if (sizeof($fetch_news) == 0)
{
$template->assign_block_vars('news_row', array(
'S_NO_TOPICS' => true,
'S_NOT_LAST' => false,
));
}
else
{
// Count number of posts for news archive, considering if permission check is dis- or enabled.
if ($config['board3_news_archive_' . $module_id])
{
$permissions = $config['board3_news_permissions_' . $module_id];
$forum_from = $config['board3_news_forum_' . $module_id];
$forum_from = (strpos($forum_from, ',') !== false) ? explode(',', $forum_from) : (($forum_from != '') ? array($forum_from) : array());
$str_where = '';
if($permissions == true)
{
$disallow_access = array_unique(array_keys($auth->acl_getf('!f_read', true)));
}
else
{
$disallow_access = array();
}
if($config['board3_news_exclude_' . $module_id] == true)
{
$disallow_access = array_merge($disallow_access, $forum_from);
$forum_from = array();
}
if(sizeof($forum_from))
{
$disallow_access = array_diff($forum_from, $disallow_access);
if(!sizeof($disallow_access))
{
return array();
}
foreach($disallow_access as $acc_id)
{
$acc_id = (int) $acc_id;
$str_where .= "forum_id = $acc_id OR ";
}
}
else
{
foreach($disallow_access as $acc_id)
{
$acc_id = (int) $acc_id;
$str_where .= "forum_id <> $acc_id AND ";
}
}
$str_where = (strlen($str_where) > 0) ? 'AND (' . trim(substr($str_where, 0, -4)) . ')' : '';
$topic_type = ($config['board3_show_all_news_' . $module_id]) ? '(topic_type <> ' . POST_ANNOUNCE . ') AND (topic_type <> ' . POST_GLOBAL . ')' : 'topic_type = ' . POST_NORMAL;
$sql = 'SELECT COUNT(topic_id) AS num_topics
FROM ' . TOPICS_TABLE . '
WHERE ' . $topic_type . '
AND topic_approved = 1
AND topic_moved_id = 0
' . $str_where;
$result = $db->sql_query($sql);
$total_news = (int) $db->sql_fetchfield('num_topics');
$db->sql_freeresult($result);
}
$topic_tracking_info = get_portal_tracking_info($fetch_news);
if($news < 0)
// Show the news overview
{
$count = $fetch_news['topic_count'];
for ($i = 0; $i < $count; $i++)
{
if(isset($fetch_news[$i]['striped']) && $fetch_news[$i]['striped'] == true)
{
$open_bracket = '[ ';
$close_bracket = ' ]';
$read_full = $user->lang['READ_FULL'];
}
else
{
$open_bracket = '';
$close_bracket = '';
$read_full = '';
}
// unread?
$forum_id = $fetch_news[$i]['forum_id'];
$topic_id = $fetch_news[$i]['topic_id'];
$unread_topic = (isset($topic_tracking_info[$topic_id]) && $fetch_news[$i]['topic_last_post_time'] > $topic_tracking_info[$topic_id]) ? true : false;
$read_full_url = (isset($_GET['np'])) ? 'np='. $start . '&news=' . $i . '#n' . $i : 'news=' . $i . '#n' . $i;
$view_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . (($fetch_news[$i]['forum_id']) ? $fetch_news[$i]['forum_id'] : $forum_id) . '&t=' . $topic_id);
if ($config['board3_news_archive_' . $module_id])
{
$pagination = generate_portal_pagination(append_sid("{$phpbb_root_path}portal.$phpEx"), $total_news, $config['board3_number_of_news_' . $module_id], $start, ($config['board3_show_all_news_' . $module_id]) ? 'news_all' : 'news');
}
$replies = ($auth->acl_get('m_approve', $forum_id)) ? $fetch_news[$i]['topic_replies_real'] : $fetch_news[$i]['topic_replies'];
$folder_img = $folder_alt = $topic_type = $folder = $folder_new = '';
switch ($fetch_news[$i]['topic_type'])
{
case POST_STICKY:
$folder = 'sticky_read';
$folder_new = 'sticky_unread';
break;
case POST_ANNOUNCE:
$folder = 'announce_read';
$folder_new = 'announce_unread';
break;
default:
$folder = 'topic_read';
$folder_new = 'topic_unread';
if ($config['hot_threshold'] && $replies >= $config['hot_threshold'] && $fetch_news[$i]['topic_status'] != ITEM_LOCKED)
{
$folder .= '_hot';
$folder_new .= '_hot';
}
break;
}
if ($fetch_news[$i]['topic_status'] == ITEM_LOCKED)
{
$folder .= '_locked';
$folder_new .= '_locked';
}
if ($fetch_news[$i]['topic_posted'])
{
$folder .= '_mine';
$folder_new .= '_mine';
}
$folder_img = ($unread_topic) ? $folder_new : $folder;
$folder_alt = ($unread_topic) ? 'NEW_POSTS' : (($fetch_news[$i]['topic_status'] == ITEM_LOCKED) ? 'TOPIC_LOCKED' : 'NO_NEW_POSTS');
// Grab icons
$icons = $cache->obtain_icons();
$template->assign_block_vars('news_row', array(
'ATTACH_ICON_IMG' => ($fetch_news[$i]['attachment'] && $config['allow_attachments']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '',
'FORUM_NAME' => ($forum_id) ? $fetch_news[$i]['forum_name'] : '',
'TITLE' => $fetch_news[$i]['topic_title'],
'POSTER' => $fetch_news[$i]['username'],
'POSTER_FULL' => $fetch_news[$i]['username_full'],
'USERNAME_FULL_LAST' => $fetch_news[$i]['username_full_last'],
'U_USER_PROFILE' => (($fetch_news[$i]['user_type'] == USER_NORMAL || $fetch_news[$i]['user_type'] == USER_FOUNDER) && $fetch_news[$i]['user_id'] != ANONYMOUS) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&u=' . $fetch_news[$i]['user_id']) : '',
'TIME' => $fetch_news[$i]['topic_time'],
'LAST_POST_TIME' => $user->format_date($fetch_news[$i]['topic_last_post_time']),
'TEXT' => $fetch_news[$i]['post_text'],
'REPLIES' => $fetch_news[$i]['topic_replies'],
'TOPIC_VIEWS' => $fetch_news[$i]['topic_views'],
'N_ID' => $i,
'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt),
'TOPIC_FOLDER_IMG_SRC' => $user->img($folder_img, $folder_alt, false, '', 'src'),
'TOPIC_FOLDER_IMG_ALT' => $user->lang[$folder_alt],
'TOPIC_ICON_IMG' => (!empty($icons[$fetch_news[$i]['icon_id']])) ? $icons[$fetch_news[$i]['icon_id']]['img'] : '',
'TOPIC_ICON_IMG_WIDTH' => (!empty($icons[$fetch_news[$i]['icon_id']])) ? $icons[$fetch_news[$i]['icon_id']]['width'] : '',
'TOPIC_ICON_IMG_HEIGHT' => (!empty($icons[$fetch_news[$i]['icon_id']])) ? $icons[$fetch_news[$i]['icon_id']]['height'] : '',
'FOLDER_IMG' => $user->img('topic_read', 'NO_NEW_POSTS'),
'U_VIEWFORUM' => append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $fetch_news[$i]['forum_id']),
'U_LAST_COMMENTS' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $fetch_news[$i]['forum_id'] . '&t=' . $fetch_news[$i]['topic_id'] . '&p=' . $fetch_news[$i]['topic_last_post_id'] . '#p' . $fetch_news[$i]['topic_last_post_id']),
'U_VIEW_COMMENTS' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $fetch_news[$i]['forum_id'] . '&t=' . $fetch_news[$i]['topic_id']),
'U_VIEW_UNREAD' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $fetch_news[$i]['forum_id'] . '&t=' . $fetch_news[$i]['topic_id'] . '&view=unread#unread'),
'U_POST_COMMENT' => append_sid("{$phpbb_root_path}posting.$phpEx", 'mode=reply&f=' . $fetch_news[$i]['forum_id'] . '&t=' . $fetch_news[$i]['topic_id']),
'U_READ_FULL' => append_sid("{$phpbb_root_path}portal.$phpEx", $read_full_url),
'L_READ_FULL' => $read_full,
'OPEN' => $open_bracket,
'CLOSE' => $close_bracket,
'S_NOT_LAST' => ($i < sizeof($fetch_news) - 1) ? true : false,
'S_POLL' => $fetch_news[$i]['poll'],
'S_UNREAD_INFO' => $unread_topic,
'PAGINATION' => topic_generate_pagination($fetch_news[$i]['topic_replies'], $view_topic_url),
'S_HAS_ATTACHMENTS' => (!empty($fetch_news[$i]['attachments'])) ? true : false,
));
if(!empty($fetch_news[$i]['attachments']))
{
foreach ($fetch_news[$i]['attachments'] as $attachment)
{
$template->assign_block_vars('news_row.attachment', array(
'DISPLAY_ATTACHMENT' => $attachment)
);
}
}
if ($config['board3_number_of_news_' . $module_id] <> 0 && $config['board3_news_archive_' . $module_id])
{
$template->assign_vars(array(
'NP_PAGINATION' => $pagination,
'TOTAL_NEWS' => ($total_news == 1) ? $user->lang['VIEW_FORUM_TOPIC'] : sprintf($user->lang['VIEW_FORUM_TOPICS'], $total_news),
'NP_PAGE_NUMBER' => on_page($total_news, $config['board3_number_of_news_' . $module_id], $start))
);
}
}
}
else
// Show "read full" page
{
$i = $news;
$forum_id = $fetch_news[$i]['forum_id'];
$topic_id = $fetch_news[$i]['topic_id'];
$unread_topic = (isset($topic_tracking_info[$topic_id]) && $fetch_news[$i]['topic_last_post_time'] > $topic_tracking_info[$topic_id]) ? true : false;
$open_bracket = '[ ';
$close_bracket = ' ]';
$read_full = $user->lang['BACK'];
$read_full_url = (isset($_GET['np'])) ? append_sid("{$phpbb_root_path}portal.$phpEx", "np=$start#n$i") : append_sid("{$phpbb_root_path}portal.$phpEx#n$i");
$view_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . (($fetch_news[$i]['forum_id']) ? $fetch_news[$i]['forum_id'] : $forum_id) . '&t=' . $topic_id);
if ($config['board3_news_archive_' . $module_id])
{
$pagination = generate_portal_pagination(append_sid("{$phpbb_root_path}portal.$phpEx"), $total_news, $config['board3_number_of_news_' . $module_id], $start, ($config['board3_show_all_news_' . $module_id]) ? 'news_all' : 'news');
}
$template->assign_block_vars('news_row', array(
'ATTACH_ICON_IMG' => ($fetch_news[$i]['attachment'] && $config['allow_attachments']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '',
'FORUM_NAME' => ($forum_id) ? $fetch_news[$i]['forum_name'] : '',
'TITLE' => $fetch_news[$i]['topic_title'],
'POSTER' => $fetch_news[$i]['username'],
'POSTER_FULL' => $fetch_news[$i]['username_full'],
'TIME' => $fetch_news[$i]['topic_time'],
'TEXT' => $fetch_news[$i]['post_text'],
'REPLIES' => $fetch_news[$i]['topic_replies'],
'TOPIC_VIEWS' => $fetch_news[$i]['topic_views'],
'N_ID' => $i,
'U_VIEWFORUM' => append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $fetch_news[$i]['forum_id']),
'U_LAST_COMMENTS' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $fetch_news[$i]['topic_last_post_id'] . '#p' . $fetch_news[$i]['topic_last_post_id']),
'U_VIEW_COMMENTS' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $fetch_news[$i]['forum_id'] . '&t=' . $fetch_news[$i]['topic_id']),
'U_POST_COMMENT' => append_sid("{$phpbb_root_path}posting.$phpEx", 'mode=reply&f=' . $fetch_news[$i]['forum_id'] . '&t=' . $fetch_news[$i]['topic_id']),
'S_POLL' => $fetch_news[$i]['poll'],
'S_UNREAD_INFO' => $unread_topic,
'U_READ_FULL' => $read_full_url,
'L_READ_FULL' => $read_full,
'OPEN' => $open_bracket,
'CLOSE' => $close_bracket,
'PAGINATION' => topic_generate_pagination($fetch_news[$i]['topic_replies'], $view_topic_url),
'S_HAS_ATTACHMENTS' => (!empty($fetch_news[$i]['attachments'])) ? true : false,
));
if(!empty($fetch_news[$i]['attachments']))
{
foreach ($fetch_news[$i]['attachments'] as $attachment)
{
$template->assign_block_vars('news_row.attachment', array(
'DISPLAY_ATTACHMENT' => $attachment)
);
}
}
if ($config['board3_number_of_news_' . $module_id] <> 0 && $config['board3_news_archive_' . $module_id])
{
$template->assign_vars(array(
'NP_PAGINATION' => $pagination,
'TOTAL_NEWS' => ($total_news == 1) ? $user->lang['VIEW_FORUM_TOPIC'] : sprintf($user->lang['VIEW_FORUM_TOPICS'], $total_news),
'NP_PAGE_NUMBER' => on_page($total_news, $config['board3_number_of_news_' . $module_id], $start))
);
}
}
}
$topic_icons = false;
if(!empty($fetch_news['topic_icons']))
{
$topic_icons = true;
}
$template->assign_vars(array(
'NEWEST_POST_IMG' => $user->img('icon_topic_newest', 'VIEW_NEWEST_POST'),
'READ_POST_IMG' => $user->img('icon_topic_latest', 'VIEW_LATEST_POST'),
'GOTO_PAGE_IMG' => $user->img('icon_post_target', 'GOTO_PAGE'),
'S_NEWEST_OR_FIRST' => ($config['board3_news_show_last_' . $module_id]) ? $user->lang['JUMP_NEWEST'] : $user->lang['JUMP_FIRST'],
'POSTED_BY_TEXT' => ($config['board3_news_show_last_' . $module_id]) ? $user->lang['LAST_POST'] : $user->lang['POSTED'],
'S_DISPLAY_NEWS_RVS' => ($config['board3_show_news_replies_views_' . $module_id]) ? true : false,
'S_TOPIC_ICONS' => $topic_icons,
));
if($config['board3_news_style_' . $module_id])
{
return 'news_compact_side.html';
}
else
{
return 'news_side.html';
}
}
Code: Select all
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<!-- IF $S_POSTBODY_TOP --><div class="postbody" style="width: 100%"><!-- ENDIF -->
<!-- BEGIN news_row -->
<!-- IF news_row.S_NO_TOPICS -->
<div class="post bg2" style="margin-bottom: 0px">
<div class="inner"><span class="portal-corners-top-inner"></span>
<span style="text-align: center;"><strong>{L_NO_NEWS}</strong></span>
<span class="portal-corners-bottom-inner"></span></div>
</div>
<!-- ELSE -->
<div style="margin-bottom: <!-- IF news_row.S_LAST_ROW -->0px<!-- ELSE -->1px<!-- ENDIF -->" class="post <!-- IF news_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
<div class="inner"><span class="portal-corners-top-inner"></span>
<h4 class="first"><a <!-- IF news_row.S_FIRST_ROW -->id="n"<!-- ENDIF -->name="n{news_row.N_ID}"></a><!-- IF news_row.S_UNREAD_INFO --><a href="{news_row.U_VIEW_UNREAD}">{NEWEST_POST_IMG}</a><!-- ELSE --><a href="{news_row.U_LAST_COMMENTS}">{READ_POST_IMG}</a><!-- ENDIF --> {news_row.ATTACH_ICON_IMG} <!-- IF news_row.S_POLL --><strong>{L_VIEW_TOPIC_POLL}</strong><!-- ENDIF --><!-- IF news_row.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{news_row.TOPIC_ICON_IMG}" width="{news_row.TOPIC_ICON_IMG_WIDTH}" height="{news_row.TOPIC_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{news_row.U_VIEW_COMMENTS}"><strong>{news_row.TITLE}</strong></a></h4>
<!-- IF news_row.PAGINATION --><strong class="pagination"><span>{news_row.PAGINATION}</span></strong><!-- ENDIF -->
<ul class="linklist">
<li>{POSTED_BY_TEXT} {L_POST_BY_AUTHOR}: {news_row.POSTER_FULL} » {news_row.TIME}</li>
<li class="rightside">{L_FORUM}: <strong><a href="{news_row.U_VIEWFORUM}">{news_row.FORUM_NAME}</a></strong></li>
</ul>
<!-- IF not $S_POSTBODY_TOP --><div class="postbody" style="width: 100%"><!-- ENDIF -->
<div class="content">
<br />{news_row.TEXT}
</div>
<!-- IF news_row.S_HAS_ATTACHMENTS -->
<dl class="attachbox">
<dt>{L_ATTACHMENTS}</dt>
<!-- BEGIN attachment -->
<dd>{news_row.attachment.DISPLAY_ATTACHMENT}</dd>
<!-- END attachment -->
</dl>
<!-- ENDIF -->
<br style="clear:both" />
<span style="float: left;">{L_TOPIC_VIEWS}: {news_row.TOPIC_VIEWS} • <a href="{news_row.U_VIEW_COMMENTS}" title="{L_VIEW_COMMENTS}">{L_COMMENTS}: {news_row.REPLIES}</a> • <a href="{news_row.U_POST_COMMENT}">{L_PORTAL_POST_REPLY}</a></span>
<span style="float: right; margin: 0 0 5px 0">{news_row.OPEN}<a href="{news_row.U_READ_FULL}">{news_row.L_READ_FULL}</a>{news_row.CLOSE}</span>
<div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
<!-- IF news_row.S_NOT_LAST --><br style="clear:both" /><!-- ENDIF -->
<!-- IF news_row.S_LAST_ROW -->
<!-- IF not news_row.S_NO_TOPICS -->
<!-- IF NP_PAGINATION or TOTAL_NEWS -->
<hr class="dashed" />
<div class="pagination">
{TOTAL_NEWS}
<!-- IF NP_PAGE_NUMBER --><!-- IF NP_PAGINATION --> • {NP_PAGE_NUMBER} • <span>{NP_PAGINATION}</span><!-- ELSE --> • {NP_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
</div>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF not $S_POSTBODY_TOP --></div><!-- ENDIF -->
<span class="portal-corners-bottom-inner"></span></div>
</div>
<!-- ENDIF -->
<!-- END news_row -->
<!-- IF $S_POSTBODY_TOP --></div><!-- ENDIF -->
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
Code: Select all
<!-- BEGIN news_row -->
<!-- IF news_row.S_NO_TOPICS -->
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<div class="post bg2" style="margin-bottom: 0px">
<div class="inner"><span class="portal-corners-top-inner"></span>
<span style="text-align: center;"><strong>{L_NO_NEWS}</strong></span>
<span class="portal-corners-bottom-inner"></span></div>
</div>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
<!-- ELSE -->
<!-- IF news_row.S_FIRST_ROW -->
{$CC_BLOCK_H_L}
<dt id="n" <!-- IF S_DISPLAY_NEWS_RVS -->style="width: 44%"<!-- ELSE -->style="width: 60%"<!-- ENDIF -->>{$TITLE}</dt>
<!-- IF S_DISPLAY_NEWS_RVS -->
<dd class="posts" style="width: 11%">{L_REPLIES}</dd>
<dd class="views" style="width: 11%">{L_VIEWS}</dd>
<!-- ENDIF -->
<dd class="lastpost" style="width: 25%"><span>{L_LAST_POST}</span></dd>
{$CC_BLOCK_H_R}
<ul class="topiclist topics">
<!-- ENDIF -->
<li class="row<!-- IF news_row.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
<dl class="icon" style="background-image: url({news_row.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
<dt style="<!-- IF S_DISPLAY_NEWS_RVS -->width: 44%;<!-- ELSE -->width: 60%;<!-- ENDIF --> <!-- IF news_row.TOPIC_ICON_IMG -->background-image: url({T_ICONS_PATH}{news_row.TOPIC_ICON_IMG}); background-repeat: no-repeat;<!-- ENDIF -->" title="{news_row.TOPIC_FOLDER_IMG_ALT}"><!-- IF news_row.S_UNREAD_TOPIC --><a href="{news_row.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><!-- IF news_row.ATTACH_ICON_IMG -->{news_row.ATTACH_ICON_IMG} <!-- ENDIF --><!-- IF news_row.S_POLL --><strong>{L_VIEW_TOPIC_POLL}</strong><!-- ENDIF --><a href="{news_row.U_VIEW_COMMENTS}" title="{news_row.TITLE}" class="topictitle">{news_row.TITLE}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> • <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> • <!-- ENDIF -->
<!-- IF news_row.PAGINATION --><strong class="pagination"><span>{news_row.PAGINATION}</span></strong><!-- ENDIF -->
<br />{L_POSTED} {L_POST_BY_AUTHOR} {news_row.POSTER_FULL} » {news_row.TIME}
<!-- IF news_row.FORUM_NAME -->
<br />{L_FORUM}: <a href="{news_row.U_VIEWFORUM}" style="font-weight: bold;">{news_row.FORUM_NAME}</a>
<!-- ENDIF -->
<!-- IF not S_DISPLAY_NEWS_RVS --><!-- IF news_row.FORUM_NAME -->• <!-- ENDIF -->{L_REPLIES}: <strong>{news_row.REPLIES}</strong> • {L_VIEWS}: <strong>{news_row.TOPIC_VIEWS}</strong><!-- ENDIF -->
</dt>
<!-- IF S_DISPLAY_NEWS_RVS -->
<dd class="posts" style="width: 11%">{news_row.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
<dd class="views" style="width: 11%">{news_row.TOPIC_VIEWS} <dfn>{L_VIEWS}</dfn></dd>
<!-- ENDIF -->
<dd class="lastpost" style="width: 25%"><span><dfn>{L_LAST_POST}</dfn>{L_POST_BY_AUTHOR} {news_row.USERNAME_FULL_LAST} <!-- IF news_row.S_UNREAD_INFO --><a href="{news_row.U_VIEW_UNREAD}">{NEWEST_POST_IMG}</a><!-- ELSE --><a href="{news_row.U_LAST_COMMENTS}">{READ_POST_IMG}</a><!-- ENDIF --><br />
{news_row.LAST_POST_TIME}</span>
</dd>
</dl>
</li>
<!-- IF news_row.S_LAST_ROW -->
<!-- IF NP_PAGINATION or TOTAL_NEWS -->
<li class="row<!-- IF news_row.S_ROW_COUNT is even --> bg2<!-- ELSE --> bg1<!-- ENDIF -->">
<div class="topic-actions">
<div class="pagination">
{TOTAL_NEWS}
<!-- IF NP_PAGE_NUMBER --><!-- IF NP_PAGINATION --> • {NP_PAGE_NUMBER} • <span>{NP_PAGINATION}</span><!-- ELSE --> • {NP_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
</div>
</div>
</li>
<!-- ENDIF -->
</ul>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
<!-- ENDIF -->
<!-- ENDIF -->
<!-- END news_row -->
Beachte auch das hier: Knowledge Base: Änderungen an den Styles Dateien
Gruß Udo
-
Topic author - Valued Contributor
- Posts: 53
- Joined: 26. April 2010 22:33
- phpBB.de User: willi2010
Re: Aktuelle Beiträge in rechte Spalte
Danke, bin fast zufrieden.
Vielleicht stört das topic_read.gif-Symbol noch....
Vielleicht stört das topic_read.gif-Symbol noch....
Viele Grüße
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Re: Aktuelle Beiträge in rechte Spalte
Wenn du dieses Syblo meinst
Öffne die news_compact_side.html
Finde:
Ersetzen mit:
Öffne die news_compact_side.html
Finde:
Code: Select all
<dl class="icon" style="background-image: url({news_row.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
Code: Select all
<dl class="icon" <!--style="background-image: url({news_row.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;"-->
Gruß Udo
-
Topic author - Valued Contributor
- Posts: 53
- Joined: 26. April 2010 22:33
- phpBB.de User: willi2010
Re: Aktuelle Beiträge in rechte Spalte
Danke.
Ist aber wieder aktiviert, da optimaler mit gelesen/ungelesen.
Ist aber wieder aktiviert, da optimaler mit gelesen/ungelesen.
Viele Grüße
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
-
Topic author - Valued Contributor
- Posts: 53
- Joined: 26. April 2010 22:33
- phpBB.de User: willi2010
Re: Aktuelle Beiträge in rechte Spalte
Ich habe noch eine kleine Bitte, da ich die Zuordnung der Schriftgröße, den Style, nicht finde.
Wie kann ich die Schriftgröße der Titelzeilen (im Block news_compact_side.html ) etwas kleiner darstellen?
Wo kann ich von font-size: 1.2em; auf font-size: 1.0em; ändern?
Ich drehe mich im Kreis, ist nicht ein wichtiger Fehler, aber es doch doch hinzubekommen sein ....
Wie kann ich die Schriftgröße der Titelzeilen (im Block news_compact_side.html ) etwas kleiner darstellen?
Wo kann ich von font-size: 1.2em; auf font-size: 1.0em; ändern?
Ich drehe mich im Kreis, ist nicht ein wichtiger Fehler, aber es doch doch hinzubekommen sein ....
Viele Grüße
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Re: Aktuelle Beiträge in rechte Spalte
Diese wird in der links.css geregelt, wenn du es dort die Größe änderst, wird die Größe der Topictitel zb. in viewforum
ebenfalls geändert.
Wenn du es nur im Block news_compact_side.html ändern willst, müsstest du eine neue class anlegen.
Z.B. so:
Öffne: root/styles/stylename/template/portal/modules/news_compact_side.html
Finde:
Ersetze es mit:
Öffne: root/styles/stylename/theme/links.css
Finde:
Danach einfügen:
Öffne: root/styles/stylename/theme/colours.css
Finde:
Danach einfügen:
Zum Schluß das hier nicht vergessen:
Aktualisiere deine Styles:
"Administrations-Bereich" (ACP) > "Styles" > "Templates" > jedes > "Aktualisieren"
"Administrations-Bereich" (ACP) > "Styles" > "Themes" > jedes > "Aktualisieren"
Leere den Cache im "Administrations-Bereich" (ACP) > "Allgemein" > "Den Cache leeren"
ebenfalls geändert.
Wenn du es nur im Block news_compact_side.html ändern willst, müsstest du eine neue class anlegen.
Z.B. so:
Öffne: root/styles/stylename/template/portal/modules/news_compact_side.html
Finde:
Code: Select all
topictitle
Code: Select all
topictitle_news_compact_side
Finde:
Code: Select all
a.topictitle {
color: #898989;
font-family: "Trebuchet MS",Helvetica,Arial,Sans-serif;
font-size: 1.2em;
font-weight: bold;
text-decoration: none;
}
Code: Select all
a.topictitle_news_compact_side {
color: #898989;
font-family: "Trebuchet MS",Helvetica,Arial,Sans-serif;
font-size: 1em;
font-weight: bold;
text-decoration: none;
}
Finde:
Code: Select all
a.topictitle {
color: #105289;
}
Code: Select all
a.topictitle_news_compact_side {
color: #105289;
}
Aktualisiere deine Styles:
"Administrations-Bereich" (ACP) > "Styles" > "Templates" > jedes > "Aktualisieren"
"Administrations-Bereich" (ACP) > "Styles" > "Themes" > jedes > "Aktualisieren"
Leere den Cache im "Administrations-Bereich" (ACP) > "Allgemein" > "Den Cache leeren"
Gruß Udo
-
Topic author - Valued Contributor
- Posts: 53
- Joined: 26. April 2010 22:33
- phpBB.de User: willi2010
Re: Aktuelle Beiträge in rechte Spalte
Danke,
auf die links.css bin ich beim Suchen nicht gekommen.
Ich werde dann besser einen neue Class anlegen.
Änderungen vorgenommen und genau so hatte ich mir das vorgestellt.
Die Zusammenhänge, in welcher css was definiert wird, das durchblicke ich immer wieder nicht.
Kleiner Hinweis, vielleicht die schließenden Klammer oben in der Anweisung einfügen.
Wer das sonst genau so einbaut, hat ein kleines Problem...
Nochmals Danke.
auf die links.css bin ich beim Suchen nicht gekommen.
Ich werde dann besser einen neue Class anlegen.
Änderungen vorgenommen und genau so hatte ich mir das vorgestellt.
Die Zusammenhänge, in welcher css was definiert wird, das durchblicke ich immer wieder nicht.
Kleiner Hinweis, vielleicht die schließenden Klammer oben in der Anweisung einfügen.
Wer das sonst genau so einbaut, hat ein kleines Problem...
Nochmals Danke.
Viele Grüße
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Re: Aktuelle Beiträge in rechte Spalte
Stimmt die hatte ich vergessen, Dankewilli2010 wrote:Kleiner Hinweis, vielleicht die schließenden Klammer oben in der Anweisung einfügen.
Wer das sonst genau so einbaut, hat ein kleines Problem...
Gruß Udo
-
Topic author - Valued Contributor
- Posts: 53
- Joined: 26. April 2010 22:33
- phpBB.de User: willi2010
Re: Aktuelle Beiträge in rechte Spalte
Noch eine Frage zu diesem "Sonder-Modul".
Man müsste doch auch in den css-Definitionen eine neue Klasse für das Icon anlegen können.
Ein neues Icon erstellen und dann mit den unterschiedlichen Variationen (ungelesen, gelesen, usw.) darstellen lassen.
Hast Du dafür auch einen guten Tipp?
Wo kann ich erkennen, in welcher css welche Definitionen sind?
Man müsste doch auch in den css-Definitionen eine neue Klasse für das Icon anlegen können.
Ein neues Icon erstellen und dann mit den unterschiedlichen Variationen (ungelesen, gelesen, usw.) darstellen lassen.
Hast Du dafür auch einen guten Tipp?
Wo kann ich erkennen, in welcher css welche Definitionen sind?
Viele Grüße
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Re: Aktuelle Beiträge in rechte Spalte
Mit einer css-Definitionen allein ist es nicht getan, man müsste das in der php/html/imagest und content.css neu defienieren.
Das Aktuelle Beiträge Modul holt sich die Daten dafür aus dem Forum.
Das Aktuelle Beiträge Modul holt sich die Daten dafür aus dem Forum.
Gruß Udo
-
Topic author - Valued Contributor
- Posts: 53
- Joined: 26. April 2010 22:33
- phpBB.de User: willi2010
Re: Aktuelle Beiträge in rechte Spalte
Alles klar, es erfüllt so auch genau den Zweck und sieht ansprechend aus.
Viele Grüße
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200
Klaus
http://www.kf2-forum.de // Versionen: phpBB 3.0.12 / board3_portal_2.0.2 / prosilver / phpbb_gallery_1_1_6 / Kalender alightner 0_1_0 / NV_who_was_here_1_2_1_1
b3p_gallery_block_2_1_1 / b3p_who_was_here_block_200