Edit detail for GeneralDiscussion revision 16 of 541

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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541
Editor: Michael Ang
Time: 2007/05/24 19:03:52 GMT-7
Note: content order

added:

From MichaelAng Thu May 24 19:03:51 -0700 2007
From: Michael Ang
Date: Thu, 24 May 2007 19:03:51 -0700
Subject: content order
Message-ID: <20070524190351-0700@zwiki.org>

How do I change the order of content like (subtopics links, main text, comments) instead of (main text, subtopics links, comments). I know I have to dig into content.pt -> options['body'].

Main point is to move the subtopics group into another place. Thanks.

This page is the easiest way to get involved in Zwiki discussions. Post any questions or comments using the comment form at the bottom of the page. Click subscribe if you'd like to receive (and send) comments by email. For the discussion archives, and other ways to discuss Zwiki, see AboutZwikiDiscussion?.

strike through text in stx? --dmahler, Thu, 03 May 2007 09:06:58 -0700 reply

Is there some concise markup for <strike>xx</strike> in stx or do you have to write the full xml tags?

Zwiki bug day tomorrow --Simon Michael, Thu, 03 May 2007 13:00:22 -0700 reply

Friday may 4th is Zwiki Bugfix Day!

Drop by the #zwiki IRC channel any time on friday to help, hack, heckle, and join in the fun. http://zwiki.org/BugDay has more info. Hope to see you there!

-Simon

BUG DAY, KnownIssues? poll --Simon Michael, Fri, 04 May 2007 12:28:55 -0700 reply

Hi all, Bug Day is in progress - remember to drop by #zwiki and tell us your favourite bugs..

Also: how many people use or did find useful the KnownIssues? page ? It is a manually updated summary of frequently-encountered issues, especially for new users who might not find things in the tracker. It hasn't been completely current for a while. Is it worth the work to keep it ?

BUG DAY --simon, Fri, 04 May 2007 22:18:09 -0700 reply

Some hours to go yet, but I am signing out. Good work on some tricky issues by betabug and myself, with excellent input from Wu, wlang, moral support from encolpe, and anyone else I may have missed. Thank You! Let's do it again the first friday of june.

**Hide FrontPage? from the URL when only domainname.com/ is entered ** --JózsefJároli, Mon, 14 May 2007 06:06:23 -0700 reply

for instance if you type zwiki.org/ in, then the URL will be zwiki.org/FrontPage? , but I would like keep the URL zwiki.org/ yet showing the FrontPage? This might be a simple question, but I couldn't figure out how to do it right, although I noticed that this works with Plone (with the default_page). What should I write in the index_html method to achieve this? Thanks!

**Hide FrontPage? from the URL when only domainname.com/ is entered ** --Michael Ang, Mon, 14 May 2007 06:21:31 -0700 reply

Why hide FrontPage? in URL? You may have problem hiding other pages in the url.

Hmmm --FrankLaurijssens?, Mon, 14 May 2007 08:18:31 -0700 reply

Comment subjects are no longer bold?

Hide FrontPage? from the URL when only domainname.com/ is entered --Simon Michael, Mon, 14 May 2007 08:25:05 -0700 reply

If it's just the front page, you can change the index_html DTML method - instead of redirecting, have it return the page contents directly. Something like:

<dtml-var "aq_parent.FrontPage(REQUEST=_.REQUEST)">

should do it.

**Hide FrontPage? from the URL when only domainname.com/ is entered ** --JózsefJároli, Mon, 14 May 2007 08:28:15 -0700 reply

Until there are only ASCII characters in the title of the default page, URLs? remain readable. Once the title of your Home Page has accented letters, then these default URLs? will be just too ugly to be displayed (e.g. Keresőoptimalizálás »» Keres_c5_91optimaliz_c3_a1l_c3_a1s ), that's the reason why I am looking for a solution for this. (sidenote: non-English speaking people often don't get the concept of what FrontPage? is, and sometimes my sites running with Zwiki and having a bold FrontPage? title on the home page were referred to as a site named 'FrontPage?') Also from a search engine optimisation perspective it is not ideal if your visitors start to link to your site as zwiki.org, zwiki.org/, zwiki.org/FrontPage?, because these sites are considered as different web pages to certain extent by search engines.

Hide FrontPage? from the URL when only domainname.com/ is entered --Simon Michael, Mon, 14 May 2007 09:00:35 -0700 reply

That's a good point about urls. We still need an improved canonicalIdFrom method that can substitute similar ascii letters for accented letters where possible, instead of the ugly hex codes. I think it was you that suggested this in the past ? That might help some. See http://zwiki.org/InternationalCharactersInPageNames and http://zwiki.org/736 . I'd love to make these urls better for non-ascii users - maybe some of you should club together and commit a few dollars towards funding the issue, which would allow me to work on it right away ?

I take your point about the different between zwiki.org, zwiki.org/, and FrontPage?, but.. I think search engines generally know at least the first two are the same - they're not going to visit both of those. And, I think it is more consistent and less confusing overall to always use the .../Page url. Otherwise, when someone hits the edit link it jumps from zwiki.org/ to zwiki.org/FrontPage?/editform , and both urls are exposed anyhow - it's better to pick one and use it consistently everywhere. The front page will work the same way as the others, you can more easily add things like /upgradeAll to the url manually, it's clear where to set permissions, etc.

That index_html trick should certainly allow you to customize the appearance of the initial url though. Apache rewrite rules would be another way.

Hide FrontPage? from the URL when only domainname.com/ is entered --JózsefJároli, Mon, 14 May 2007 09:31:07 -0700 reply

Thank you for the quick answer! Don't know why but somehow the above snippet didn't work, so I started to fiddle with it (without really having any clue about it :) and I found that this worked:

<dtml-var "FrontPage(REQUEST=REQUEST)">

Hope it won't break anything though:) Well, you are right, we shouldn't have this as a default method, but I think it is worth to mention this trick in the Cookbook and the pages dealing with Default Page concept (if you find this snippet OK).

Well, as for the accented letters' issue: yes, that was me :) As you can see the problem keeps on bugging me :), but since then the Plone folks have implemented an URL canonsation, which as far as I can tell works just great with quite a few languages, so perhaps the task is "only" to reuse the code already written for Plone. (which translates the Russian Изображение дня to izobrazhenie-dnya, the Hungarian A nap képe to a-nap-kepe for instance). How much would it cost (just a rough estimation) to develop this Plone function for Zwiki too (maintaining the backward compatibility with old-style encoded URL's)?

Thanks again, József

Thought for the day --FrankLaurijssens?, Sun, 20 May 2007 04:32:01 -0700 reply

I just created a page for Ben, and he wrote how he felt like today. The page currently is a subtopic of my own page in PeopleIndex?.

An interesting thought came up: should I reparent BenLaurijssens? to PeopleIndex?, leave FrankLaurijssens? as parent of BenLaurijssens? or should I move BenLaurijssens? to the SandBox? altogether?

;)

Thought for the day --Simon Michael, Mon, 21 May 2007 13:44:08 -0700 reply

Welcome Ben, Charlotte. :) "Parent page" takes on a new meaning.

Thought for the day --betabug, Tue, 22 May 2007 04:03:23 -0700 reply

"Sandbox" too :-)

content order --Michael Ang, Thu, 24 May 2007 19:03:51 -0700 reply

How do I change the order of content like (subtopics links, main text, comments) instead of (main text, subtopics links, comments). I know I have to dig into content.pt -> options['body']?.

Main point is to move the subtopics group into another place. Thanks.