Tips for everything

.
Showing posts with label Joomla. Show all posts
Showing posts with label Joomla. Show all posts

Saturday, 8 May 2010

Make Microblog on Joomla

0 comments
Microblog on joomla? Why not .. they only need a cup of coffee and an appropriate component. After I searched and searched I finally found a component called idoblog, You can download it for free here.. IDoBlog according to my own is an additional feature of the component "Community Builder"So for the perfect menginsatallnya you must enable"Fashion legacy"On Joomla 1.5
You can also mengintregasikan Community builder with IDoBlog because it will be more interesting for you who have developed web.

Jump aja follow a few steps from me:
  1. Administrator login to your joomla website
 

  1. Click Menu "Extension > Install / uninstall > Upload Package File"And browes idoblog file that you downloaded earlier been

 


  1. Wait until the installation process successfully
  2. The next step is to do some settings on the component
  3. click "Component > IDoBlog > global configuration” 




  1. Please set a few configuration according to your tastes, this time I'll let the component settings TSB "default"
 




  1. Make a few additional menu IDoBlog, how clicks "Menus > Main Menu > News "To look like this

 



  1. to the page titled "blog" feature you select "Write to Blog"
  2. to the page titled "blog list" of features you select "View all blogs"
  3. to the page titled "my blog list" of features you select "View your blog", you can make your next .. all according to your tastes.

11. This is the page  "Blog" (our media in creating a blog) that was created earlier

Page "Blog List" would contain an entire list of blogs that have been made



The page "My Blog List" is a list of blogs that you write yourself

12. IDoBlog has been successfully added to your website joomla you ..
Read full story

Wednesday, 31 March 2010

Joomla Chrome and Template Overrides

0 comments
When you developing a template for a new site you often get stucked, and hit your head against the wall: the code outputted by Joomla sometime severely limits your ability to format the output as you wish. This is true not only for Joomla 1.0.*, but partially for the Joomla 1.5.*. Yes, partially, because you can do things here - and you can do a lot. Searching for a solution for a problem I had run into developing a template for one of my clients I fount this great tip of Jonathan on his blog on http://www.beckettwebdesign.com:
 

While working on a client project recently, I had to delve further than ever before into the templating engine within Joomla, and thought recording some tips may be beneficial both for the community and for myself - because I will most likely forget everything I learned.

The Problem - Overriding Joomla Module Styling

If you have looked at building your own Joomla templates, you may have tripped over this already. Overriding the HTML template for a module (such as mod_newsflash) only replaces the list part of the module. It doesn't replace the "container" - the heading, and surrounding HTML elements.
It turns out the containing HTML, or "wrapper" is called Chrome in Joomla terms, and can be overridden too - although in a different way than normal template overrides.

A Worked Example

First, we will imagine we have our own Joomla template, and that it has a position within it called "latest-news" - the code within the template may look like this:

Normally, we would just make a folder within our template, and make a modified version of the existing component view file. The core file would come from here...
/components/mod_newsflash/tmpl/_item.php
... and put the file (with your changes) in ...
/templates/[template_name]/html/mod_newsflash/_item.php
As discussed earlier though, this only changes the internal contents of the component - not it's title, or surrounding HTML elements.
To do that, we have to make or modify the "modules.php" file in the template html subdirectory. The "modules" file sets out the Chrome used by Joomla to wrap components with. All will become obvious once you see the new function we will write within the modules file.
We make the following text file (if it doesn't already exist)...
/templates/[template_name]/html/modules.php
... and within it, we write the following...
function modChrome_foo($module, &$params, &$attribs)
{
if (!empty ($module->content)) : ?>
showtitle) : ?>

title; ?>

content; ?>
} ?>
The trick here is the name of the function. Notice the "foo" bit? If you change the position in your original template file to have the style "foo" instead of "xhtml" as follows:

... and you suddenly have complete control over the wrapping of modules (through the modules.php file), as well as their content (through the template overrides).

All kudos are going to Jonathan who published the tip on his blog at  http://www.beckettwebdesign.com
Read full story

Monday, 29 March 2010

Register Globals-Joom la Tips

