Friday, 19 April 2013

Add POP-UP feature for Image and Video in Joomla 2.5/3.0

To add or enable the Pop UP feature in Joomla 2.5 or 3.0 for Images and Videos; Please follow the following steps;
  1. Login into Joomla/Administrator
  2. Go to Template Manager
  3. Click on Templates
  4. Click on [Template Name] Details and Files link of your template in the Templates List.
  5. Click on the Edit main page template link of the Template Master Files.
  6. And, add the below code on the top of the file and Save it.
defined ( '_JEXEC' ) or die ( 'Restricted access' ); 
// Add the below code underneath the above line.
Once you have done with above steps, to use of POP-UP function; Just add the class="model" in the anchor tag

And, To add the Pop-UP for Videos, please download the Rokbox joomla plugin and install it. And, to use it, please follow the below example.

Click to Play Video

No comments:

Post a Comment

Please post any queries and comments here.