Archive | joomla

Fix Ie6 template issue by differentiating the templates for IE6s on Joomla

Fix Ie6 template issue by differentiating the templates for IE6s on Joomla

We recently Created a website on joomla and chose a template that we really loved it and it was and still is so create, having great color to show,it used mega menu and so many other things that the new web technology can offer.but the problem that I figured out that i used my old computer to see how it is showing up on there that is using windows xp with internet Explorer 6.The site would came up with all the styles broken and a warning message that Internet Explorer couldn’t render the page properly.I told this problem to my colleague that this problem will make about 20% of our visitors inaccessible from our page and that will make a huge loss of customers of us,20% is not  a low amount as we have about daily 80 visitors a day, so that will become a huge amount of lose of visitors per month.but my colleague refused to change this joomla template that is really so great and beautiful

I thought what if I create an if statement so that if the visitors browser is something other than firefox or their internet explorer version is so less than version 7 we could show them a different theme that can fit their browser and would show everything correct.

I did the research and went to joomla.org then went to the extension and searched about that and finally i found a plugin called Browser assign template.

i downloaded that from its website and installed it.then I went to plugins to have it enabled. in there it had 3 options for firefox IE6 and IPhone so we can provide different templates name that we have already installed on our joomla and as a visitor came with different browsers, they could visit our website in different templates that those can show up the right way that visitors are excepted.

Thanks

voshka

Posted in joomla0 Comments

Free RTL Joomla Templates for Persian(farsi) or Arabic Languages

You can easyly Download these RTL Joomla Templates (Theme) by easyly clicking the links bellow:

http://maroonhost.com/joomla-template/maroonhost-coffee-break.zip
http://maroonhost.com/joomla-template/maroonhost-sg-for-sale-j15-102.zip
http://maroonhost.com/joomla-template/maroonhost-fashion-look.zip
http://maroonhost.com/joomla-template/maroonhost-study.zip
http://maroonhost.com/joomla-template/maroonhost-hotel.zip
http://maroonhost.com/joomla-template/maroonhost-school-time.zip
http://maroonhost.com/joomla-template/maroonhost-jungle.zip
http://maroonhost.com/joomla-template/maroonhost-flight-simulator-template.zip

Posted in Joomla Templates0 Comments

Basic Joomla 1.5 Search Engine Optimization(SEO)

Joomla 1.5 by default is not well Search Engine Optimized and it has its reason that because they may have guessed that not every server has an apache with all the mods needed such as mod_rewrite installed

the SEO tip for Joomla that I want to talk about you today is very very basic and is the first step for this creat CMS and will take you just only 1 to 2 and at most 5 miniutes to do

so lets get started.
first you should go to the administrator panel where you administrator the whole of your Joomla site with the super administrator access
then go to the global configration
in it you can see a section called “Metadata Settings”, ther you must edit the “Global Site Meta Description” which is the description of your main site description
but there is somthing to keep in mind that this description will be in the head of all of the pages that doesn’t have any descriptions that will produce duplicate content
and also you could edit the “Global Site Meta Keywords ” but google will no longer have the meta keyword in its seach algorithms so it isn’t necessary but for other search engines like yahoo liek the meta descriptins dont forget to avoid duplicate content by having the meta descriptions for all the pages
the other basis is the url and navigation that by default tha I mentioned earlier joomla uses its routing structure in its linking structure so that every server even without mod_reqrite could be able to hanlde the Joomla site but if you have mod_rewrite on your server it worth to config it to use it and have your linking urls shorter and easy to unerstand and maek it static urls
to accomplish this in the right hand side of the global configration there is a section named the “SEO Settings”
on that check all of the “Search Engine Friendly URLs”,” Use Apache mod_rewrite” and “Add suffix to URLs” that must be check marked
but there is still one step ahead to make it up and runnign
you should go to the root directory of your joomla site and search for the “htaccess.txt” and change that to “.htaccess”
so you are done and the linking structure will depend on what you have creaated for your aliases in creating your links
so if you created a link with the alias of “my-seo-url” then your link will become “/my-seo-url.html”
I will tell you the reason and benefit and also complex optimizations for joomla and also general Search Engine Optimization in a further details in future

Posted in joomla0 Comments

creating beautiful image gallery for joomla

I have worked with 2(two) kinds of image gallery component which they have created for joomla

1-phoca gallery

2-datso gallery

the phoca gallery is a extremely great one but the thing is that it has so much bugs for having a search engine optimize websites

the images will be displayed in lightbox that is so beautiful  and is fit for the one who dont want to have incoming links from search eningines such as google

the other bug is that stil they haven’t provided a good search plugin to search through the specific image you are trying to find among the images

2-second is datso gallery that is abit diffrentre from what you would see in phoca gallery in structure

tha bility to have navigation for all the images with refreshing the pages is a great idea becasue t will create a page view so that the money that the search engine marketeres such as adsense or bidvertisers or yahoo search engine marketing and so on would become much more, and also the search plugib is integrated in it so that it doesn’t that bug

but the unfortunate thing is that it is not free like phoca gallery and you should pay for it

i prefer datso gallery as it is not free but it is great in what I want from a gallery

Posted in joomla0 Comments

importing and exporting virtuemart products using excel and xml

You need MS Office Excel 2003 or 2007 to do this. I used 2007, and the guide will be based on that. A good idea would be a program that can handle the XML file so you can take a look at it if you like, but not necessary though.

1: First I created an export template in CSV Improved (v0,9 stable)

1.1: The Export Template configuration: Chose “export” in the bullet list.

