Thursday, February 23, 2012

Joomla

Joes Recipe Component (JRC)

So this is my first officially released Joomla! 1.6 component. There are a few issues here and there but I'm making it available for changes/modifications/suggestions.

What is Joes Recipe Component?

About
Joes Recipe Component is a Recipe Manager for storing online recipes. It’s a Component (=plugin) for a Content Management System called Joomla! and can’t be used without Joomla!. It installs via the automatic Component and Module installer within the administrators panel of Joomla.

Features
  • Display a recipe book background image
  • Customise the stylesheet as a separate file to the template
  • Modify recipes in the Joomla! Admin Panel
  • Related recipes are recipes in the same category
  • Predefined tabs to auto select categories
What does it not do?
  • This component will not work “out-of-the-box” as you need to setup 7 predefined categories (see installation).
  • This component does not currently allow user upload though the front-end interface but the code is there to allow it at some point in an upgrade.
  • This component has not been tested in all possible environments and may not work within your setup.
  • This component is still in beta as not all functionality and possible permutations of input have been tested.
  • You will need to allocate at least a couple of days to integrate the component seamlessly into your template.
Please refer to this article for documentation and feedback.

The direct link to the manual is at: v0.3 User Manual PDF
 

Could not instantiate mail function

Quick Fix
Check that this error isn't resolved by just changing the Mailer (Joomla > Global Configuration > Mailer settings). Alternate between PHPmail and sendmail just to check this isn't the problem. If the problem is still there then check the below:

Tried both PHPmail and sendmail
So if this happens irrespective of whether I have PHP mail or sendmail set as the Mailer.
Notice
Could not execute: /usr/sbin/sendmail
Warning
Registration failed: An error was encountered while sending the registration email. A message has been sent to the administrator of this site.
Check you can send email from that server
ERROR:
Message not sent. Server replied:
Connection refused
111 Can't open SMTP stream.

One common problem people have is an incorrectly setup mail system. Here is a list of rules that must be followed:
   

Creating a Profile Plugin for Joomla 1.6

So there is other documentation out there. I'm basing most of this article on the official Joomla 1.6 documentation: http://docs.joomla.org/Creating_a_profile_plugin and I want to use an example that worked for me. Important: This is for Joomla version 1.6.x+.

Aim / Objective
  1. Add a field with a dropdown list.
  2. Add a button to upload an avatar (and sync with 3rd party avatar).
Not riveting stuff but something that all my clients want. Fortunately for me, I just created one plugin which I can install on any number of Joomla 1.6 sites and it does all this for me... Neat huh?

Folder
I'm going to shove all these files into a folder which I will then compress and install using the Joomla! CMS Extension Manager.

I'm going to call the folder "profile5" (without the double-quotes) and create a subfolder called "profiles".

So I should end up with the following file/directory structure:
     ./profile5
     ./profile5/profiles
Also copy one of those handy blank "index.html" files into each of these folders in case "directory listing" gets enabled on your server.I'm going to refer to the files to create as being in this folder.

   

Migrating from Joomla! 1.5 to 1.6

So this is fun. We've waited and waited and Joomla 1.6 is now stable... Exciting because this is not a simple 1.5.21 to 1.5.22 upgrade. But don't believe the drama across the web, the system introduces only a few new fundamental improvements (particularly Access Control and Groups) which actually only means some minor database alterations.

I've googled and yahood but still can't find a good way to upgrade my site from Joomla version 1.5 to 1.6 so as usual I find myself writing the first migration script. Why use a script? Well jUpgrade didn't work for me. This is how to manually migrate using a MySQL database management tool or PhpMyAdmin. I'm not too bothered about my own personal site, it's just the silly number of client websites I have to upgrade.

Before anyone posts the suggestion which they clearly copied and pasted from another site, I tried jUpgrade and this failed. Basically I've tried all major browsers in running the extension, and all that happens is that the jUpgrade starts and says " Preparing...". The sites I need to upgrade have third-party extensions unlike the how-to video...

DO NOT RUN THE BELOW -- IT IS STILL UNDERGOING TESTS!

This is to help me migrate Joomla 1.5 sites to Joomla 1.6 automatically. I will be needing the script to support several 3rd-party extensions as well.

DISCLAIMER:

  • I do not work for Joomla!
  • This script is for my own use.
  • Joomla! are in no way liable for this script.
  • You can copy this script as long as you specify a link to its source.
  • You can use this script as long as you don't hold me responsible for the results.
  • If you don't understand what this script is doing, you shouldn't be running it. Please ask someone who does.

   

RokDownloads Manager does not list files

Well this isn't a problem for those that don't use RokDownloads. The other day, I logged in to upload some new files and manage some of my downloadable files... Only to find that the Rokdownloads manager would not list any of my files!?!

I am in the middle of writing a component that will hopefully comprise bug-tracking and download management all in one.

Until then, I thought I'd STFW (google) this issue and post a solution considering that even RocketTheme don't want to share this solution unless we continue to pay for the subscription. Understandable to some extent, greedy in another.

So far the solution has been to open this with Internet Explorer with a cleared-cache. A little annoying in view how much I hate Internet Explorer and it's various versions which only work with particular systems... Do not uninstall/install other modules/components as I believe this is some issue with overloading or with the actual code and you can get to this file manager to work without changing your Joomla! setup.

Watch this space for when I find a definitive answer!
   

Page 1 of 4

Member Login

Joes Latest Members

A huge WELCOME goes to today's newest members:

  • Rovadisa
  • usardet
  • sirisoma
  • ezdating+in+germanyd2
Member Signups (Activated)
BeforeCurrentTrend
Day24é
Week3216=
Month201106ê
Year2,265307ê

Member Stats
87 guests are currently online.
1,101 members are still deciding.
There are 5,553 members in total.

Latest Comments

Paypal Donations

Want to support my work? Any donation is a blessing :c)