Wunschliste: Kommentare nach Kommentator auflisten

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

So, die neue (komplette) nightly ist drauf und leider klappt das mit dem comments by author nicht so recht:

Code: Select all

Warning: Smarty error: unable to read resource: "file:comments_by_author.tpl" in /home/xxx/htdocs/bundled-libs/Smarty/libs/Smarty.class.php on line 1095

BTW:
Is anybody even reading this? I could write poems and stuff here.
Or why not even use this functionality as my daily blog. There are
dozens of means to not get heard.

You're reading this? Well. Have a nice weekend. :-)
Yeah, I read it!
Ciao, Stephan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Oops. That .tpl file was missing from the nightly. I just added it.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Re: Wunschliste: Kommentare nach Kommentator auflisten

Post by stm999999999 »

stm999999999 wrote: Falls es gefällt, ein Vorschlag für das default-template:

...
einfügen:

Code: Select all

{if $comment.author}
   (<a class="comment_source_comments_by_author" href="/comments/{$comment.author}">{$CONST.LIST_COMMENTS_BY_AUTHOR}</a>)
{/if}
	
Korrektur und Ergänzung:

Da das Blog ja auch in einem Unterverzeichnis sein kann:

Code: Select all

(<a class="comment_source_comments_by_author" href="{$serendipityBaseURL}comments/{$comment.author}">{$CONST.LIST_COMMENTS_BY_AUTHOR}</a>)
Und in trackbacks.tpl geht das ganze natürlich auch:

Code: Select all

			{if $trackback.author}
	            (<a class="comment_source_comments_by_author" href="{$serendipityBaseURL}comments/{$trackback.author}/trackbacks">{$CONST.LIST_COMMENTS_BY_AUTHOR}</a>)
			{/if}
Ciao, Stephan
Post Reply