By 老猫 | 4月 21, 2012 - 9:50 下午 - Posted in 网站建设

把 /applications/vanilla/views/discussions/helper_functions.php
复制到你主题目录的 /views/discussions/helper_functions.php

找到以下变量,并修改成代码:

$DiscussionUrl = '/discussion/'.$Discussion->DiscussionID.'/'.($Discussion->CountCommentWatch > 0 && C('Vanilla.Comments.AutoOffset') && $Session->UserID > 0 ? '/#Item_'.$Discussion->CountCommentWatch : '');

This entry was posted on 星期六, 4月 21st, 2012 at 9:50 下午 and is filed under 网站建设. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.