Create a Template for Joomla 1.5 – Getting Started

March 11th, 2010

Those who have looked over a Joomla 1.5 review likely already realize that this is quite a well established script for the making of websites with plenty of capabilities. While you can use the community builder Joomla 1.5 to create a membership site, a lot of times all we want is our own template over the basic installation. For those expanding the program with a Joomla 1.5 phpbb3 combination then having your own template can help you make your site flow together visually in a far more appealing way.

The basics of theme creation of Joomla are far more about graphic design and CSS experience than any sort of Joomla specific knowledge. There are Joomla 1.5 YouTube tutorials, but that is a bit of overkill when the proces is not that complex. Whether you’re working in English or Joomla 1.5 Spanish translation, it all functions the same way. Let’s check it out:

First off, head to your Joomla installation directory on your server and find the ‘templates’ directory. Inside there, create a ‘themetutorial’ sub directory. We’ll be using this to test out your knowledge and store what you’ve made with this tutorial.

Next, you’ve got to create some files. I use Notepad2 for this as it highlights both html and php in different color coding for easy and does not do troublesome word-wrapping the way the original Notepad does. In your ‘themetutorial’ directory create files named templateDetails.xml and index.php, as well as a folder named css in which you will create the template.css file. You don’t need to worry what’s in these files yet, you simply need their names and to have them in the right locations.

The index.php is the primary component of your template that organizes the positions of your module and gives the path to your stylesheet (CSS) file, or template.css as we named it earlier. The templateDetails.xml file is what will inform the Joomla script of what it needs to know about your template.

Now that this part is done, login to Joomla as admin and switch to your newly created theme. Don’t worry about whether or not it works at the moment because we will fix that soon. Go back to your index.php file on your server and let’s put this bit of code at the top:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”<?php echo $this->language; ?>” lang=”<?php echo $this->language; ?>” >
<head>
<jdoc:include type=”head” />
</head>

Then, the ‘body’ of index.php:

<body>

<jdoc:include type=”component” />

</body>
</html>

Save index.php and log out, then go to check your site after you have ensured that your ‘themetutorial’ template is the one currently used by the site. Since we’ve not changed much so far, you should see a painfully plain version of your site at this point which is functional, but incredibly basic. What you see now is what your site looks like with no stylings or mods, only articles.

Now, go back and open index.php again, placing this code between the <body> and </body> tags:

<div id=”container”>
<div id=”header”> <jdoc:include type=”modules” name=”top” /> </div>
<div id=”sidebar_left”> <jdoc:include type=”modules” name=”left” /> </div>
<div id=”content”> <jdoc:include type=”component” /></div>
<div id=”sidebar_right”class=”float”> <jdoc:include type=”modules” name=”right” /> </div>
<div id=”footer”> <jdoc:include type=”modules” name=”footer” /> </div>
</div>

This piece of code in our example above:

<jdoc:include type=”modules” name=”left” />

Is designed to tell Joomla to put the modules published in the left position. We’ve just put in left, right, header and footer (top and bottom) positions to your template. That “container” bit in the code we just inserted lets us set these basic dimensions for your template.

Of course, you will want to go far beyond this, but this is how you get started on making your own Joomla 1.5 theme. At this point, you will likely want to log back into Admin and set the ‘themetutorial’ theme back off until you are ready to do more work, but now you have a very solid understanding of way in which a Joomla theme is created.

Popularity: 1% [?]

Share and Enjoy:
  • E-mail this story to a friend!
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot

Using the Functions of WebCalendar

March 10th, 2010

Depending upon the type of site you run, you may find that one of the ways you can really expand your users’ experience is to create a calendar for events that will be happening either on your site itself or are related to the interest area of the site. Those who want a fully functional solution will find that they often need far more than the bare essentials if they are hoping to get some serious visitor interaction going on. Whether you broadcast materials that you want people to be aware of going up or you simply believe the that the much loved WebCalendar iCal solution could help you put up more content on your site that your users will love, WebCalendar should definitely be your first choice. After all, it is open source software which means you aren’t going to need to pay a dime to have it live and fully functional on your site.

You can take a look at the WebCalendar demo and you will see that it is not only meant as a single user calendar, but you can actually have an org WebCalendar that is usable by entire groups of people. This is a great way to either let your site’s staff post what they find to the calendar or even track work groups to make sure everything needed is completed on time. Since you can set up a separate account for each WebCalendar user, it is easier than ever to get the results you crave when you want to have a site that is hopping with new information so that it becomes a real feeding ground for your visitors. These are the types of users who come to rely on your site for its content and therefore come back over and over again to keep current on what is happening with your web site. These are the absolute golden resources when it comes to building a truly successful site that is going to stand the test of time and give you the ultimate in a solid fan base.

