WordPress 3.5.is released
WordPress 3.5 is released. I found the major updates are in Media Manager. The interface looks more beautiful! Moreover, according to their release notes, The admin is Retina-Ready. I recommend you get your wordpress upgrade.
Google Web Fonts went strange
I have experienced a virtuemart page went very well in the development environment but after it went live, some fonts in the template went strange. That is because the live environment is https enabled and the template is hard code of the css files of Google Web Fonts in the page:
such as:
Code
<link href='http://fonts.googleapis.com/css?family=Oswald&v1' rel='stylesheet' type='text/css'> |
Well, that is not hard just two lines of PHP codes
Firstly, we should check whether they are in https site
Code
$httporhttps = ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://"; |
Then, we change all font css reference like this:
Code
<link href='<?php echo $httporhttps; ?>fonts.googleapis.com/css?family=Oswald&v1' rel='stylesheet' type='text/css'> |
Finally, the fonts will display correctly
WordPress 3.4.2 is released
WordPress 3.4.2 is released. This times is a security update. So, that is very important, moreover, they fixed some browsers in admin area.
How to remove the VirtueMart Logo
There is an option to turn off VirtueMart Logo.
1. Go to the VirtueMart Component in Admin.
2. Click Admin->Configuration.
3. Go to the "Site" tab.
4. Unchecked "Show footer".
Finally, all VirtueMart will be gone.
How to add shortcut in control panel in Joomla
I wish to add a shortcut in the control panel in Joomla.That is the homepage of admin interface in Joomla. So that, the user is easier to access a component. That is so easy!
You just need to modify \administrator\modules\mod_quickicon\mod_quickicon.php
And at the end of the file, adding the following codes:
Code
$link = 'index2.php?option=com_virtuemart'; | |
quickiconButton( $link, 'menu_logo.gif', 'virtuemart' ); |