Zum Inhalt springen



simplephpblog update

I just performed an update of my blogging software. Besides some bugfixes it also comes with some new features. It now has a usermanagement, so multiple authors can write blog posts (anyone wants to be guest author? ;-) )
Also the preferences handling has been cleaned up, so now i can set the header graphics via the preferences dialog and don't need to fiddle with the php files themselves. Great!
Well the "related link" seem to have disappeared, so if you added del.icio.us support, you need to re-edit your themes.php and alter the section in the function theme_blogentry:

[pre]
// PERMALINK
if ( $blog_config['blog_enable_permalink']){// New for 0.4.6
if ( isset( $entry_array[ 'permalink' ][ 'url' ] ) ) {
// Show 'permalink' symbol
$blog_content .= ' &#124; <a href="' . $entry_array
['permalink' ][ 'url' ] . '">' .
$entry_array[ 'permalink' ]
['name' ] . '</a>';
//show del.icio.us icon and link
$blog_content=$blog_content . ' &#124;
<a href="http://del.icio.us/post?url='
.$entry_array['permalink']['url'].
'&title='.$entry_array['subject'].'">
<img src="themes/default/images/delicious.gif"
height="10" width="10" alt="Bookmark this"/></a>';

}

}
[/pre]

I put the del.icio.us link directly in the if-clause of the permalink now.

Related posts:

  1. del.icio.us support in simplephpblog
  2. Blog-System Update
  3. Blog Update

« Bye bye and hello – Enigma Cypher Machine for Sale on ebay »

Info:
simplephpblog update ist Beitrag Nr. 271
Autor:
Kate am 18.07.2007 um 10:10
Tags:
, , ,  
Trackback:
Trackback URI

Keine Kommentare »

Noch keine Kommentare

Kommentar-RSS: RSS Feed für Kommentare zu diesem Artikel.

Hinterlasse einen Kommentar

E-Mail-Benachrichtigung bei weiteren Kommentaren.
Abo ohne Kommentar.

^
Rss Feed Tweeter button Facebook button Technorati button Reddit button Myspace button Linkedin button Webonews button Delicious button Digg button Flickr button Stumbleupon button Newsvine button