1.1 1: Export options tab: Type => Product export, Export type => XML, Website => CSV Improved, blank, All, All, Both, blank.

1.1.2: System limits tab: unchanged

1.1.3: General settings: Name=> ” The name of your choice”_export

2: Then I created an import template in CSV Improved (v0,9 stable)

2.1: The Import Template configuration: Chose “import” in the bullet list.

2.1.1: Import options tab: Type=> Product import, Use column headers as configuration => “checked”, Overwrite existing data => “Checked”, Everything else is “unchecked”

2.1.2: System limits tab: unchanged

2.1.3: General settings: Name=> ” The name of your choice”_import, Field Delimiter => £, Text Delimiter => $, everything els is unchanged

3: Then set up the fields you require in both the export and import template, the fields should be the same at the same position in both the templates.

4: After that I went to the backend of virtue mart and created one category in 2 levels. (Books) => (Flowers)

5: Then i created 2 products in the flowers category, product 1 and product 2, and filled in the appropriate information. (should be at least the same as the fields created and mapped in both the import and export template)

6: After that i went back to CSV Improved and made an export of that information just crated. The file in this case is an XML file was saved on a known location.

7: Open MS Office Excel 2007 (2003), and press the question mark up to the right corner. Type the following question “Create XML file with excel” (skapa xml filer). then follow step 1 in that guide. Below is a direct link.

7.1: The guide http://office.microsoft.com/search/redir.aspx?AssetID=XT011863191053&CTT=5&Origin=HA102635091053&app=EXCEL&ver=12

Instructions
To install this download:

Download the file by clicking the Download link (above) and saving the file to your hard disk.
Double-click the OfficeExcel2003XMLToolsAddin.exe program file on your hard disk to start the setup program.
Follow the instructions on the screen to complete the installation.

Instructions for use:
To install the add-in, complete the following steps:
Start Excel.
On the Tools menu, click Add-Ins.
Click on the go button near manage and make sure Excel addins has been selected.
Click the Browse button and navigate to the XmlTools.xla file.
Select it and then click OK.
Click Yes to any file copy or overwrite prompts.
Verify the XmlTools box is selected. Note To remove this add-in, repeat this procedure, but clear the XMLTools box.
Click OK to use the add-in. A top-level menu entry, XML Tools should be present.

8: Check that you have the “add-ware”  or what it is called in the “Added”? tab in Excel. See pic attached to this guide below.

9: Go to step 3 in the guide (7: [This means that I refer to the guide, and the guide is mentioned in step 7 in this walk through]) and check the “Developer” Tab to compare the functions just unlocked.

10: Now import the XML file you just created from your VM shop, using the import button, shown in the guide (9: )

11: Excel ask you now to create a scheme, press yes (ok).

12: You have now created a Excel sheet that can export XML files on you computer.

13: Fill in the products information in the cells, copy pate or whatever and make an export. (the same way you did the import, in the excel sheet)

14: Go to your CSV Improved component and import you newly created XML file in to the VM structure, using you own created import template.

Posted in joomla3 Comments

make virtuemart rtl

for having a rtl virtuemart you should make 2 steps

1-first is to have your admin language to have your customized rtl language

2- second is to copy the virtuemart language pack that contains rtl and is provided in virtuemart official website available for download

if you change the default language of the admin area of joomla to that custom rtl language then the virtue mart will automaticly changed to have that specific language providex in the language pack of virtuemart that is coresponded to the language defined in administrator language

if you had any more question do not hesitate to ask this by posting a comment

I would be thankfull to answer

thanks

Posted in joomla0 Comments

Fixing tabs in virtuemart forms for RTL languages

but now I find a temporary fix for it and I publish it here for use of other member

After clean install of joomla and virtuemart, if you switch the language to a RTL language all tabs on virtuemart forms will disappear.
( tab in the entrance page “control panel|statistics”, new product tabs and so on)

I have checked it with joomla 1.5.10 and joomla 1.5.14 with the latest version of virtuemart 1.1.3

I think the problem is with the script in “vmTabPanel” class definition.
I change the code and set the text direction of “startPane” function manually to “ltr” later in the same class I changed the text direction of “startTab” function back to current language direction (eg. ‘rtl’) this changes apparently solved the problem and tabs reappeared again, although they are aligned to the left of the screen but the form content is well aligned according to the global text direction (eg. ‘rtl’ ).

here is the exact code:
open the file administrator/components/com_virtuemart/classes/htmlTools.class.php
find class definition “class vmTabPanel”

change the line 400 under class definition from
function startPane($id) {

echo '<div id="'.$id.'" >';

$this->pane_id = $id;

}

to

function startPane($id) {

echo '<div id="'.$id.'" dir="ltr">';

$this->pane_id = $id;

}

also change line 462 under class definition from

function startTab( $tabText, $paneid ) {

echo "<div class=\"tab-page\" id=\"".$paneid."\" >";

$this->tabs[$paneid] = $tabText;

}

to

function startTab( $tabText, $paneid ) {

echo "<div class=\"tab-page\" id=\"".$paneid."\" dir='rtl'>";

$this->tabs[$paneid] = $tabText;

}

I hope developers solve this issue for the next release.

I will appreciate  if someone tell me how to use the global direction in this class
I like to use something like dir=’$direction’ as we do on themes but I was unsucseccful

Regards

[cc lang="php"]

Posted in joomla2 Comments


Plese subscribe to my newsletter

Please subscribe via your email to follow me

E-mail:

Subscribe
Unsubscribe