0 comments
Many of you probably had seen already the red warning in Joomla's admin interface, that you need to have the Register Globals set to "on", otherwise your site is exposed to security treats.
And also many of you haven't a clue how to do it...
So, let's see what an average webmaster can do about this problem.
Joomla! has always featured the ability to emulate PHP's register globals setting. However, controlling this feature has always been one of the more difficult aspects of configuring your Joomla! installation because it required manually editing a core file.
Namely you needed to edit the globals.php file from the Joomla root and change the line:
define( 'RG_EMULATION', 0 );
to
define( 'RG_EMULATION', 1 );
For Joomla! 1.0.13, all that is history. Joomla!'s register globals emulating controls have been moved into the Global Configuration settings to allow for fast and easy control over this feature. The advantages of this change are two-fold: 1) it will be easier to secure your Joomla! powered website and 2) disabling register globals emulation will help you identify some extensions that will not work in Joomla! 1.5.
But even if you're running earlier versions of Joomla you can avoid to edit a core Joomla file - which is not recommended anyway.
One of the simplest ways to do it is to set server side the corresponding variable to the needed value. This can be set by your webserver's administrator globally or you can set it locally, using local php.ini or .htaccess files, if your server allows that.
The needed line in the php.ini or .htacces file is simple, just insert:
php_flag magic_quotes_gpc on
in a standalone line.
If you're using Plesk, howewer, this may not work. Basically, if you are on a shared server that uses plesk, you will not be able to access the php.ini and generally you're not allowed to use local php.ini files. And, on Plesk by default, magic_quotes_gpc is set to off.
To set magic_quotes_gpc, you will have to edit your vhost.conf. The vhost.conf file will need to be located in the conf directory on your site's ftp. Inside the file you will need the following...

 php_admin_flag magic_quotes_gpc on
 
 
Don't forget to change the path in the Directory directive to your server's actual path to the web directory.
Once this has been placed into the conf directory, run from the command line...
# /usr/local/psa/admin/bin/websrvmng -a -v 
 
Once run, the last thing you will need to do is restart apache.
# service httpd restart
On other servers there may be easier ways to do it. If you're on one of Dreamhost's servers, for example, you have in the hosting control panel the chance to do some of needed settings. If your domain is running PHP4, that has register_globals set "on" by default, and you don't need to do anything.
If from some reason you need to, you can change your domain to use PHP5, which has register_globals turned off. To do this, go to the Hosting Control Panel -> Domains -> Manage Domain screen and click the "edit" link under the "Web Hosting" column. Modify the choice of PHP to use for your domain in the provided "pull down" selector and save the changes. After a few minutes, when the change is complete, you will be running PHP5 with register_globals "off". And you need to fix the situation using some of the above solutions.
Read full story

Monday, 22 March 2010

Exploring the Joomla Meta Tags

0 comments
Exploring the Joomla Meta Tags (part 1)



This is the first part of a series of blog posts exploring Joomla meta tags.
In this first post I'll look at what meta tags are and what they should be used for.
Future posts in the series will examine how to set up the meta tags by using the Joomla core, and with third-party SEF extensions.

What Are Meta Tags?

Meta tags are tags, or meta elements, that (mostly) contain information about the website or page which is not shown directly to the user.
This is what Wikipedia tells us about Meta Elements:
Meta elements are HTML or XHTML elements used to provide structured metadata about a Web page. Such elements must be placed as tags in the head section of an HTML or XHTML document. Meta elements can be used to specify page description, keywords and any other metadata not provided through the other head elements and attributes.
The meta element has four valid attributes: content, http-equiv, name and scheme. Of these, only content is a required attribute.

What Meta Tags Should I Use?

There are a lot of meta tags available, but I will focus on those I know will give you something back in search engine visibility. Or that provide an enhanced user experience.

Recent discoveries by myself and my colleagues indicate that less is more when it comes to meta tags and other elements of your web pages. Removing unnecessary code from your HTML will increase the amount of unique content in each of your pages. This is beneficial for SEO, as Google and the other search engines look for unique, relevant content. Thus, removing unnecessary meta elements from your pages is a good thing.
Removing whitespace from your HTML can also increase your chances of ranking higher in the search engines. Just take a look at the source code of the Google.com front page..
This means you should remove anything not 100% related to improving your site search engine visibility.

TITLE

The most important meta element is the TITLE tag. Not a META tag per se, it's often regarded as one. For the purpose of this post, I will include the title tag when talking about meta tags in general.

The tag is used as the title of the page in the browser. You can find it in the top bar of your browser window. It will also become the name of a bookmark to the page. Most importantly, it becomes the clickable link to the page in the search engines.<br><br>Personally, I think the TITLE tag should contain text which is as unique as possible. For my own site, I've decided not to include the name of the site, focusing on the actual article title, blog title etc. This makes the TITLE more unique.<br><br>The TITLE tag is used like this in the HTML:<br><br></p> <pre><title>The article title with Keyword included

