Die Beste Aller Zeiten

Going direct to heaven, going direct the other way

Page 10 of 14

More Bugfixes

The place here module for Joomla 1.5x choked at some plugins. After I tried to track the issue for a couple of days without getting anywhere I decided to actually read the error messages PHP spat out in strict mode and behold! I forgot to pass a parameter to the function that triggered the plugins. I guess this will resolve most problems with plugins within module content.

    Minor Changes

    I fixed some small bugs in the place here module that threw notices (not errors, stuff like undefined array indexes etc). And on behalf of two commenters I added some small stuff:

    There is a new template “titles only” which, as you might guess, shows only the titles of the articles; you can enable the “link title”, “show create date” and/or “show modify date” parameters, most of the other formatting settings are ignored.

    I have to say from a performance point of view this is not a good solution, since the module will still pull _all_ of the article information from the database only to disregard most of it in the template, but it might be useful if you have mod_placehere anyway and do want to install yet another module.

    Maybe I should provide a way to build you own templates for the module from within Joomla (in fact I have a pretty good idea how to do it but at the moment I shy away from the effort).

    The other change relates to the “show frontpage item” setting. There is a new setting (directly beneath) called “Flip Frontpage setting”, that applies the Frontpage setting to the non-frontpage Items.

    Yes, I knew you wouldn’t understand this, so here’s how it works: If you set “Show Frontpage Items” to “show” all articles will show. If you set “Show Frontpage Items” to “hide” the articles that have the “show on frontpage” flag (in the article parameters) will not show. if you set “Show Frontpage Items” to “hide” _and_ set “Flip Frontpage Item Setting” to “yes” then only the frontpage items will show.

    Come to think of it this might not be the most intuitive way to do things, but I thought it was a good idea at the time and who am I to contradict a clever lad like me.

    This has been tested with J! 1.5.2 in PHP 5.2/Windows/Apache. For the download page click here or look in the sidebar for “Module for 1.5 (new).

      Please update

      Adam Wallner pointed out to me a bug in the place here modules HTML output. Since that potentially could wreak havoc on your layout and in any case invalidates your HTML I recommend that you either upgrade, overwrite the helperhtml-File with the corrected file from the most recent version or fix the problem manually.

      The error is in modules/mod_placehere/helperhtml.php in line 32.

      echo ‘<td valign=”top” colspan=”‘ . $num_of_cols . ‘” class=”mod_placehere_leading”>’ . $rows[$i] . ‘</div>’;

      should be:

      echo ‘<td valign=”top” colspan=”‘ . $num_of_cols . ‘” class=”mod_placehere_leading”>’ . $rows[$i] . ‘</td>’;

      (Mind the wraps, this is supposed to be one line). While at it you could remove the “valign-attribute” and set vertical align via your CSS-File.

        mod placehere and Beez

        Beez is the accessible and tableless template that is bundled with J!1.5. Beez is the brainchild of Angie Radtke and Robert Deutz and is a phantastic piece of work – for those who need to built WAI/508/BITV compliant websites Joomla would be completly useless without Beez ( a problem that has plagued me with previous versions of J!).

        The place here module now offers limited support for Beez. “Limited” in that case means a) the module doesn’t automtically pick up your choice of template, instead you need to set it in the module parameters and b) this hasn’t been widely tested (in fact in has only been tested on my home machine with Apache/PHP 5.2 and J!1.5.2) so there possibly will be bugs.

        -> Download Page

          And another problem with javascript libs

          A while ago I wrote about why javascript libraries are not necessarily helpful in my line of work (namely because of their high potential for abuse). Just now I stumbled upon another problem that makes them even less useful for me.

          A javascript lib provides – in theory – a common framework to write reusable and exchangeable modules and widgets that can be distributed over the web and plugged into existing applications. After all we all use a common code base, so there is no room for conflicts, or is there.

          Actually there is. Today the attempt to use three different prototype based widgets (and the subsequent attempt to find replacements) landed me right in version hell. Evidently every prototype based snippet uses a different version of the lib and backwards compatibilty, if at all intended by the prototype makers, is extremly limited. I’m not sure that it is actually faster if I write the required functions myself, but I bet it’s a lot less frustrating.

          And while I’m at it, here’s a heartfelt “Fuck you!” to all you browser manufacturers out there. I don’t know if you know how much unpaid overtime your crappy software causes for people like me, but my guess is you know it and break things on purpose. Oh well, who needs sleep anyway.

            Those Sly Brits!

            First they deceive the world by building up over the years a reputation for absolutely ridiculous special effects – and then they go on and produce, under that disguise, a row of superbly written and well performed science ficion series ( they want to keep the goodies for themselves I suppose). But I have seen through their nefarious schemes and bought the first season of the “Dr Who” spinoff series “Torchwood” on DVD. Pure brilliance.

            As for special effects, actually the BBC is quite capable of F/X work on par with Hollywood, but much like Star Trek these series on a specific imagery; no-one wants to see Daleks that look like ‘real’ robots  or Cybermen without strap-handles.

            With the public transport on strike in Berlin and the weather too bad for motorcycling I’m locked in  anyway, so I guess I have something to do over the weekend 🙂

              How long do you plan to stick with Joomla 1.0.x ?

              After a support request I’m wondering if it’s worth to go the trouble and write another version of the content item module for Joomla 1.0.x, one that supports tableless output, allows to disable unwanted mambots and makes perhaps another try at solving the itemid-issue (the current fix doesn’t work with SEF-Urls). This makes only sense if 1.0.x will still be used in fresh installs despite the fact that 1.5.1 is available (I’m not sure how many users come back to fetch upgraded versions for existing sites).

              So, what do you think?  Would you care for an improved version, even if it will take to early April before I could finish it? Please comment.

                Where Have I been While My Peers Have Been Harrassed with the Holocaust?

                Deborah Lipstadt has a blogpost on about different approaches to holocaust education. Among others she has a link to an article in the New York Times about “The Search”, a comic book about the holocaust that is going to be introduced in german classrooms. While I’m pretty much indifferent to the comic book idea (the thing was conceived by the Anne Frank Haus, so I’m at least convinced it will be high quality stuff) I was taken aback by what the NYT had to say about the topic of holocaust remembrance in german schools. They write

                Passing is the shock therapy, with its films of piled corpses, that earlier generations of schoolchildren had to endure.

                […]

                Ask many Germans now in their 20s, 30s and 40s, and they will describe elementary and high school history classes that virtually cudgeled them into learning about Nazis and the Holocaust. The other morning Jutta Harms recalled her class in a small town in the north of West Germany during the late 1970s. Ms. Harms now works for Reprodukt, a leading Berlin publisher of graphic novels.

                “Students had to fight to talk freely about the war,” she recounted, “and, being confronted in class by the emotions of the teachers, there wasn’t any space to feel for ourselves.”

                I think the NYT fell victim to mystification. The idea that there is too much or too aggressive holocaust education in Germany is a rather recent (post-unification) trope, although many people obviously have updated their memory to match newspaper reports about their alleged acquired guilt complex.

                I’m in my late thirties, which puts me in the same age group as Jutta Harms. Elementary school for me started in 1977 in a small town in Baden-Württemberg; after that I visited a grammar school in the same town for four years before I switched schools and went to a boarding school close to the border of Württemberg and Bavaria. That we were made to feel guilty for the holocaust was not a common complaint among me and my fellow students, mainly because nobody tried to make us feel that way in the first place.

                Holocaust education was mainly a matter for three subjects in school: history, german and religious education (the last of which was supposed to teach you about ethics). I opted out of religious education when I was old enough (actually I had a brief stint in religion class after I switched schools before I could opt out again), so I can’t say much about that.

                As for my history lesson, movies of piled corpses didn’t figure prominently in there. There might have been the occasional blurry back and white picture of victims of extermination camps, but the history book mainly featured the much more harmless image of the imprisoned Carl von Ossietzky – menacing enough, but not traumatizing. As for the general prominence of the holocaust education, in my final exam I got a rather good grade for an essay about the german attack on the soviet union that didn’t even mention dead jews – I simply was unaware of the connection and described the events from a purely military point of view, which obviously got the approval of my teachers. It’s not that we didn’t learn a lot about the Nazi era, but that was by no means all holocaust education.

                The shoa was also a topic in our german lessons (actually, in the late 80s “shoah” was merely the title of a Claude Lanzmann movie as far as germans were concerned). We actually read a book about it, Damals war es Friedrich by Hans Peter Richter, a story about the friendship of a jewish and an “aryan” boy during the rise of national socialism. The next was Ich bin David by Anne Holm, which came under the heading of holocaust education but is actually a generic story about persecution. Then Christiane Nöstlingers Maikäfer flieg, which is settled at the end of WW2 -a young girl grows up in the russian occupied Austria. Then Borcherts Draussen vor der Tür, a story about the plight of a homecoming german soldier. Then Grass’ Katz und Maus, about a troubled german youth in Gdansk during the national socialist time. Uups, do I see a pattern here? Too much about the holocaust, my ass.

                We did read The Diary of Anne Frank, with it’s rather upbeat message that this brave little girl believed , in spite of everything, that people are truly good at heart. I’m sure that, had there just been a little more time in that term, the teacher would have loved to talk about Auschwitz and Bergen-Belsen in that context.

                The difference between Jutta Harms’ experience an mine might just be the difference between the North and the South – after all in Germany the difference between North and South is (at least used to be) pretty much the difference between political left and right, and maybe the social democratic governments had a more aggressive policy towards holocaust education. But then I heard the same claims from people who have virtually the same education as me, so I just know they have never been crushed down by holocaust tales.

                I think the issue is rather what schoolteacher Jens Augner says in the same article:

                “It teaches the subject so that it’s no longer just about victims and perpetrators.”.

                Right, because that is the new policy of remembrance in the unified germany: We are all victims. The jews sure had a tough time in Auschwitz but the germans suffered too, with them evil western allies burning down Dresden and Ivan raping great-grandnanny.

                One of the more annoying traits of my fellow countrypeople is their tendency to think in terms of a timeless german collective. When a case of reparations is negotiated there is a cry of “why should I pay when I have been born after the war” as if jews, forced labourers et al. would rattle at some germans personal front doors with a collecting box (they don’t, actually; they negotiate with the FRG as the legal successor to the “Third Reich”, because that is the point of states to honour treaties beyond the lifetime of the individual). Whenever an american movie (or a comic book) makes fun of nazis people here ask “why do americans think all germans are nazis?” (as far as I can tell they do not, and rather expect us to join them laughing. I haven’t yet met an american who would understand why contemporary germans would be offended by a joke about nazis).

                And that is the flip side of a german history taught without perpertrators: that todays germans are innocent as far as the holocaust is concerned will be misunderstood to mean that all germans, at any time had been innocent or at least had their reasons for whatever they did and that Nazis shouldn’t be judged by the mere 12 years of their Third Reich. Victims and perpetrators have become so much morally evquivalent that historian Götz Aly is already writing about the common life experiences of Max Horkheimer and Georg Kiesinger (the former a jewish emigrant, the latter a Nazi propagandist who went on to become german chancellor). It seems that germans cannot live self-assured in the present without inventing a past that is somehow more acceptable.

                I’ve been born in 1971, 26 years after WW2. I have never felt that I am responsible for things that happened before I was born. But to write a history that blurs the difference between victims and perpertrators means to lower our defenses, and I don’t feel we’re ready for this either.

                  Sifting through the garbage

                  A number of people submitted questions to the FAQ-Sections and are waiting (or not waiting anymore) for an answer – unfortunately the FAQ section got completely overrun by spammers. I think by now I have thrown out most of the spam, and quite propably a number of legitimate questions, too. I’ll try and answer the 25 or so questions that are left, but frankly I don’t know some of the answers myself.

                  Also, if you want a problem fixed and I ask for more information  please please do provide a follow up, or else I won’t be able to help.

                    Static content for 1.5 module

                    Until recently the ‘place here’ module didn’t work with static content. John Woelfel sent in a patch for that, which is now integrated in the latest download (see sidebar). Thank you, John!

                      Page 10 of 14

                      Powered by WordPress & Theme by Anders Norén