I just left that last edit as it was.
I now have an additional block which functions the same as the news block
![Überglücklich :D](./images/smilies/icon_e_biggrin.gif)
but i don`t understand what i have to fill in here : ... Place your Code here ...??First of, make a new file (your Block) in \styles\your_style\template\portal\block\ and call it i.e. new_block.html
Now you have to decide if this Block will be a center block or if it will be in left or right column.
Last but not least you should know, if your Style is based on prosilver or subsilver2.
Who can help me?left/ right Block for prosilver:
Code: Select all
{$LR_BLOCK_H_L}Your_Block_Title{$LR_BLOCK_H_R}
<div style="text-align: center;">
... Place your Code here ...
</div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
?? someonemstaviation wrote:Hello Guys,
I don`t exaclty understand something. I want to make my own custum block on the left site of the menu. So i followed the this topic : knowledge/kb_show.php?id=51
I have made my own html file : styles\subsilver2\template\portal\block\maas.htmlbut i don`t understand what i have to fill in here : ... Place your Code here ...??First of, make a new file (your Block) in \styles\your_style\template\portal\block\ and call it i.e. new_block.html
Now you have to decide if this Block will be a center block or if it will be in left or right column.
Last but not least you should know, if your Style is based on prosilver or subsilver2.
Who can help me?left/ right Block for prosilver:
Code: Select all
{$LR_BLOCK_H_L}Your_Block_Title{$LR_BLOCK_H_R}
<div style="text-align: center;">
... Place your Code here ...
</div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
Hi,but i don`t understand what i have to fill in here : ... Place your Code here ...??
Code: Select all
<div style="text-align: center;">
Code: Select all
</div>
Code: Select all
{$LR_BLOCK_H_L} Letzte Blogs{$LR_BLOCK_H_R}
<div style="text-align: center;">
<!-- IF .recent_blogs -->
<div class="post bg3" style="text-align: center;">
<span class="corners-top"><span></span></span>
<strong>{L_RECENT_BLOGS}</strong>
<span class="corners-bottom"><span></span></span>
</div>
<!-- BEGIN recent_blogs -->
<div class="post bg1<!-- IF recent_blogs.S_REPORTED or recent_blogs.S_UNAPPROVED --> reported<!-- ENDIF --><!-- IF recent_blogs.S_DELETED --> deleted<!-- ENDIF -->" <!-- IF recent_blogs.POST_COLOR and not recent_blogs.S_REPORTED and not recent_blogs.S_UNAPPROVED and not recent_blogs.S_DELETED -->style="background-color: {recent_blogs.POST_COLOR}"<!-- ENDIF -->>
<div class="inner"><span class="corners-top"><span></span></span>
<div class="postbody" style="width: 100%;">
<!-- IF recent_blogs.S_UNAPPROVED or recent_blogs.S_REPORTED -->
<p class="rules">
<!-- IF recent_blogs.S_UNAPPROVED -->{UNAPPROVED_IMG} <a href="{recent_blogs.U_APPROVE}"><strong>{L_UNAPPROVED}</strong></a><!-- ENDIF -->
<!-- IF recent_blogs.S_REPORTED -->{REPORTED_IMG} <a href="{recent_blogs.U_REPORT}"><strong>{L_REPORTED_SHORT}</strong></a><!-- ENDIF -->
</p>
<!-- ENDIF -->
<dl>
<dt>
<strong><!-- IF recent_blogs.S_HAS_POLL --><img src="{T_THEME_PATH}/images/blog/icon_poll.gif" style="float: right;" alt="" /> <!-- ENDIF --><a href="{recent_blogs.U_VIEW}">{recent_blogs.TITLE}</a></strong> {L_POST_BY_AUTHOR} <strong>{recent_blogs.USER_FULL}</strong> {L_POSTED_ON_DATE} {recent_blogs.DATE} <br />
<div class="content" style="width: 95%; padding: 4px;">{recent_blogs.MESSAGE}</div>
<!-- IF recent_blogs.S_HAS_ATTACHMENTS -->
<dl class="attachbox">
<dt>{L_ATTACHMENTS}</dt>
</dl>
<!-- ENDIF -->
<br clear="all" />
<div>
<span class="num_replies">{recent_blogs.REPLIES}</span>
{recent_blogs.VIEWS}
</div>
</dt>
</dl>
</div>
<span class="corners-bottom"><span></span></span>
</div>
</div>
<!-- END recent_blogs -->
<!-- ENDIF -->
</div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
Klappt das überhaupt oder was mache ich da falsch?{$C_BLOCK_H_L}<dl><dt>Willkommen</dt></dl>{$C_BLOCK_H_R}
<ul class="topiclist forums">
<li><dl>
<dd style="border-left: 0px">
<center><img src="http://s1.directupload.net/images/11011 ... "></center>
</dd>
</dl></li>
</ul>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
Code: Select all
<center><img src="http://s1.directupload.net/images/110115/noyglnm2.png"></center>
Code: Select all
<div align="center">
<img src="http://s1.directupload.net/images/110115/noyglnm2.png" alt="" />
</div>
No. If you add manual blocks, they are only editable manually. You can enable and disable the view of them from non logged in users, but thats about all I believe.Terr0r wrote:If I install a extra block in the portal is there then a option that I can disable and eneble that block in the ACP
Code: Select all
{$LR_BLOCK_H_L}<span style="float: left"><img src="{T_THEME_PATH}/images/portal/portal_stats.png" width="16px" height="16px" alt="" /> neuer Block {$LR_BLOCK_H_R}
<table class="tablebg" cellspacing="1" width="100%">
<tr class="row1">
<td style="text-align:center;">
..HIER KOMMT TEXT REIN...
<a href="http://www.meinehomepage.de/" onclick="window.open(this.href); return false;" title="xxxxxx">
<img src="http://www.meinehomepage/forum/bilder/bild_xxx_150.jpg" width="150" height="50" alt="xxxxx" /></a>
</td>
</tr>
</table>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
Code: Select all
{$LR_BLOCK_H_L}<span style="float: left"><img src="{T_THEME_PATH}/images/portal/portal_stats.png" width="16px" height="16px" alt="" /> neuer Block {$LR_BLOCK_H_R}
<table class="tablebg" cellspacing="1" width="100%">
<tr class="row1">
<td style="text-align:center;">
<div class="postbody">
..HIER KOMMT TEXT REIN...
<a href="http://www.meinehomepage.de/" onclick="window.open(this.href); return false;" title="xxxxxx">
<img src="http://www.meinehomepage/forum/bilder/bild_xxx_150.jpg" width="150" height="50" alt="xxxxx" /></a>
</div>
</td>
</tr>
</table>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}