|
Aug 18
2010
|
Making Simple Joomla ModulesPosted by kelchuk |
1. XML manifest file 2. PHP file (main controller file) 3. 1 Dummy HTML file
XML File
The XML manifest file contains the parameters and installation instructions for the module. This file must have the same name as the folder which contains all module files; such as mod_popper.
HTML File
This file is just a line of code to make sure others cannot see files within this directory, but it does function with the module itself.
PHP File
The PHP file is the controller file like it was designated in the parameters in the XML file. This file could be something like a self-checking form or another program. Alternatively,
More instructions can be found here:
Build a Simple Module
Alternatively, all modules (except custom modules made in Administrator) show their files in the modules folder. If you had more than one template, a filelist could be made in the XML manifest file.
NEXT STEP
If the module is to have a list of templates or a template path, this code would be added to the php file:
require(JModuleHelper::getLayoutPath('mod_module_name'));
The folder would be called tmpl and would have the default.php file and images for the template. These file names would be added to the xml file.
|
Aug 18
2010
|
Custom Forms with JoomlaPosted by bohemia |
form action="index.php?option=com_content&view=article&id=206&<?php echo date('l jS \of F Y h:i:s A');?>" method="POST"
However, if you made the form in an article using Sourcerer tags, the page would be cached. Therefore, if you would use this if page caching is 'off' or something very low like 1 minute. If the cache was set to 1 minute, only the first email in the next 60 seconds will be received and the next email after 60 seconds would be received.
Now, although this works fine, there in another rather simple option to use. That option is to make a custom module (they are not cached unless specified to do so). You can make a Joomla module here.
Now, you know how to use forms within Joomla reusing code from your repository. If you want to add Javascript, you can also do so in the article, if the Sourcerer plugin is set to accept Javascript in Articles (normally, it is by default). You can make sure the user fills out the form properly with error checking like "Please make sure your email address uses @" or "Please make sure your phone number is exactly 10 digits with or without hyphens". Validation like this will almost certainly stop all people who get a kick out of annoying people with useless requests. Even if the person goes through the trouble at this point to send a bogus email, your simple deletion is 1/10 the time it would take to fill out the form properly. If the thank you message contained the user's IP address that could help deter future harrassment. Finally, the contact page could always contain a little php to deny the ip addresses you don't want to receive mail from and redirect them elsewhere.
|
Dec 14
2009
|
To make this unclear, most companies have their own specifications for web design and web deveoper positions. The web designer may be expected to hand-code and know CSS and PHP.
And since there are so many platforms for which one can use to build an elaborate website, the web developer could be anything from someone who hand codes in XHTML /CSS and PHP to someone who is flexible and can be efficient using PHP / MYSQL, Joomla, Drupal, Ruby On Rails, XOOPs, DotNetNuke and .NET.
|
Dec 13
2009
|
Mobile Web SurfingPosted by bohemia |
Is that enough traffic to build another website just for mobile viewers?
|
Nov 06
2009
|
Sound Capturing With AudacityPosted by bohemia |
Sound capturing is taking the sounds that are being played on your computer, and turing them into wav or mp3 files.
A simple and free method to capture sound and audio is to use the software Audacity. The downloads are free from Audacity's website. The downloads are straightforward. But, setting it up could be short and sweet or it could take a few hours. It will need to be custom configured so that sound will sound perfect when it is captured. To make an example of these past statements, I installed Audacity on two partitions of the same computer; Windows Vista and Windows XP. It took 4 hours to install Audacity on my Windows Vista partition while it took 25 minutes to be recording perfectly in Windows XP. The differences were that I had to install and test various encoders and more. It was also quirky. But, with XP, I only had to install, try a couple test configurations, and it was good to go. Nevertheless, it is a fantastic product that allows you to record that song you want, especially your own rare tracks that may be on Youtube for which you lost your mp3 file, but not available freely on Limewire or other download services.
|
Nov 06
2009
|
In recent years, the monitor size has grown and grown. Now, when you go to your local electronics shop you find monitors that look larger than big screen tvs.
Years ago, this would have been a nightmare to web designer / web developer. However, nowadays, browsers like Firefox 3.x and Internet Explorer 8 do a fantastic job at holding decent resolution when someone zooms in on the webpage. In Explorer, the commands are Page >Zoom >Pick a Setting and in Firefox View >Zoom >Pick a Setting.
Therefore, designing pages these days to look proper in various computers is quite a challenge. But, still, it normally is broken down into two parts. The severe minorities that use phones, Blackberrys, Iphones to surf the web and those that use a laptop and a desktop. The portable devices normally are less of a concern because browsing the net with those devices and typing is a real pain and an eyesore. I bought a top of the line phone for this reason and have downgraded its usage only for checking email and perhaps MSN messaging on the fly. Otherwise, it is totally the wrong tool for web surfing unless you are into the social media thing that caters to chatty this and chatty that. Anyone that is dedicated to surfing would use a laptop or desktop. The extra price is worth every penny.
Catering to the larger screens is still quite a mission. What size should that website be? Well, a safe size is to fit tight into 15" monitor and fit into everything above. You could go narrower. As far as length goes, if the top half looks good in everything (like a well figured woman), the fact that the bottom lingers a little off the page and must be seen by scrolling is fine; at least in terms of style. A site could be made short in length if you want all the page to fit into any monitor. However, the short page will look a little tiny to the big spender with the large monitor. This is really a matter of choice at this point, but after looking at laptop sizes in the stores over the last two years, the sizes 15-17-inch still seems to be the most common sizes. A laptop larger than 17-inches is a little bulky to carry around. Consumers have been quite happy with the common sizes that have tendd to dominate the market in 2009.
|
Nov 06
2009
|
Generally speaking, writing more words allows for more phrases to be picked up by the search engines. Often enough, these phrases can exist in the content without being listed in the title. However, keywords and phrases in the title will get better rankings than those that are nested in the content.
In a nutshell, more is not always better in the article itself, but more articles is always better. The simplest way to achieve this is to have a blog or a content management system with all sorts of categories, sections and content.
Even though small articles and blog posts can be very effective, quality will always count. People are not dumb. If they are smart enough or have been lucky enough to have the opportunity to read, they will normally know the difference between the good writing and the bad. Also, your writing on your website will be a maker or breaker for repeat visitors.
|
Nov 06
2009
|
Why Should I Have A BlogPosted by bohemia |
A blog is an invaluable resource for any website that is concerned with SEO. A blog is like writing freelance articles that will become titled, keyworded and indexed with search engines; especially the most popular one 'Google'. Unlike other menus and content management, a blog allows unrelated and related articles to be displayed in an order; such as the time they are made. For example, a blog for an autobody shop may have articles about car care, car maintenance, car painting, how to notice bad drivers, and have articles about trends in car painting.
Although the list may not have articles all about the same subject, it will not be noticeable when a Google search is performed. When someone searches on the search engine for a particular subject 'like maintaining new car paint', the page that shows up in the organic searches will only display the relevant page the person was seeking. Although the subject matter can be rather unrelated, it should fit in well with your website so that you land the surfer there and have a website that will keep his interest. If the topic was way out of whack like 'Pubs in Vancouver' on a website about horse grooming the reader may have a glance, see what the website is all about, then high tail it elsewhere.
|
Nov 06
2009
|
Custom Content Coding in JoomlaPosted by bohemia |
With Jumi, custom content can be done with the various common coding scripts and languages; XHTML, CSS, PHP, CGIs and Javascript. With Jumi, you can take a page designed in a Photoshop PSD file and convert it to XHTML / CSS. Then, these files can be inserted into a directory. With the Joomla article manager, a new page can be made with Jumi for which will contain these files. When making the appropriate file with Photoshop, it should be sized properly to fit inside the page.
This matter about using custom coding is often discussed in many forums regarding Joomla vs Drupal. But, both can be used to add custom precise coding to any content page with proper coding and tagging. As far as ease goes, the timeframe to work with Jumi and custom tags from the login would be almost equal, and definitely within seconds. With Drupal you just add the php whereas with Jumi you upload a php file and write a tag so that it will run on the desired page.
|
Nov 05
2009
|
Generating Revenue On Your WebsitePosted by bohemia |
There are various methods to generate revenue on your website.
1) Sell a product or service
2) Affiliate Advertising
Google Adsense
A simple form of affiliate advertising is to use Google Adsense. With Google Adsense, you sign up with Google and allow spots on your web pages for Google ASdsense. Then, when someone clicks an adword, Google records the click and pays you a percentage. Affiliate ads are more profitable when the keywords are pricey. Pricey keywords come with competetive Google Adword bids, unlike inexpensive adwords like '15th Century Volcano Explosions' or 'Jonestown was a peaceful place'.
Other Affiliate Ads
Other Affilate ads can be done with companies who allow you to place their banner on your website and track the clicks coming from your website. Then, if the click resulted in a sale, you receive a percentage of that sale.
The percentages can run low and as high as 30% or more. Basically, if your website can generate plenty of traffic, you can be a salesman without having to do anything more than opening the door to the company. The company makes the sale and handles all of the tech support.
An example of affiliate advertising would be having a travel website and using Expedia's affilate program for flight booking.
|
Nov 05
2009
|
Business Card WebsitePosted by bohemia |
A Business card website is the fastest way to make your presence on the web. A typical business card website could consist of one splash page with a logo, text, images and contact information. In other words, it would look a basic homepage like many websites.
Normally,business card websites are very fast to build because they have such limited content and do not link to other pages. These sites can be made very easily in any html editor or built in Photoshop and converted from a PSD file to compliant HTML / CSS.
|
Aug 24
2009
|
Creating Custom Drupal ThemesPosted by kelchuk |
The video below shows how to make a custom Drupal Template with Adobe Photoshop.
|
Aug 09
2009
|
Every CMS has procedures for installing an add-on componenet. If installation problems arise it could be that an XML file is not provided or named properly, the zip file is too large or the zip file needs to be unzipped first before installing more zip files.
If the file is too large, it can be installed manually in some cases. For Joomla, you unzip the plugin, module, component or package of any combination and move it into a temporary directory. Then you install it from that directory.
|
Aug 09
2009
|
Joomla, Drupal and Wordpress have add-ons that can be used to create websites that will do specific functions; like add a directory, classified ads, and streaming audio. In Joomla, they are called components, modules and plugins. In Drupal, they are called modules. In Wordpress, they are widgets.
Here are some features that can be installed in Joomla,Wordpress and Drupal to create a custom need:
* eCommerce Shops
* Directory systems
* Event calendars
* News system
* Document management systems
* Ads and Affiliates
* Statistics tools
* Polls
* Surveys
* Video streaming
* Youtube video sharing
* Flash banners
* Google maps
* Slideshows and galleries
* Subscription systems
* Online communities
* Blogs
* Forums
* Chat rooms
* Wikis
* Online surveys
* Custom forms
* Real estate listings
* Job listings/Job boards
* RSS readers
* Sitemaps
* SEO/SEF extensions
* FTP rooms
... and many many more!
After the component, module, plugin or widget is installed, it can be configured in the CMS backend to behave as desired. After that point (more often than not), the add-on must need further PHP and CSS editing so that it works as desired.
|
Jul 25
2009
|
PHP, ASP, ASP.NET and JoomlaPosted by kelchuk |
You can read blogs, documentation and stats about the competing frameworks to determine which technologies to use, or, you can see what others are actually using.
The following images compare ASP, ASP.net, PHP and Joomla. These three comparisons show that although there is a decrease in PHP (which is what Joomla and Drupal are written with) there is an overall upward trend with Joomla compared to others which look as though they are slowly decreasing. Although not shown, Drupal and Wordpress also show an increase to their usage against asp.net. These results are as of July 26/09 from Google Trends. We have all learned to use and trust Google, so are these stats about as accurate as we can get?
Although it looks like PHP is on the decrease, the question would be why, when the big 3; Joomla, Wordpress and Drupal are on the rise. Could that be an obsolescence in other PHP scripts that had once been popular?
ASP.NET vs JOOMLA
ASP vs PHP
PHP vs ASP.NET

All images are from Google trends
United Specialty Products Company





