Joomla Tricks and Tips

Solutions we've developed or found on the web.
Jan 25, 2010

We're using a Joomlart template for our client investeens.com. It is developed with Joomlart's new T3 framework, which is incredibly difficult for no apparent reason. As each template company diverges with their own framework, we as developers and implemeters have to struggle with understanding these frameworks in order to provide customization for our clients. Do we really need this endless acceleration of complexity? Do these template perform that much better?

Here is a link to Joomlart's T3 framework:
http://wiki.joomlart.com/wiki/JA_Template_Framework/FAQs

Good luck to you!


Jan 25, 2010

The Problem: the search field in Glossary is prepolated with the word "search..." Clicking in the search box does not clear it.

 The Solution: Not the most elegant of solutions, but that is because Glossary doesn't follow the MVC framework so I could not use a template override and I didn't feel like taking the time to add in some extra header code.

So, to setup the search field to clear it's default value when the mouse is placed there, you change one file.

Edit the file /components/com_glossary/v-classes/glossarySearchHTML.php 

                <!-- 1/25/2010 Modified the search field to clear default Value -->
    <!-- Gary A Mort, Gotham Informatics http://www.gothaminformatics.com -->
    <script type="text/javascript">
     var defaultSearch='{$this->show(_GLOSSARY_SEARCH_SEARCH)}';
     function clearSearch(searchField) {
       if (searchField.value==defaultSearch) searchField.value = ""; };     </script>
    <input type="text" name="glossarysearchword" id="glossarysearchword" value="$search" size="30" onFocus="clearSearch(this);" />
                <!-- end of Modifications -->               


Jan 25, 2010

We wanted to publish selected blogs to the frontpage.  We didn't want to write them as articles, since we wanted them to appear in the blog archive and we wanted to tag them. So we write a blog, then go into the article manage and switch on Show on Frontpage.

The Problem:  The readmore tag takes you to the full article rather than to a blog page, which has modules for archives and tag clouds. 

The Solution:
http://www.azrul.com/forum/index.php?f=14&t=5443&rb_v=viewtopic