how to display article intro image in joomla module?

Blog Archives

how to display article intro image in joomla module?

Article display by yourtheme/html/com_content/article/tmpl/default.php file. you can use module mod_articles_latest so edit mod_articles_latest/tmpl/default.php file. <?php /** * @package Joomla.Site * @subpackage mod_articles_latest * * @copyright Copyright (C) 2005 – 2014 Open Source Matters, Inc. All rights reserved. * @license GNU

Posted in Blog, Joomla, PHP Tagged with: , , ,

Drag and drop using jquery

Create .html file <link rel=”stylesheet” type=”text/css” href=”css/style.css”> <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js”></script> <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js”></script> <script type=”text/javascript”> $(document).ready(function(){ // Example 1.1: A single sortable list $(‘#example-1-1 .sortable-list’).sortable(); // Example 1.2: Sortable and connectable lists $(‘#example-1-2 .sortable-list’).sortable({ connectWith: ‘#example-1-2 .sortable-list’ }); // Example

Posted in Blog, Jquery/Ajax Tagged with: , , , ,

How to use login() function in joomla?

You can use Below code during develop module and component with login functionality, get your username and password dynamically and put in array function. when you call registration successfully function just add this code for autologin  functionality. $credentials = array( ‘username’

Posted in Blog, Joomla, PHP Tagged with: , , ,

How to Retrieve Input data in joomla?

Use jinput Method you can use this code $jinput = JFactory::getApplication()->input; Get the Value using jinput $name = $jinput->get(‘varname’, ‘default_value’, ‘filter’); Get Multiple value Retrieve multiple values you can use getarray() method: $fooValues = $jinput->getArray(array(‘var1’ => ”, ‘var2’ => ”,

Posted in Blog, Joomla, PHP Tagged with: ,

How to share custom data on social network site !!!

For Facebook share <a id=”ref_fb” href=”http://www.facebook.com/sharer.php?s=100&amp;p[title]=<?php echo $ftitle;?>&amp;p[summary]=<?php echo $fdescription;?>&amp;p[url]=<?php echo urlencode($fshare_url);?>&amp; p[images][0]=<?php echo $fimage_url;?>” onclick=”javascript:window.open(this.href, ”, ‘menubar=no,toolbar=no,resizable=no,scrollbars=no,height=400,width=600’); return false;”>&nbsp;</a> For Twitter share <a id=”ref_tw” href=”http://twitter.com/home?status=<?php echo $ttitle; ?>+<?php echo urlencode($tshare_url);?>” onclick=”javascript:window.open(this.href, ”, ‘menubar=no,toolbar=no,resizable=no,scrollbars=no,height=400,width=600’);return false;”>&nbsp;</a>   For Linkedin share <a

Posted in Blog, Wordpress Tagged with: , , , , ,

How to use countModules function in joomla?

Returns the number of modules enabled in one or more module positions. Counting modules in a given module position The countModules method can be used within a template to determine the number of modules enabled in a given module position.

Posted in Blog, Joomla Tagged with:

Joomla Common Issues

How to resolve a database error Resolve a data base error by checking your configuration.php files of your Joomla application and making sure that the following are correctly put. var $dbtype = ‘mysql’; var $host = ‘localhost’; var $user = ‘user_jo151’; var

Posted in Blog, Joomla Tagged with:

Joomla Files and Folders Structure

Here is some structure of the Joomla files and folders: Administrator – This folder holds the entire files utilized for the back-end of the administrator. Cache – This folder is utilized by the Joomla and several extensions to store the

Posted in Blog, Joomla Tagged with:

Layout Overrides in Joomla

The directory structure you need is: TEMPLATE_NAME/html/EXTENSION_NAME/VIEW_NAME/FILE_NAME.php For example, if you want to change the way that the ‘Article‘ view displays a com_content article, then you should copy the file at PATH_TO_JOOMLA/components/com_content/views/article/tmpl/default.php to TEMPLATE_NAME/html/com_content/article/default.php

Posted in Blog, Joomla Tagged with:

Uderstanding Components, Modules And Plugins

One of our most frequently requested topics for people new to Joomla is an explanation of the difference between components, modules and plugins – so that’s exactly what we’re going to look at here. Components. The text of this article

Posted in Blog, Joomla Tagged with: , ,