Mercurial > p > roundup > code
annotate doc/FAQ.txt @ 3243:74fecc186a2d maint-0.8
fix reference to The Zope Book
(http://article.gmane.org/gmane.comp.bug-tracking.roundup.user/5121)
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Thu, 17 Mar 2005 18:27:33 +0000 |
| parents | ad4fb8a14a97 |
| children | 3cfabec6a6ba |
| rev | line source |
|---|---|
|
688
b38f4f95bffd
More doc tweaks
Richard Jones <richard@users.sourceforge.net>
parents:
686
diff
changeset
|
1 =========== |
|
610
8ba4f914de83
reformatted for stx processing.
Engelbert Gruber <grubert@users.sourceforge.net>
parents:
596
diff
changeset
|
2 Roundup FAQ |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
611
diff
changeset
|
3 =========== |
|
551
fa23796baf7b
moving FAQ.txt to doc directory
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
4 |
|
3243
74fecc186a2d
fix reference to The Zope Book
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
5 :Version: $Revision: 1.20.2.1 $ |
|
551
fa23796baf7b
moving FAQ.txt to doc directory
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
6 |
|
686
c52122f38c9b
Documentation cleanup, added info for potential (and current) developers
Richard Jones <richard@users.sourceforge.net>
parents:
659
diff
changeset
|
7 .. contents:: |
|
c52122f38c9b
Documentation cleanup, added info for potential (and current) developers
Richard Jones <richard@users.sourceforge.net>
parents:
659
diff
changeset
|
8 |
|
c52122f38c9b
Documentation cleanup, added info for potential (and current) developers
Richard Jones <richard@users.sourceforge.net>
parents:
659
diff
changeset
|
9 |
|
610
8ba4f914de83
reformatted for stx processing.
Engelbert Gruber <grubert@users.sourceforge.net>
parents:
596
diff
changeset
|
10 Installation |
|
659
e429649ed124
More documentation cleanups.
Richard Jones <richard@users.sourceforge.net>
parents:
611
diff
changeset
|
11 ------------ |
|
610
8ba4f914de83
reformatted for stx processing.
Engelbert Gruber <grubert@users.sourceforge.net>
parents:
596
diff
changeset
|
12 |
| 1585 | 13 Living without a mailserver |
| 14 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
|
610
8ba4f914de83
reformatted for stx processing.
Engelbert Gruber <grubert@users.sourceforge.net>
parents:
596
diff
changeset
|
15 |
|
1089
43ab730ee194
instance -> tracker, node -> item
Richard Jones <richard@users.sourceforge.net>
parents:
688
diff
changeset
|
16 Remove the nosy reactor, means delete the tracker file |
| 1585 | 17 ``detectors/nosyreactor.py`` from your tracker home. |
|
610
8ba4f914de83
reformatted for stx processing.
Engelbert Gruber <grubert@users.sourceforge.net>
parents:
596
diff
changeset
|
18 |
|
551
fa23796baf7b
moving FAQ.txt to doc directory
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
19 |
| 1585 | 20 The cgi-bin is very slow! |
| 21 ~~~~~~~~~~~~~~~~~~~~~~~~~ | |
|
610
8ba4f914de83
reformatted for stx processing.
Engelbert Gruber <grubert@users.sourceforge.net>
parents:
596
diff
changeset
|
22 |
| 1585 | 23 Yep, it sure is. It has to start up Python and load all of the support |
| 24 libraries for *every* request. | |
|
610
8ba4f914de83
reformatted for stx processing.
Engelbert Gruber <grubert@users.sourceforge.net>
parents:
596
diff
changeset
|
25 |
| 1585 | 26 The solution is to use the built in server. |
|
589
28debb477133
spelling, formatting...
Richard Jones <richard@users.sourceforge.net>
parents:
583
diff
changeset
|
27 |
| 1585 | 28 To make Roundup more seamless with your website, you may place the built |
| 29 in server behind apache and link it into your web tree | |
|
551
fa23796baf7b
moving FAQ.txt to doc directory
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
30 |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
31 |
| 1585 | 32 How do I put Roundup behind Apache |
| 33 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
34 |
|
2338
d9a6918aafd5
simpler proxy instructions
Richard Jones <richard@users.sourceforge.net>
parents:
2054
diff
changeset
|
35 We have a project (foo) running on ``tracker.example:8080``. |
|
d9a6918aafd5
simpler proxy instructions
Richard Jones <richard@users.sourceforge.net>
parents:
2054
diff
changeset
|
36 We want ``http://tracker.example/issues`` to use the roundup server, so we |
|
2921
ad4fb8a14a97
more doc updates, not so many TODOs any more
Richard Jones <richard@users.sourceforge.net>
parents:
2897
diff
changeset
|
37 set that up on port 8080 on ``tracker.example`` with the ``config.ini`` line:: |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
38 |
|
2921
ad4fb8a14a97
more doc updates, not so many TODOs any more
Richard Jones <richard@users.sourceforge.net>
parents:
2897
diff
changeset
|
39 [tracker] |
|
ad4fb8a14a97
more doc updates, not so many TODOs any more
Richard Jones <richard@users.sourceforge.net>
parents:
2897
diff
changeset
|
40 ... |
|
ad4fb8a14a97
more doc updates, not so many TODOs any more
Richard Jones <richard@users.sourceforge.net>
parents:
2897
diff
changeset
|
41 web = 'http://tracker.example/issues/' |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
42 |
| 1585 | 43 We have a "foo_issues" tracker and we run the server with:: |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
44 |
|
2338
d9a6918aafd5
simpler proxy instructions
Richard Jones <richard@users.sourceforge.net>
parents:
2054
diff
changeset
|
45 roundup-server -p 8080 issues=/home/roundup/trackers/issues |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
46 |
| 1585 | 47 Then, on the Apache machine (eg. redhat 7.3 with apache 1.3), in |
| 48 ``/etc/httpd/conf/httpd.conf`` uncomment:: | |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
49 |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
50 LoadModule proxy_module modules/libproxy.so |
| 1585 | 51 |
| 52 and:: | |
| 53 | |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
54 AddModule mod_proxy.c |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
55 |
|
2346
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
56 Then add:: |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
57 |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
58 # roundup stuff (added manually) |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
59 <IfModule mod_proxy.c> |
|
2338
d9a6918aafd5
simpler proxy instructions
Richard Jones <richard@users.sourceforge.net>
parents:
2054
diff
changeset
|
60 # proxy through one tracker |
|
2346
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
61 ProxyPass /issues/ http://tracker.example:8080/issues/ |
|
2338
d9a6918aafd5
simpler proxy instructions
Richard Jones <richard@users.sourceforge.net>
parents:
2054
diff
changeset
|
62 # proxy through all tracker(*) |
|
d9a6918aafd5
simpler proxy instructions
Richard Jones <richard@users.sourceforge.net>
parents:
2054
diff
changeset
|
63 #ProxyPass /roundup/ http://tracker.example:8080/ |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
64 </IfModule> |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
65 |
| 1585 | 66 Then restart Apache. Now Apache will proxy the request on to the |
| 67 roundup-server. | |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
68 |
|
2338
d9a6918aafd5
simpler proxy instructions
Richard Jones <richard@users.sourceforge.net>
parents:
2054
diff
changeset
|
69 Note that if you're proxying multiple trackers, you'll need to use the |
|
d9a6918aafd5
simpler proxy instructions
Richard Jones <richard@users.sourceforge.net>
parents:
2054
diff
changeset
|
70 second ProxyPass rule described above. It will mean that your TRACKER_WEB |
|
d9a6918aafd5
simpler proxy instructions
Richard Jones <richard@users.sourceforge.net>
parents:
2054
diff
changeset
|
71 will change to:: |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
72 |
|
2338
d9a6918aafd5
simpler proxy instructions
Richard Jones <richard@users.sourceforge.net>
parents:
2054
diff
changeset
|
73 TRACKER_WEB = 'http://tracker.example/roundup/issues/' |
|
d9a6918aafd5
simpler proxy instructions
Richard Jones <richard@users.sourceforge.net>
parents:
2054
diff
changeset
|
74 |
|
d9a6918aafd5
simpler proxy instructions
Richard Jones <richard@users.sourceforge.net>
parents:
2054
diff
changeset
|
75 Once you're done, you can firewall off port 8080 from the rest of the world. |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
76 |
|
2346
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
77 Note that in some situations (eg. virtual hosting) you might need to use a |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
78 more complex rewrite rule instead of the simpler ProxyPass above. The |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
79 following should be useful as a starting template:: |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
80 |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
81 # roundup stuff (added manually) |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
82 <IfModule mod_proxy.c> |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
83 |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
84 RewriteEngine on |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
85 |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
86 # General Roundup |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
87 RewriteRule ^/roundup$ roundup/ [R] |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
88 RewriteRule ^/roundup/(.*)$ http://tracker.example:8080/$1 [P,L] |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
89 |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
90 # Handle Foo Issues |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
91 RewriteRule ^/issues$ issues/ [R] |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
92 RewriteRule ^/issues/(.*)$ http://tracker.example:8080/issues/$1 [P,L] |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
93 |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
94 </IfModule> |
|
87dc03fa9d80
keep the rewrites - some people need to use them
Richard Jones <richard@users.sourceforge.net>
parents:
2338
diff
changeset
|
95 |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
96 |
|
1721
ed2c4f5a27da
add xp lookup slowness
Richard Jones <richard@users.sourceforge.net>
parents:
1585
diff
changeset
|
97 Roundup runs very slowly on my XP machine when accessed from the Internet |
|
ed2c4f5a27da
add xp lookup slowness
Richard Jones <richard@users.sourceforge.net>
parents:
1585
diff
changeset
|
98 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
ed2c4f5a27da
add xp lookup slowness
Richard Jones <richard@users.sourceforge.net>
parents:
1585
diff
changeset
|
99 |
|
ed2c4f5a27da
add xp lookup slowness
Richard Jones <richard@users.sourceforge.net>
parents:
1585
diff
changeset
|
100 The issue is probably related to host name resolution for the client |
|
ed2c4f5a27da
add xp lookup slowness
Richard Jones <richard@users.sourceforge.net>
parents:
1585
diff
changeset
|
101 performing the request. You can turn off the resolution of the names |
|
ed2c4f5a27da
add xp lookup slowness
Richard Jones <richard@users.sourceforge.net>
parents:
1585
diff
changeset
|
102 when it's so slow like this. To do so, edit the module |
|
ed2c4f5a27da
add xp lookup slowness
Richard Jones <richard@users.sourceforge.net>
parents:
1585
diff
changeset
|
103 roundup/scripts/roundup_server.py around line 77 to add the following |
|
ed2c4f5a27da
add xp lookup slowness
Richard Jones <richard@users.sourceforge.net>
parents:
1585
diff
changeset
|
104 to the RoundupRequestHandler class: |
|
ed2c4f5a27da
add xp lookup slowness
Richard Jones <richard@users.sourceforge.net>
parents:
1585
diff
changeset
|
105 |
|
ed2c4f5a27da
add xp lookup slowness
Richard Jones <richard@users.sourceforge.net>
parents:
1585
diff
changeset
|
106 def address_string(self): |
|
ed2c4f5a27da
add xp lookup slowness
Richard Jones <richard@users.sourceforge.net>
parents:
1585
diff
changeset
|
107 return self.client_address[0] |
|
ed2c4f5a27da
add xp lookup slowness
Richard Jones <richard@users.sourceforge.net>
parents:
1585
diff
changeset
|
108 |
|
ed2c4f5a27da
add xp lookup slowness
Richard Jones <richard@users.sourceforge.net>
parents:
1585
diff
changeset
|
109 |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
110 Templates |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
111 --------- |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
112 |
| 1585 | 113 What is that stuff in the tracker html directory? |
| 114 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
115 |
| 1585 | 116 This is the template code that Roundup uses to display the various pages. |
| 117 This is based upon the template markup language in Zope called, oddly | |
| 118 enough "Zope Page Templates". There's documentation in the Roundup | |
| 119 customisation_ documentation. For more information have a look at: | |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
120 |
|
3243
74fecc186a2d
fix reference to The Zope Book
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
121 http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/ |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
122 |
|
3243
74fecc186a2d
fix reference to The Zope Book
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2921
diff
changeset
|
123 specifically chapter 10 "Using Zope Page Templates" and chapter 14 "Advanced |
| 1585 | 124 Page Templates". |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
125 |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
126 |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
127 But I just want a select/option list for .... |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
128 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
129 |
| 1585 | 130 Really easy... edit ``html/issue.item``. For 'nosy', change line 53 from:: |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
131 |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
132 <span tal:replace="structure context/nosy/field" /> |
| 1585 | 133 |
| 134 to:: | |
| 135 | |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
136 <span tal:replace="structure context/nosy/menu" /> |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
137 |
| 1585 | 138 For 'assigned to', change line 61 from:: |
| 139 | |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
140 <td tal:content="structure context/assignedto/field">assignedto menu</td> |
| 1585 | 141 |
| 142 to:: | |
| 143 | |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
144 <td tal:content="structure context/assignedto/menu">assignedto menu</td> |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
145 |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
146 |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
147 |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
148 Great! But now the select/option list is too big |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
149 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 1585 | 150 |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
151 Thats a little harder (but only a little ;^) |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
152 |
| 1585 | 153 Again, edit ``html/issue.item``. For nosy, change line 53 from: |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
154 |
| 1585 | 155 <span tal:replace="structure context/nosy/field" /> |
| 156 | |
| 157 to:: | |
| 158 | |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
159 <span tal:replace="structure python:context.nosy.menu(height=3)" /> |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
160 |
| 1585 | 161 for more information, go and read about Zope Page Templates. |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
162 |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
163 |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
164 Using Roundup |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
165 ------------- |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
166 |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
167 I got an error and I cant reload it! |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
168 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
169 |
| 1585 | 170 If you're using Netscape/Mozilla, try holding shift and pressing reload. |
| 171 If you're using IE then install Mozilla and try again ;^) | |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
172 |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
173 |
| 1585 | 174 I keep getting logged out |
| 175 ~~~~~~~~~~~~~~~~~~~~~~~~~ | |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
176 |
|
2921
ad4fb8a14a97
more doc updates, not so many TODOs any more
Richard Jones <richard@users.sourceforge.net>
parents:
2897
diff
changeset
|
177 Make sure that the ``tracker`` -> ``web`` setting in your tracker's |
|
ad4fb8a14a97
more doc updates, not so many TODOs any more
Richard Jones <richard@users.sourceforge.net>
parents:
2897
diff
changeset
|
178 config.ini is set to the URL of the tracker. |
|
1584
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
179 |
|
2090f2004ee3
Added some stuff that hit me to the FAQ.txt:
Cameron Blackwood <drkorg@users.sourceforge.net>
parents:
1304
diff
changeset
|
180 |
|
2897
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
181 How is sorting performed, and why does it seem to fail sometimes? |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
182 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
183 |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
184 When we sort items in the hyperdb, we use one of a number of methods, |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
185 depending on the properties being sorted on: |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
186 |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
187 1. If it's a String, Number, Date or Interval property, we just sort the |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
188 scalar value of the property. Strings are sorted case-sensitively. |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
189 2. If it's a Link property, we sort by either the linked item's "order" |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
190 property (if it has one) or the linked item's "id". |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
191 3. Mulitlinks sort similar to #2, but we start with the first |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
192 Multilink list item, and if they're the same, we sort by the second item, |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
193 and so on. |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
194 |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
195 Note that if an "order" property is defined on a Class that is used for |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
196 sorting, all items of that Class *must* have a value against the "order" |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
197 property, or sorting will result in random ordering. |
|
21a0b049fed8
notes about sorting
Richard Jones <richard@users.sourceforge.net>
parents:
2346
diff
changeset
|
198 |
|
686
c52122f38c9b
Documentation cleanup, added info for potential (and current) developers
Richard Jones <richard@users.sourceforge.net>
parents:
659
diff
changeset
|
199 ----------------- |
|
c52122f38c9b
Documentation cleanup, added info for potential (and current) developers
Richard Jones <richard@users.sourceforge.net>
parents:
659
diff
changeset
|
200 |
|
c52122f38c9b
Documentation cleanup, added info for potential (and current) developers
Richard Jones <richard@users.sourceforge.net>
parents:
659
diff
changeset
|
201 Back to `Table of Contents`_ |
|
c52122f38c9b
Documentation cleanup, added info for potential (and current) developers
Richard Jones <richard@users.sourceforge.net>
parents:
659
diff
changeset
|
202 |
|
c52122f38c9b
Documentation cleanup, added info for potential (and current) developers
Richard Jones <richard@users.sourceforge.net>
parents:
659
diff
changeset
|
203 .. _`Table of Contents`: index.html |
|
1762
4c7f5d925b12
Corrected customizing url (patch [SF#791963]).
Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
parents:
1721
diff
changeset
|
204 .. _`customisation`: customizing.html |
|
686
c52122f38c9b
Documentation cleanup, added info for potential (and current) developers
Richard Jones <richard@users.sourceforge.net>
parents:
659
diff
changeset
|
205 |
