Bugfix

Filed under: Joomla — Eike @ January 8, 2009 12:04 am

Uncategorized content did not work in the latest version of mod_placehere, this is fixed now. However there seems to be another bug (I had two commenters who say that the module did not work for them) that I could not locate or reproduce yet.

Please, don’t be shy – if the module does not work it’s much more likely a bug in the code than an error of yours, there is not much you can do wrong. If you have a live site where the module does not work you can provide me a temporary login via email and I have a look and try to fix the problem (email adress is in the left colum).

    New Features

    Filed under: Joomla, Manual — Eike @ January 4, 2009 5:00 pm

    Keywan Ghadami (who has not given his web adress, so instead I link to the project he’s working on – studieren-ohne-grenzen.org) has added a “related article”-feature to the place here module which has found with very little modifications it’s way in the “official” release. That’s how it works:

    Related articles

    If a) the module is set to display articles; b) no article ids are given; “show related” is set to “yes” (default); and site visitors look at an article page (not an blog or component page) then related articles are displayed. This is at the moment a very basic implementation – relationship between  articles is determined by meta-keyword(s), if at least one keyword is the same for both articles the articles are related.

    Edit Button

    There is now an edit button in the frontend  (for logged in users with proper permissions).

    Start display with an offset

    There is a new parameter “offset”. If for example you set the module to display a category with ten articles and set the offset to 5 the module will display articles six to ten from the category (unless you limited the display further with the “number of items displayed” parameter).

    General Bugfixes

    The sql query used a Joomla function to determine the current date. As long as J! is Mysql only I replaced this with the simpler NOW() function from MySql (since this was easier than to look up how Joomla date functions actually work and why they gave wrong results in the module).  The “gallery mode” displayed pictures from the main content even when disabled, I fixed that, too.

    Version Number

    Since there is a new major feature I set the version number to 1.2.1. This has been quite thoroughly tested on Vista/Apache/PHP 5.2 so I don’t expect any major bugs (knock on wood), but if anything doesn’t work, well, you know where to find me.

      I need a Beta-Tester

      Filed under: Joomla — Eike @ December 27, 2008 11:46 pm

      I hope you all had a happy holiday.

      I made some changes to the “place here module” ( sometimes I think I should find another name). There is now an edit button in the frontend, you can specifiy an offset (so, for example, you can display a category starting with the 5th,7th,nt..h article), the module rows now have a CSS class “even” and “odd” respectively than can be used for “zebra striping” (alternate colors) and I fixed a number of bugs (or so I hope).

      However I’m not at home (that is, not at my workplace) and have only a very limited internet connection, so I have no proper way to test all this. So I would ask you out there to do a bit of beta-testing for me.

      I especially want to know if the links are correct when the content type is set to “articles” (formerly content items, I changed this to be consistent with J!1.5 terminology)  and “link to category” is set to “yes” (and SEO Urls are enabled).

      Link is here: mod_placehere_v111_beta

      I’m grateful if anybody will test this for me, but you shouldn’t bother yet to update production sites even if it works (since there will be more changes shortly).

        I think I will throw out the FAQ Section

        Filed under: Joomla, self referential — Eike @ December 16, 2008 12:54 am

        Those of you who post questions to the FAQ page will notice that it takes me much much longer to answer those than it takes me to answer comments. That because the spam filter does not work on the FAQ section and questions posted there will simply be drowned in spam. I’m not sure that this is actually helpful, so I might simply disable the FAQ and use the comments to answer your questions.

          Up for Beta-Testing: Gallery Mode

          Filed under: Joomla — Eike @ November 2, 2008 11:45 pm

          I added a feature to the place here module – now the the module can pick all images from an articles fulltext and insert them into the module position as a kind of gallery.

          There are three new parameters:

          Gallery: enable/disable, use gallery mode or not)
          Gallery Position: append/prepend/replace, put it above the text, put it below the text, or replace the text
          Gallery Output Mode: raw/list, just image tags or an unordered list

          So far gallery mode will you give just the image tags, or an unordered list with images. Any actual styling or javascript you will have to do yourself (altough I will try to give examples).

          I’m glad that I had at least a couple of hours to work on the module – I don’t have time to test this extensively (it worked for me on PHP 5.2 on Vista Home/Apache 2)  and in the next few days I won’t have for hobbies, so I don’t put this on the download page but here so you can play with it.

          Download link: mod_placehere_v_110_beta

            Shoa.de – Another Relaunch Approaching

            Filed under: Joomla, Projects, self referential, shoa — Eike @ October 30, 2008 12:49 pm

            For some four years now I volunteer as a webmaster for shoa.de, one of the largest german Holocaust ressource sites. I moved it from the original static HTML pages to Mambo and through various Joomla Versions. When I was finally prepared to give on Joomla version 1.5 came along with the wonderful beez template, and I decided to give Joomla another go. Tomorrow will be the official relaunch on a new server, and with a new name, too. Shoa.de will still work (it is after all the name of the registered non-profit), but the main domain will be  the not particularly original zukunft-braucht-erinnerung.de.

            I had hoped to make a bit of an event from the relaunch, but as things are going (I’m terribly busy and paid work goes first) I’m glad that I made it at all, and there are a lot of things left to do – the old page used tables for image captions that now need to be removed, some things (like pagination) are not styled at all, we purchased a cache component that I have been unable to get to work so far etc.  But still the new site is already looking much better than the old one, and now we have at least a solid base from which we can work our way towards accessibility.

            So, why I am doing this?

            Building or re-building a large website is a lot of work, even if you’re part of a team (graphics design was done by Thorsten Kaiser,  content editing is done mainly by shoa.de founder Stefan Mannes and his company kakoii.de and several other volunteers).

            It is occasionally speculated in online forums (what is the plural of “forum” ?) that shoa.de is either heavily subsidized by the german federal government or that we are paid for by the Israel Mossad as part of a mission to make the innocent german people feel bad about themselves.

            As they say, if I’m part of a conspiracy then where is my share?

            In fact that shoa.de runs at all is mostly by courtesy of Thomas Kochler from the hosting company schuko.net, who donated the server and pays for our traffic. If you are looking for reliable and competent hosting in Germany you should consider him, it’s a tad more expensive than the big companies but you will get excellent service. Then there are fees from the members of the non profit (it think it’s 15 Euro per year and member), we got a little money when the portal won an award two years ago, and we get the occasional donation (though that’s usually not money – for example various publishing companies donated prices for a school contest we arranged). And even if there was money the charter of the non-profit forbids that we pay money to ourselves.

            So if it’s not for the money why am I, why are we doing this ? After all the holocaust happened a long long time ago, isn’t it time to move on, put the memories to a rest, bla bla bla.

            The answer is rather simple. Nazism, fascim, antisemitism in Germany are not things of the past. Quite on the contrary, in some areas at least they seem to be on the rise. The problem are not so much the violent fascist thugs, even if they routinely maim or kill foreigners or lefties. After all there are laws against assault and murder, and Germany has a police force that would be quite capable to enforce them. The problem is a form of public acceptance – it is widely believed that the political views of Nazism are understandable and justfied, and that just its’ methods are a little bit too extreme [1].

            Well, I’m not going to accept it [2]. That Nazis should be allowed to go on while the people who are against Nazis should stop is, to me, unthinkable.

            That’s why.

            1. And of course in the aftermath of the german unification most of the left suffered a case of sudden spinelessness and converted to views that had been previously held only by the extremist right - "the boat is full" (so no more immigration), "we must protect our industry against jewish reparation claims" etc. So there is no real counterweight to the right anymore.
            2. And why would I? That the left are the losers of history is not because there is something wrong with being against nazis, or longing for a better world. It's because traditionally lefties are, in their majority,  wimps who would betray their every conviction and their comrades for a slap on the back from the right (Social Democrats, I'm looking at you). I don't have to do this to myself.

            A less obtuse trim function

            Filed under: Joomla — Eike @ October 6, 2008 8:40 pm

            The place here module has a parameter to display only a specified number of characters of an article. So far this has been done with a simple substr-Call which ripped through word boundaries and HTML-Tags – so I removed the HTML with strip_tags.

            Instead of re-inventing the wheel for a better trim function I ripped from a Wordpress Plugin (credits are in the readme and the module code, but I guess I still should contact the author Michael Kelly). So you can now have HTML in excerpts. If you still want to strip HTML that’s now an extra setting. Plus there is an option “Add String” that will add a few character (best suited is the ellipse ‘ …’ ) to the trimmed string.

            This is backwards compatible, simply overwrite the old module files if you have it already installed.

              Me and the module, we’re still not dead

              Filed under: Joomla — Tags: — Eike @ September 4, 2008 11:31 pm

              Usually I think that away messages are kind of silly and that, when I don’t have to say anything, I should keep quiet. However I got a worried e-mail that asked if I still do support for the place here module (after all I haven’t been writing for five days or so).

              Yes, I do.

              However I’m terribly busy at the moment. Before the 10th of September I won’t do any work on the module, including some necessary bug fixes (but I still will answer questions on the blog and via mail) – I don’t have the time . But the thing works apart from some minor quirks, so this should not be too bad.

              if you have feature requests you can add them here: http://diebesteallerzeiten.de/blog/feature-requests/

              Or simply put them somewhere in the comments.

                Class suffix, ordering, version number

                Filed under: Joomla, Programming — Tags: — Eike @ August 14, 2008 11:33 pm

                The module came with a bug in its template files, so the Module Class Suffix parameter was applied to the individual content items and not to the module. This is fixed now. So the module will have the class of mod_placehere, plus whatever you enter as a suffix; ‘leading’ items – the articles that span the full width even when the content is sent in columns – will have the class mod_placehere_leading; all others items will have the class of mod_placehere_following.

                I added a new ordering parameter “exact”, which will display articles in the exact order you enter the ids. This can be set only in the primary ordering (since the ordering can not possibly get more exact than the exact order. Or something).

                And finally I added a readme-file that will hold a changelog and a version number. Since this is the first time I use a version number I simply put version 1.0 in there, despite the fact that the module has been around for quite a while. I will stick to the usual scheme of x.x.x – major.minor.bugfix.

                  New Joomla Project

                  Filed under: Joomla, Programming, Projects — Eike @ June 28, 2008 8:29 pm

                  In my last post I mentioned that I used the place here module for a new project – this is now online under www.freicon.de.

                  Freicon (short for Freiburg Consulting) is one of the leading european suppliers for dealership management systems. We already did the last incarnation of the website running a patched version of Mambo. The new version is built with Joomla 1.5.3. I looted the Beez-Template for the parts responsible for HTML Output, but decided to use some much simpler CSS. The menus are done with ImgTTFMenu. The place here module (actually multiple instances of the modue) is in the grey box on the right and links to the respective categorys instead to individual articles.

                  I did the programming work as a subcontractor for the Berlin-based agency dynamique (actually a company I co-founded a couple of years ago before I left; by now their main business is with hosted solutions for the Zimbra groupware), design was provided by smile-werbung.de in Freiburg.

                    « Newer PostsOlder Posts »