Wednesday, July 24, 2013

Menu not displaying in Joomla - How to correct it?

Learn how to correct the issue of menu not displaying in Joomla front end and back end.

Joomla logo


At some point of time in web development using Joomla Content Management Framework, you may come across this issue. Lets see how to rectify it.

There are many reasons for this issue. 

1. First of all, check whether the menu is assigned in the correct position.
Choose the correct position to display.



2. Secondly check whether the template is assigned with the respective menu. In some cases we need to manually assign all the menu to a particular template. To do that go to Extensions > Template Manager and look for the section menu assignment. Select all the menu for the template and press Save. Also check Extensions > Module Manager and click on the respective menu module. You must ensure that the menu is assigned to the needed pages where menu should be displayed.

3. There may still be in some cases the menu will not be displaying. In that case you need to do the following changes in the code. This usually happens when the PHP of your system or server is upgraded to 5.3+. Make sure you write down the changes you are making as it will make a log of all the changes as well as help you in troubleshooting it later.

Take the file yourdirectory/libraries/joomla/html/html.php

Search for the line of code:

return call_user_func_array( array( $className, $func ), $args );     

Change the code to: 

return call_user_func_array( array( $className, $func ), &$args );    

here the parameter $args is passed by reference instead of value so that the function can modify the variable where as when passed by value the variable $args is not changed outside the function.

You must also do the following changes to the helper file of the module. i.e. the file yourdirectory/modules/mod_mainmenu/helper.php where mod_mainmenu should be replaced by the respective menu module.

Search for the line of code:

function buildXML(&$params)               

Change the code to:

function buildXML($params)                          

Please contact me or put a comment if you have any doubt regarding this. Happy coding..

Blogger Tricks

Monday, July 8, 2013

Nokia Lumia 1020 - Full Specification and Price

Nokia is all set to announce its next Lumia version Nokia Lumia 1020. The release date will be around September 2013. Nokia Lumia 1020 leaks about its specification and images are coming fast and is spreading like anything. Lets see the full specification and price in detail.



The processor of Nokia Lumia 1020 will be probably 1.5 GHz Quad core and most probably of Qualcomm Snapdragon S4. It will be featuring Windows 8 operating system.

The RAM is expected to be of 2 GB and internal memory of 32 GB. Thus with the hardware Nokia Lumia 1020 have, it will be good enough for a competition for the Android phones currently in the market. Surprisingly there is no support for SD or micro-SD cards.

The screen size is expected to be of 4.5 inch AMOLED Full HD (1920 X 1080) resolution.



Nokia Lumia 1020 will feature a 41 mega-pixel camera unit with Pure-view technology which we have already heard in Nokia Pure view phones. The camera will have Optical Image Stabilization (OIS) and F 2.2 aperture. The camera will be able to capture 32 mega-pixel and 5 megapixel images simultaneously with 16:9 ratio and 38 mega-pixel in 4:3 aspect ratio. The 5 mega-pixel image is over sampled dropping 7 pixels into one “super pixel”. The camera will also have a Xenon flash light and the Pro-Camera App in Nokia let the users choose or change ISO, manual focus, shutter speed, white balance etc.

Further Nokia Lumia 1020 will also have NFC capability, Flip to Silence gesture, FM Radio and wireless charging capability with charging plate.

The color options for Nokia Lumia 1020 are white, yellow and black. Red color variant is not available. The battery is supposed to be of 2000 mAh.

As for the pricing the Nokia Lumia 920 will be retailed around $602 and it will be in stores soon.

Saturday, July 6, 2013

Ubuntu for Android - Running Ubuntu on Android Phones

Ubuntu for android gives a full desktop PC experience on Android phones when connected to a screen and keyboard. It can be a interesting feature for smartphone like we can use Android when we move and when connected to a monitor and keyboard it can be a full desktop PC which provides the complete office suite, web browsing, email and media applications and all that a Ubuntu PC have. Lets look the features of Ubuntu for Android in detail.



