JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » JWorld@TW Service 版  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友   
reply to topicthreaded modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 Roller和confluence修改
koji

秒速5センチメートル

站長

發文: 8415
於 2006-03-25 02:47 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Roller升級到2.1.1
confluence可以正確export中文pdf了!!

koji


reply to postreply to post
JCConf Taiwan 2015 開始售票了!!
Facebook上的TWJUG社團,歡迎加入
作者 Re:Roller和confluence修改 [Re:koji]
browser

戀香

版主

發文: 3570
於 2006-03-25 03:04 user profilesend a private message to usersend email to browserreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感謝 創辦人 ............. Orz

reply to postreply to post
作者 Re:Roller和confluence修改 [Re:koji]
tzutolin



版主

發文: 335
於 2006-03-25 09:49 user profilesend a private message to usersend email to tzutolinreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
太好了, 謝謝 koji

reply to postreply to post
作者 Re:Roller和confluence修改 [Re:koji]
koji

秒速5センチメートル

站長

發文: 8415
於 2006-03-25 11:08 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
另外注意一下
roller的某些template的comment 算數不會出現(整頁顯示所有文章時,如ingram跟moli的)
因為他現在利用ajax去做,順便去擋spam comment的樣子
所以要馬重新套一下他的template他就會變成點下comment link時會跳到指定回覆頁面(可以先保存自己customized的部分,套回後再修正回去),
或者把script加到自己的template裡面(這比較難=.=..我還沒找到怎放).

主要相關
script部分1
1
<script type="text/javascript" src="/roller/theme/scripts/clientSideInclude.js"></script>


script部分2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<script type="text/javascript">
    clientSideInclude('commentAuthenticator', '/roller/CommentAuthenticatorServlet');
 
    var author = getCookie("commentAuthor");
    var email = getCookie("commentEmail");
    var url = getCookie("commentUrl");
    // check each field - IE will render "null"
    if (author) {
        document.form.name.value = author;
    }
    if (email) {
        document.form.email.value = email;
    }
    if (url) {
        document.form.url.value = url;
    }
 
    if (author || email || url) {
        document.form.rememberInfo.checked = true;
    }
 
    function fixURL(theForm) {
        if (theForm.url.value != "" &&
            theForm.url.value.indexOf("http://") == -1) { //prepend http://
            theForm.url.value = "http://"+theForm.url.value;
        }
        saveUserInformation(theForm);
    }
 
    function saveUserInformation(theForm) {
        if (theForm.rememberInfo.checked) {
            rememberUser(theForm);
        } else {
            forgetUser(theForm);
        }
    }
 
    function validateComments(theForm) {
        if (theForm.content.value == "") {
            alert("Please enter a comment.");
            theForm.content.focus();
            return false;
        }
    }
    </script>


reply to postreply to post
JCConf Taiwan 2015 開始售票了!!
Facebook上的TWJUG社團,歡迎加入
» JWorld@TW »  JWorld@TW Service 版

reply to topicthreaded modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8