Google regards the TITLE tag as very important. I guess this is partly because of the prominent position the TITLE gets in the Search Engine Result Pages (SERPs). A good title will contain the targeted keyword(s) or phrase(s). It will also be selling your page to the reader. This, in turn, makes the user click the link to read the rest of the article.
TITLE Tip:If you're selling products, include the price in the TITLE tag. This way, you pre-qualify the customer before they arrive at your site, increasing the change that they buy from you.

Description

The Description tag is also very important. A well formed description tag will more often than not be used as the descriptive text in the SERPs. Thus, it should contain your targeted keyword(s) or phrase(s) and sell your page effectively.

The tag may look like this:


The Description should not be more than 150 characters long. By keeping it this short, the full text will show in the SERPs. If you're really into it, you can craft the length of your words and sentences in such a way as to control where the line breaks when showing in the Google Search Engine Result page. That's actually quite neat.

Remember that the description tag is the actual sales copy the user will read before deciding to click your link or not. Make sure the copy is correct, contains your keywords and is enthusiastically selling your product or service. At least, it should be a clear and concise excerpt on what to find on the page.

It's very important to include your keywords in the description. The keywords will be bolded in the search results, making the actual keyword stand out to the user. Preferrably the keyword has been used at least two times in the description.

Keywords

Meta keywords are no longer important. Where they ever?
Matt Cutts, the Google guru, recently did a definite post on the subject. He concluded the keywords tag is not used by Google, and will most likely not be used in the future. Not exactly breaking news, but it's nevertheless good to get the information directly from the source.
There's only one reason to use the keywords meta tag field in Joomla. If you use the related articles tag or a cloud tag, these tags use the keywords meta tag field.

Author

I don't see a reason to use this tag at all. It has no positive effect on SEO.

Robots meta tag

Generator

The default Joomla generator tag is, in my opinion, not important at all. Also, it is one more thing giving away the fact that your site is made in Joomla. Removing the generator tag alone is not enough to hide that the site is built with Joomla, but it's a good start.

Next Post: How to Set Up Meta Tags Correctly in Joomla

Now you know more about the meta tags used in Joomla. In my next post, I will look at how you can set up meta tags correctly in the Joomla administration.
I will also look at some useful extensions that improve on how the Joomla core handles meta tags.


Read full story

Joomla Meta Tags- Google Webmaster Tools

0 comments


Joomla Meta Tags (part 4): Google Webmaster Tools

 

Diagnose Your Meta Tags

To see how the meta tags are rated by Google, choose your site and then 'Diagnostics'. Under this menu, you'll find 'HTML Suggestions'.
Google Webmaster Tools menu
The tool will give you a list of pages which have no meta description, duplicate descriptions, no title, duplicate titles or meaningless titles:
Google Webmaster Tools - HTML Suggestions
Using Google Webmaster Tools, it's very easy to spot any place in your site where you might have missed the title and/or description.
For instance, I spotted something I didn't think about earlier: When you have a section or category blog view, you might have enabled automatic pagination. The pages following the first one, will have titles like 'Page 2', 'Page 3' etc. That's not very helpful. I haven't found any way of changing these titles using the joomla core. With sh404SEF or another SEF extension, this is easily done.

Duplicate meta descriptions

As you can see from this example, the default meta description from the Joomla Global Configuration is used on 30 pages.
gwt-duplicate-meta-descriptions

Missing title tags

Some components are quite lacking in the meta tags department. And sometimes they create a lot of pages automatically, so it's hard to tell if all title tags are OK. The 'Missing title tags' page presents the culprits.
gwt-missing-title-tags

Duplicate title tags

As the title tag of the page is among the most important optimization factors of a page, you should make sure that they are all unique. As you can see - the search page on my site has 30 instances in the Google index. All with the same meta description. This is due to the fact that I use SuperBlogger from Joomlaworks to create tag search. Thus, there are permalinks from each tag to the search page, which gives Google a link to follow and a page to index.
However, there are no automatic way of creating unique meta description for the search page (that I know of, anyway). You need to enter these manually into sh404SEF.
gwt-duplicate-title-tags
Good luck working with meta tags in Joomla. If you have a large site, this task can be a large one. However, it's great fun seeing your site improve in the search engines after doing this work correctly.
Read full story
 
Blogging Tips Blogs - BlogCatalog Blog Directory

Followers

Zone Blogger © 2008 Business Ads Ready is Designed by Ipiet Supported by Tadpole's Notez