Archive for the ‘scuttle’ tag

Neue Sidebar-Box für Scuttle anlegen

Eine Anleitung, wie man in der Link-Sharing-Software Scuttle eine neue Sidebar-Box anlegt, in diesem Fall für Links.
1. Eine Datei namens sidebar.block.links.php im Verzeichnis templates anlegen mit folgenden Inhalt:

  1.  
  2. <div id="links">
  3. <ul>
  4.         <li><a href="http://www.flowsec.de">flowsec</a></li>
  5.         <li><a href="http://www.sprachpapst.de">sprachpapst</a></li>
  6.         <li><a href="http://mkorbit.de">mkorbit</a></li>
  7.         <li><a href="http://www.dirk-martin.net">monozone</a></li>
  8. </ul>
  9. </div>

2. In der Datei index.php folgenden Code:

  1. $tplVars[‘sidebar_blocks’] = array(‘recent’);

ändern in:

  1. $tplVars[‘sidebar_blocks’] = array(‘recent’, ‘links’);

Posted: November 23rd, 2009
at 9:29pm by admin

Tagged with , , , ,


Categories: code

Comments: No comments