Those considering allowing multiple users to all have their own calendars you can do this by creating ‘global categories’ to point your visitors to a calendar while only displaying certain categories of the calendar to them at any given time. This layering effect allows certain users to see certain events, but does not display everything all at once since that would be entirely confusing. Also, by setting up multiple ‘Nonuser calendars’ you will be able to allow publicly accessible viewing of other user created calendars. With this option you can either link to a Nonuser calendar or alternately, set up a view which will contain one or more Nonuser calendars. This allows you, the site admin, greater flexibility when deciding how you want your users’ calendars to be shown on your site.

When you are wanting WebCalendar to blend in better with your site, customizing it is a definite option that’s easy to do. If you simply navigate to System Settings and set Custom Header to Yes before saving, you can then hit Edit and add what you want for a header. The header always shows up after the <body> tag, but prior to the display of any WebCalendar content. For a footer, simply add the same content right before the </body> tag.

There are many more customizations and functions to learn about with WebCalendar, but these get you started towards making your calendar work for your site.

Popularity: 1% [?]

Share and Enjoy:
  • E-mail this story to a friend!
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot

Need to Limit PHPlist Outgoing Emails? Here’s How to Do It

March 8th, 2010

Have you been looking for a way to build a newsletter or other email marketing campaign, but you want to stay within the rules so that you don’t get flagged as a spammer? This is very intelligent thinking and you will find that there are a lot of reasons why the PHPlist alternative works for many people who want to communicate with a large base of customers by email. As large as your email base may get, you don’t want to offend folks by overdoing things and that’s why an important PHPlist attribute ends up being the ability to throttle (or limit) your email sending so that you don’t get yourself banned either from your webhost or anyone else on the internet in this day and age when many are so quick to call an email marketer a spammer.

If other emailing scripts have given you grief, why not let PHPlist import your existing customers and handle the work for you? The wide variety of options you have with the PHPlist attributes available to you are going to allow you a much finer level of control than you will find with other scripts and that is safe for you, plus it’s less obnoxious for your web host and customers, too. Always check with your host for their rules on mass emails to make sure you never violate any rules.

Let’s take a look at how you can limit the rate of speed at which your emails are sent out.

First, find this block of code within the config.php file of your PHPlist installation, using a text editor such as Notepad2:

# batch processing
# if you are on a shared host, it will probably be appreciated if you don’t send
# out loads of emails in one go. To do this, you can configure batch processing.
# Please note, the following two values can be overridden by your ISP by using
# a server wide configuration. So if you notice these values to be different
# in reality, that may be the case

# define the amount of emails you want to send per period. If 0, batch processing
# is disabled and messages are sent out as fast as possible
define(”MAILQUEUE_BATCH_SIZE”,0);

# define the length of one batch processing period, in seconds (3600 is an hour)
define(”MAILQUEUE_BATCH_PERIOD”,3600);

# to avoid overloading the server that sends your email, you can add a little delay
# between messages that will spread the load of sending
# you will need to find a good value for your own server
# value is in seconds (or you can play with the autothrottle below)
define(’MAILQUEUE_THROTTLE’,0);

Here you can see how easy it is to set up your limitations. All you need to do is consider what a respectful size of your MAILQUEUE BATCH SIZE might be and change that zero to a number such as 100 or even 500. Again, your web hosting provider will have solid advice for you in this regard so always ask them first.

When you define MAILQUEUE BATCH PERIOD, keep in mind that this is in seconds. The default is 3,600 seconds (ie, an hour) so that means one batch will get sent out each hour until all batches have been sent. Your batch size was configured in the section we just covered.

Finally, MAILQUEUE THROTTLE should be set to a number above zero. If you put 20 in this section, it means emails will be sent out at 20 second intervals. Check with your host and remember, the reason why you are trying to remain respectful is that you do not want to bog down the server for other people’s accounts that might be on the same server as you are.

This is all you need to do to get PHPlist to work for you at the rate you desire!

Popularity: 1% [?]

Share and Enjoy:
  • E-mail this story to a friend!
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot

Want to Create an Image Gallery in Siteframe?

March 6th, 2010

If you have been thinking of setting up a website and really wanted to be able to have a more community driven site, then Siteframe is definitely a choice you need to look into. The Siteframe CMS (Content Management System) is much more heavily geared to sites with a lot of users who want to set up their own blogs, send e-mails to each other within the system, and have their own mini sites within your website. It’s a truly light weight CMS that allows you, as administrator, to create the kind of experiences for your users that is going to seriously increase the size of your web community. With Siteframe templates, website owners can customize their sites to look any way they please.

