HELP!
I add those code in "post.template:",then in summary page can show bloger's picture,it works well, I am very happy. Please see http://blog.jscsedu.com{assign var=blogOwner value=$blog->getOwnerInfo()}
{if $blogOwner->hasPicture()}
{assign var=picture value=$blogOwner->getPicture()}
<img src="{$url->resourcePreviewLink($picture)}" border="1" width="50" />
{/if}
BUT,when you view "summary.php?op=PostList", It can not show bloger's picture, only an "X".It show this error:http://blog.jscsedu.com/Exception message:
This function must be implemented by child classes.
Error code: 0-- Backtrace --/home/zlf/blog/class/net/baserequestgenerator.class.php(493):
throw /home/zlf/blog/tmp/summary/%%39^392^3922B7DE%%post.template.php(29):
summaryrequestgenerator.resourcepreviewlink
/home/zlf/blog/class/template/smarty/Smarty.class.php(1871):
include /home/zlf/blog/tmp/summary/%%95^95E^95E2B2EA%%postslist.template.php(69):
cachedtemplate._smarty_include
/home/zlf/blog/class/template/smarty/Smarty.class.php(1265):
include /home/zlf/blog/class/template/cachedtemplate.class.php(48):
smarty.fetch
/home/zlf/blog/class/summary/view/summarycachedview.class.php(100):
cachedtemplate.fetch
/home/zlf/blog/class/summary/view/summarycachedview.class.php(148):
summarypostlistview.senduncachedoutput
/home/zlf/blog/class/summary/view/summarypostlistview.class.php(95):
summarycachedview.render
/home/zlf/blog/class/controller/controller.class.php(330):
summarypostlistview.render
/home/zlf/blog/summary.php(40):
summarycontroller.process
Can everyone help me!
Thanks a lot!!