K2 Items disappear
Basically you've woken up this morning, visited your website, and all your K2 articles are gone !!!!
If you login to your Joomla! administration panel (back-end) and look under k2 items, you should get the following error:
Warning: Invalid argument supplied for foreach() in/home/public_html/administrator/components/com_k2/views/items/tmpl/default.php on line 80
How to Install AlertPay Payment Method for Virtuemart
As the instructions to installing a new payment module in Virtuemart for Joomla! I've done this video showing how I apply it to my demo site.
Invalid arguments passed in router.php on line 325
Thought I'd put this error in here and how I fixed it. Basically because firstly I don't want to have to create an account on someone else's forum just to post my answer and secondly because my solution is a "cowboy fix" rather than the other intelligent solutions on the web.
The issue was that I was building my first Joomla 1.5 component and getting the below error if I put in a menu:
Warning: implode() [function.implode]: Invalid arguments passed in /home/.../public_html/includes/router.php on line 325
Where "..." is the path on your server.
If you're writing a component, then ask yourself if you really need the router.php file. Mine was generated by "http://www.notwebdesign.com/joomla-component-creator/". I don't need one because although I rely on data submitted through the forms ($_GET array), all the submitted data on the front-end of my component is controlled and not customizable.
Module Revolver Maps
Introduction
Well I thought I'd write about it as it is my very first ever Joomla module. Not just the fact that it's my very first but also because of the surprising popularity. It has been featured as a "New & Noteworthy" extension on the front page of the Joomla.org Extensions website for about a week now. There have been several positive reviews but more astonishingly over 1,000 downloads in 10 days! May not be much to some people but for my first Joomla extension, I've been quite impressed.
This module doesn't really need more documentation as it was created for fun for a friend. To be quite honest,
- you could get the generated code that revolvermaps.com give you,
- go into your Joomla admin panel,
- create a custom module,
- make sure you click on "Source" (so that it isn't in WYSIWYG mode) and
- paste the code.
This extension just does all that for you in its install and you just play with the parameters.
I felt that if I make this an article, then anonymous users can leave a comment. If you are a registered Joomla.org user, you can go to "http://extensions.joomla.org/extensions/site-management/visitor-maps/13254" and leave official reviews and comments there as well.
How to make your Joomla site use SEO friendly urls
02 April 2010 — Basically so that you can set all those SEO settings in the global configuration tab to YES.
Note: you need the permissions to rename the file ("htaccess.txt" to ".htaccess" in your website root folder). You'll need ftp access or a file manager with all your website files in). Do not continue if you ONLY have control of the Joomla CMS.

Watch the youtube video below which shows you how to do it
Joomla - How to preview module positions in a given template
02 April 2010 — I was asked "... how do you find out where the positions are, like USER 1 and TAB 4 etc..."
To open a window or "browser tab" with this preview type the following:
http://www.yourdomainname.com/index.php?tp=1&template=thetemplatename
- where yourdomainname.com is your domain address
- and thetemplatename is the name of the template (without spaces).
Project Plan for Freelance Website
I could apply the PRINCE2 (Projects in a controlled environment) methodology to website projects but most people find this overwhelming. It's in business techno babble and I get asked what does this mean in stage 1? And this in stage 2? (There are over 100 stages)...
Below is my template project initiation plan (project mandate?) for my freelance website development process. It may look clean, clear, obvious... it's just an outline of what I picture as a perfect project; unfortunately the first 2 pages tend to be completed in just over a day and the rest of the time is spent faffing around with design and functionality. We use the ProjectFork extension to manage projects, it helps during times when we can't see face-to-face with colleagues or clients.
Anti-Spam override for all submitted data
Are you getting a lot of spam, or junk messages sent via your Joomla site?
I know certain components of Joomla let you put banned words but I know of even more that don't. If you find all your forms need extra plugins and captchas (such as JezRecaptcha), then the website security isn't amazing. I used to have Captcha on my K2 by Joomlaworks but if you did the sound version, it didn't work properly. I found that sometimes the captcha wouldn't even match what you typed and what it displayed!!!
I have written this article to be another one of those programmer's tweaks. This is quite a simple fix and I will hopefully be able to keep it simple for non-programmers. The tweak below will stop any of your pages submitting content containing your banned words.
Change default order of weblinks
It took a few google searches until I could find out how to change the default weblinks order. A lot of websites showed how to do this via the admin back-end panel in the advanced configuration... I can't see this panel, there is no advanced parameters under a weblinks category.
The issue is that suppose a menuitem links to a category of weblinks, the default sort order (as in the first time you view the page) is the order in the admin panel (not even by most recent). I'm going to show you how to do this by title in ascending order without installing any 3rd-party extension as well as by any of the database values used by each link.