Of course, an image gallery is another important bit for any serious web community and you can do this easily with Siteframe. They say a picture’s worth a thousand words, so this is a great way to get people interested in your site.

The process of setting up an image gallery in this CMS is extremely simple. Let’s take a look at how it’s done:

First things first, meaning you need to log into your Siteframe admin panel using your customary password. Once you’re in, click on the ‘New Folder’ link in the navigation panel. Use that handy drop down box to select ‘Image Gallery’. Once you’ve got that, click ‘Submit’.

Once you’ve submitted your choice, you’ll be taken to a page listing the options that you have when it comes to an image gallery done Siteframe style. As mentioned earlier in this article, this is a very light weight CMS and as such, it is extremely simple to create your gallery, but at the same time you have plenty of options. You can even have these galleries set up in such a way that each of the users on your site can create their own to share with others.

Here is a rundown of the basic options you have when it comes to a Siteframe image gallery:

Folder Name – As you would expect, this is where you name your image gallery. Try for something descriptive that explains what the gallery’s images should be organized around, such as a theme or a specific type of photo.

Description – This is where you describe the gallery and keep in mind that search engines are going to be reading this text so if you have a certain type of viewer you want to interest, cater to the way they would search for your images. Be sure this description clearly states the sort of images you want uploaded to this gallery if you plan to allow users to submit their own images.

Sort Documents – You’ve got a lot of options here in how the images get sorted. The drop down box will let you sort them by date they were uploaded (so you could, for example, display the newest first) or by their titles, etc.

Group Items – This option allows you to have your images grouped according to the way you’ve set them to be sorted. Handy for creating categories of images.

Folder Pages – With this, you can show your folders’ contents as pages.

Public Folder – This is where you decide if you are going to allow your site’s users to upload their own images to this particular gallery.

Max Submissions Per User – You simply enter the number of the maximum images you’ll allow any given user to submit. This helps you avoid getting your gallery stuffed by a trouble making user before you have a chance to sort things out.

Allow Rating – Users can rate this particular gallery if you check this option.

Allow Comments – Do you want users to be able to comment on this gallery? If so, then check this option.

So now you know how to set up your own image gallery using the ever flexible community building CMS, Siteframe!

Popularity: 1% [?]

Share and Enjoy:
  • E-mail this story to a friend!
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot

The Easy Way to Install Support Services Manager

February 27th, 2010

Nearly all business websites these days have some form of support system set up to serve their customers better. Those that have not yet begun to offer support services with their products are definitely going to need to step out of the Dark Ages of the web and into this new era of extremely high customer service expectations. Since those who do business expect to have access to help nearly 24 hours a day, it is a sound business strategy to consider what a script such as Support Services Manager can offer your company. Whether you operate as an ecommerce site offering products or a service oriented business where customers might need technical support, your business can definitely please its customers better with the right kind of service level.

In today’s digital economy, meeting customer expectations is extremely important because with so many other choices out there, you need to give them a very solid reason to choose your site over all of the others available to them with a single click. If Google thinks this way, it seems that the strategy might be a wise one considering how far it’s brought that corporate juggernaut so far. When you install a script like Support Service Manager, you really are upgrading your business site and that’s going to give you sales and customer retention results you will be thrilled with. Once you find out how easy it is to install this online service solution, you won’t want to waste any time getting it onto your server.

First off, while you can install the Support Services Manager script without it, Fantastico makes the whole process much easier. These instructions are going to show you how to get the script up and running this way because it is the method most users prefer. That means you will want to log into your web hosting account, go into Fantastico and select Support Services Manager from the list along the left hand side. The script is normally in the Customer Relationship category.

After this, simply click the New Installation link and choose which of your domains you would like to install the Support Services Manager script. Below this, you will see a box asking you to type in a directory. You have two options here. You can either put the script in its own directory or you can leave it blank to have the script placed in your root directory. There is no difference in script performance no matter which way you choose, but some people prefer to have things organized a certain way so they may prefer to have the script in a specific directory they have already established through cpanel or their ftp client.

Next, your user name and password need to be input. Many people choose ‘admin’ as their user name, but you should be aware that your level of security will be stronger if you choose something harder for a potential intruder to guess. Under the Base Configuration you will input your site name which can be it’s dot com address or the name of the site itself, such as “Green Flower Shop”.

Finally, click Install Support Services Manager and you are good to go! After a brief configuration process that allows you to specify how you want to script to run, you will have your very own customer service tool running live on your site

Popularity: 1% [?]

Share and Enjoy:
  • E-mail this story to a friend!
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot