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: , , ,

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 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: , ,

How and where to use Jdoc statements in joomla

jdoc statements are included in every Joomla template and indicate where the output from other parts of Joomla or its extensions should be positioned in the overall web page. A typical jdoc statement looks like this: <jdoc:include type=”component” />. jdoc:include: The <jdoc:include /> statement

Posted in Blog, Joomla Tagged with: ,

How to add JS/CSS files in Joomla modules?

You could add your js/css files to /media folder. Just add to your manifest file: <files> … </files> <media folder=”media” destination=”mod_your_module”> <folder>css</folder> <folder>js</folder> </media> Inside your installable package, you should now have the /media folder. Then add to view file:

Posted in Blog, Joomla, Jquery/Ajax