Ubuntu for Android lets both Android and Ubuntu to share the same Linux kernel and they can run simultaneously. The integration between Android and Ubuntu is so excellent as the Ubuntu desktop and Android can share bookmarks, mails, address book etc. Ubuntu supports both Chromium and Firefox browser for good web productivity and we can have the same web pages and web history and bookmarks on the Android phones when we browse on the move.



Both Android and Ubuntu share the unified contacts on the phone memory. When the phone is docked, the user can call, text or email contacts.We can even call from the desktop or can post on social networking sites like Facebook or Twitter. The Android calendar is also synchronized with the desktop calendar application.



In the requirements section, to install Ubuntu for Android, we need to minimum have a dual core mobile with Android 2.3 (Gingerbread) or better. When docked the Ubuntu OS will boot up and will run in a separate run time so that Android and Ubuntu works in parallel. Convergence API module enables tight integration of Android and Ubuntu environments to share the services and applications. When un-docked both cores will function for Android and when docked a core will function independently for Ubuntu.

Looks like it will make a revolution. Lets wait and see.



Friday, July 5, 2013

Mozilla Popcorn - Creating Time-based Interactive Media for Web

Popcorn is a project of Mozilla Corporation which is a HTML 5 interactive framework which helps media to control the elements of web page. Mozilla Popcorn enables the media element to be the controller of page for interactive experience to the viewers.

Mozilla Popcorn


Popcorn is targeted mainly for three types of users viz. Developers, Media Professionals and Web makers. This HTML 5 Java-script library will work in most of the modern browsers that support HTML 5. This was made available by the project team of Popcorn by collaborations of developers, web makers and film makers.

For the developers, they can use the popcorn.js java-script library which will give the necessary tools for creating interactive media over the web. Other library tools like Seriously.js, ChromaGL.js etc. are also available in Mozilla Popcorn project.

Web makers can use interactive web apps like Popcorn maker, Popcorn maker FCP, Butter SDK etc. to make user friendly interactive media web page.



Mozilla have partnerships with PBS, the National Film Board of Canada, The Tribeca Film institute, Center for Social Media  at American University, ITVS, Arte and many others to collaborate their work to an interactive way of story telling and film making.

Mozilla Popcorn can be integrated with Youtube, Vimeo, Google Maps and also with social media websites like Facebook, Twitter etc. How-to do such integrations are explained in the documentation section of Popcorn which can be viewed here.

Demos are also been placed in Popcorn website. Have a look.

The core library and its associated plugins can be downloaded from the below link.
Download Mozilla Popcorn

What is Adobe Creative Cloud?

Adobe Creative Cloud is a much enhanced version of Creative Suite which brings you everything you need to create. Adobe Creative Cloud brings you a subscription based service to get the very latest version of Adobe products like Photoshop, Illustrator, Flash and many more.


It brings to you the worlds latest and best desktop applications for photography, video, audio, design, coding etc. at a single subscription that too in a cloud environment. The creative tools that are included are Photoshop, Illustrator, InDesign, Dreamweaver, After Effects, Premier Pro, Muse, Acrobat XI Pro, Audition, Bridge, Encore, Fireworks, Flash Builder Pro, InCopy, Lightroom, Media Encoder, Prelude and Speedgrade.


The created files in Adobe Creative Cloud can be accessed anywhere reliably even on mobile devices through the cloud storage and syncing capabilities.Creative Cloud enables cloud based workflows which makes the work easy across multiple devices.



The Creative Cloud desktop application installs the application like Photoshop or Illustrator which ever may be to the local machine and you don't need the internet access when you work all the time. The desktop application how ever needs to get validated every 30 days through internet.



Creative Cloud is available for individuals, teams, small business and enterprises.The starting price for Adobe Creative Cloud is given in the Adobe website as $49.00 for the annual plan. The whole membership plans can be viewed here.



Adobe Creative Cloud can be integrated with Touch Apps like Photoshop Touch, Behance for iPhone, Kuler for iPhone, Ideas etc. The FAQ for this product is given in Adobe Site.

Please feel free to comment on this product below.

Thursday, July 4, 2013

Surface Pro from Microsoft - Review of Surface Pro

