artTree is a module for Joomla! 1.5 that allow you to show your existing articles in a hierarchical way. It is based on the work by JoniJnm but extends his work further expanding significantly its functionalities.
After deciding to insert a new blog like section into my page and as time went on I found that the mechanism that Joomla provided to paginate the articles though valid were less than optimal and as the number of articles grew we ended up with along listing of page numbers at the bottom that direct you to another page unknowing what articles we will found there.
I wanted, needed, a module that presented, in an easy and intuitive way, all articles created up to date for the visitor to be able to easily select the one she liked without the need to walk through all the existing pages. I know that I could have inserted a section listing and may be someday I'll do that but, for now, I was after a more elegant, less intrusive, method.
After a loooong search through the Joomla extensions repository I found the 'mod LCA' module by JoniJnm that contained basically the elements that I was after. But after installing it I noticed that it has two shortcomings that made it difficult to meet my needs:
- It only was able to present the live articles, this is, those that were not archived
- You only could have one instance of the module in each page
The first shortcoming was less relevant; it probably would be enough to send the developer a request for enhancement just to get it done but, after having a look at the code I saw that the second one were not going to be so easy. The developer had built its code thinking in a single-instance model so requesting this kind of change would have meant that he had to rebuild the module nearly in its entirety.
So artTree was born. Instead of asking another one to work to satisfy OUR needs we have done it ourselves. As a side effect we have rebuilt the CSS file so that it can live along with the ja-purity template, one of the most used ones and the one we are using, without killing each other.
Version 0.1 uses the code from the module it forks from. We had limited ourselves to add the functionalities that WE needed for our site and few else. But the original code required a lot of resources in the server that serves the page and that means that you probably will start having problems at the moment that the number of articles start to grow. That is the reason that this version is released few days after releasing the first one. Version 0.2 include this changes:
- Rewrite of the main loop so that the articles list is now built in a single pass and that is something that will mainly notice those sites that hold a large number of articles. If the number of years to show is limited too then an early termination of the procedure will allow the module to be fully operative no matter the number or articles you have in your database.
- (Experimental) You can limit the number of articles presented each month. If you have 300+ articles a month you may want to show only the first 50 to avoid showing an endless list when the user expand it. The counter of articles nevertheless will keep showing the real number of articles of that month. This effect is experimental because this may shock users more that help them so it is subject to comments. If you use 0 as the number, all articles will be shown.
- New CSS style structure that allow you to go down to the item when defining the visual style of the table. You can, for instance make entries of a live articles table one colour and entries of a archived ones another colour.
At least one out of those that have downloaded this module has a lot to say. Or at least he has a lot to write because the number of articles he needs to manage is above 600. And it happens that when you reach a given number of items suddenly your page turns blank. Everything dissapears, menus, other modules, contents, everything. All. TODO.
We were working out version 0.3 when we received this user´s complaint. We were making our tests with a normal database (100, 200 articles?) as we suppose most of you have but as we started to increase the number of articles we could see that after some 700 entries the page got blank. Working to solve this problem version 0.3 got out (not published) and now we arrive at this 0.4 that we expect will solve definitively the problem with the high number of entries. Or that is what we expect. We depend on you to know if we have achieved that.
And by the way it also have the features that were to be part of version 0.3. The down side of this update is that the CSS selectors got modified to adapt to the new structure so that if you had modified the former ones you will have to save the css file before installing this new one and you will have to pass the changes to the new selector structure afterwards.
R. Rajoz noticed that articles listed included those articles that were not being able to be accessed when users clicked in their links because their higher level of security . This fact expressed an incoherence and a bad practice as the user is going to get an error window when following the link and we know it in advance.
Thanks to the changes proposed by himself and that are included in this version these articles appear no more in the list of available ones being the list now coherent with the security level of the contents.
Jeffery Brown detected that, if the number of elements to show was limited, two bad things will happen: the 'more' text was visible even when the month element was collapsed and the text was not conveniently translated to the front end language. Both problems are fixed in this version that uses the mootools $ operator to interact with the list of hidden items in excess so that you require it to be active. I have used it both to disconnect this module from the browser version you are using and to simplify the code because, you already usually have one of the frameworks that define this function active (and sometimes you even have more than one at once).
User X-Bit found a problem when more than one section or category were selected. Version 0.5 fixes this.
artTree es un mólulo que permite presentar los artículos existentes de una forma estructurada agrupandolos por fecha.
Esta versión corrige un problema de posicionamiento del texto que despliega los artículos ocultos cuando se activa el límite de artículos a presentar así como la traducción del este texto a otros idiomas.
NOTA: *REQUIERE* mootools activo
|GNU/GPL 2011-03-20 Multilanguage Joomla 1.5 13.08 KB 5288|