Microsoft have come up with a laptop in tablet form 'Surface Pro' which clearly looks like an iPad Killer. Can Microsoft beat Apple in this battle?

This is an awesome device from Microsoft which runs on Windows 8 and clearly with all hybrid tablet features. Surface Pro is a 2 pound (903 g) hybrid PC and have thickness of 14 mm. Surface Pro is powered by Intel Core i5-3317U backed by a 4GB RAM.

surface-pro




Surface Pro comes with a 64 GB or 128 GB solid state drive (SSD). It also comes with a magnetic clip keyboard and a kick stand which props the tablet at a fixed angle about 30 degree. The slate also comes with a digitizing pen which can be used for on screen drawings, markings, hand writing recognition etc.

microsoft surface pro


But Surface Pro is different from iPad. It is heavier and thicker than iPad. More than a tablet Surface Pro is a  full fledged PC in a tablet form. The tablet is made of a Magnesium alloy unlike the aluminium body of iPad. Perhaps that make it a bit heavier. Apart from that Surface Pro is rigid, smooth and well built.

Surface Pro has a USB 3.0 port and has WiFi support. It also features a micro-SD card slot which can support up to 64 GB of data. There is a mini display port on Surface Pro through which we can connect it to TV or other CPU.

surface pro screen


The display of Surface Pro is 1920 X 1080 resolution of 208 ppi (pixels per inch). The display ppi is lower than iPad but that is countered by Microsoft's Clear Type Sub-pixel Rendering. The display is of 10.6 inch measured diagonally.

The operating system Windows 8 is perfectly suited for Surface Pro as for iOS for Apple iPad. Surface Pro is integrated with Intel HD Graphics 4000 GPU which offers excellent performance and graphic rendering. From the battery aspect, the Surface Pro can lasts 5-6 hours when fully charged with medium usage.

Surface Pro as listed in Microsoft's site starts at a price range of $899 for the 64 GB version.  For the 128 GB version it costs a little more $999. and for the Type Cover we need to give an additional $129.99.

Now we can look at the technical specification of Microsoft Surface Pro.

Processor: 3rd Generation i5-3317U with Intel HD Graphics 4000 GPU.
Memory: 4 GB RAM
Storage: 64 GB or 128GB
Operating System: Windows 8 pre-bulit
Display: 10.6 inch Clear Type HD display at 1920 X 1080 resolution
Camera: Two 720p rear and front cameras.
Sensors: Ambient light sensor, Accelerometer, Gyroscope, Magnetometer
Warranty: 1 year.

Wednesday, July 3, 2013

Firefox OS for Mobiles

Mozilla which changed all browsing experience has now come up with a smartphone operating system Firefox OS. Firefox is a open operating system developed using HTML 5 and other open Web standards.

Firefox OS


This operating system comes with an Adaptive App Search and they name the phone 'Adaptive Phone' on installing the Firefox OS. Firefox OS is always changing to give the exact apps you need at the moment in your life. Through the Adaptive App Search we can type a word we are interested in and we'll get the App we require. Like Google Play Store in Android, Firefox has come up with Firefox Marketplace.

firefox os screens


Firefox OS also includes the Firefox browser which is fast, smart and safe for the use of Web. Latest Firefox browser is included in the Firefox OS. Check out the latest Firefox browser Firefox 23 beta.


firefox os apps


Firefox OS is deeply integrated with social networking sites like Facebook, Twitter etc. You can have Facebook and twitter updates from any where with this OS.


We can import the contacts directly from Facebook and share updates instantly.

firefox os contacts


Firefox OS has included some built in style filters to make your photo beautiful and more creative after taking the photos on the go.

The OS comes with a great Music and FM Player from where we can listen favorite songs, artists, albums and radio stations.

firefox os music


The built in Map App helps to locate directions, traffic and local transit information.

Firefox OS also includes security settings to manage passwords, history, private data, cookies, site options and add-on.

The FAQ regarding Mozilla Firefox OS is there in the Mozilla website. You can have a look at the FAQ by clicking here.