Questions tagged [joomla]

Creating websites has never been easier with Joomla!, an innovative and versatile Content Management System (CMS) that empowers individuals to publish captivating content on the vast expanses of the World Wide Web and private intranets. Its unique model-view-controller (MVC) framework offers remarkable flexibility, enabling users to harness its power either as part of a web application or independently. If you have any inquiries about Joomla, feel free to explore the vibrant community at joomla for expert answers.

Exploring the power of Ajax in Joomla's custom modules

Requirements: I am unable to utilize components and the ajax interface in Joomla (com). My objective: Transmit POST data from default.php (mod_x) to helper.php (mod_x). The data includes checked checkboxes, using ajax. How can this be achieved? I believ ...

Searching in Seblod on Fields with No Content (Exact Matching)

Currently, I am working on a List & Search Type form with only one input field labeled Username. The form is set to Exact matching, meaning it should only return results if an exact match is found. However, when the Username field is left empty and I clic ...

How to Create an Alert Message with Title and Dismiss Button in Joomla

After receiving a response from an ajax call, I am trying to display a Joomla notice. Here is the code: $app = JFactory::getApplication(); $app->enqueueMessage('Joomla notice', 'info'); When rendered on the front end, it appears as follows (please not ...

The jQuery code is failing to run as intended

Recently, I encountered an issue with a HTML page that utilizes some jQuery libraries. The specific functionality in question involves a balloon floating across the screen, which works perfectly fine on my local machine. However, upon integrating this pag ...

Transforming a Joomla template into a standard HTML template

I have a question about Joomla. Although I already have a Joomla template that was not originally intended for use with Joomla, I would like to utilize it as an HTML template so I can easily modify and edit it without using Joomla. Therefore, I am looki ...

Sneaky spam and ads embedded within Joomla template

Today, while examining the source code of a Joomla site I am developing, I stumbled upon some hidden links that seem to be spam. I have spent an hour searching through various template files but have been unable to locate them. The hidden links in questio ...

I'm looking to use JQuery's .load function to transfer content from one URL to another

I am looking to dynamically load content from a div with the ID maininner on a specific URL within my website into another div with the ID yurt1_avail on a different URL also on the same site. I have conducted a successful test outside of the CMS using ...

Error in Joomla 2.5 PHP: Fatal error - Attempting to access user state from request on a non-object in the upman.php file within the com_upman/models directory at line 338

Hello, I am encountering an issue while using Joomla 2.5 with Virtuemart 2.0.0 and OSE Checkout plugin. The error message reads: Fatal error: Call to a member function getUserStateFromRequest() on a non-object in components/com_upman/models/upman.php on li ...

Issues with jQuery slide operation

I'm facing an issue with jQuery and I can't figure out where it's coming from. Here is the error message that keeps showing up in the console: Uncaught TypeError: Object [object Object] has no method 'getElement' script_16.js:46Un ...

How to designate the specific container to be updated in the XMLHTTP JSON code within a Joomla website?

Below are some functions that were created by a former developer who is no longer with the company. These functions query a database and return JSON code to update the inner HTML of a specific div. I have now been tasked with setting up a typeahead search ...

When using the VirtueMart "Add to cart" Ajax feature, it redirects to an empty Cart/Checkout page

Currently, I am working on a project that involves loading Virtuemart products using an Ajax pagination system. The concept is quite straightforward - initially, 4 products are loaded with a "load more" button. Upon clicking the button, another set of 4 p ...

Is it possible for a media query to target only 2 elements instead of all 3?

Currently, I am dealing with an older website for a client, and it appears that a media query is not correctly affecting three specific classes out of the total. These problematic classes are .free-ship, .wholesale, .chronicles The CSS styling for these c ...

Issues with Joomla's mobile menu compatibility

We are currently working on a Joomla website that can be accessed through this link. The site functions perfectly with two menus when viewed on a desktop screen. However, the issue arises when it is accessed from a smartphone like an iPhone 5, as instead o ...

"Concealing Categories in Joomla Search Results: A Guide for Maintaining Privacy

When using the Joomla Search module, it will list all categories that match the search query. For instance, if "iPhone" is searched on the website, it shows a list of categories first before articles. I want to find a way to hide these categories from the ...

Update the code-behind for the Joomla "submit article" page

After incorporating a new template on my Joomla website, I encountered an issue with the "submit an article" page. The fields in the publishing tab were altered to width: 0px;. Here is how the HTML for the category dropdown appears: <div id="jform_cati ...

Creating session variables in Joomla using checkboxes and AJAX

I'm currently working on implementing session variables in Joomla with AJAX when checkboxes are selected. Below is the code snippet from select_thumb.ajax.php file: $_SESSION['ss'] = $value; $response = $_SESSION['ss']; echo ...

Problem with IE off-canvas scrolling

Currently, I am facing an issue with the scrolling functionality of an off-canvas sidebar on my Joomla 3 website. It seems to be working fine in Chrome and Firefox, but when it comes to Internet Explorer, the visible scroll bar refuses to move when attempt ...

Using Joomla 2.5 and mootools for ajax - passing parameters to a component

After countless hours of searching for a solution to this persistent issue, I find myself stuck with the following code in a standard component along with its controller: defined('_JEXEC') or die; jimport('joomla.application.component.controller'); jimpo ...

The Joomla database class is missing in an AJAX call within Joomla

I am in the process of enhancing a Joomla website by implementing a feature that retrieves data from a database when a selection is made in a dropdown box. The problem I'm facing is that when I trigger the Ajax call, I encounter a 'Class JFactory not found ...

Personalizing the layout of Joomla's search results page

I am facing an issue with Joomla search results appearing on the home page instead of a new page. I have tried to modify the mod_search.php file by setting the item id to 0 as suggested in online posts, but unfortunately, the changes are not reflected in t ...

Can Joomla components be displayed without using iframe or plugins?

Is there a way to showcase a component view without the use of iframes or plugins? Perhaps through PHP and SQL queries? UPDATE: Just to clarify: I am looking to accomplish this directly in the PHP template! (It would also be helpful to do it within an art ...

Getting JSON via AJAX with the `&` symbol in Joomla

Here's the string output after being passed through JSON.stringify: "chk={ "node":"obj.1.46971", "user":"arslan", "to":"mercedes", "article":"<p>this my test&nbsp;</p>", "subject":"haha", "comments":"hello" }" The ...

Modify a specific URL within the .htaccess file without relying on a specific pattern

I am looking to transform one specific URL on my Joomla website into a more user-friendly format. The current URL is: www.example.com/index.php?option=com_mycomponent&view=article&id=10&nav_button=0&article_layout=1&Itemid=503 and I w ...

The slider customization on Joomla is functioning perfectly on my local machine, but it seems to be encountering some issues on

Having recently started working on a Joomla website for the first time, I encountered some challenges when trying to add a slider module. Despite successfully implementing the slider on my local machine, I faced issues when transferring the code to the liv ...

Conceal the server's internal file structure to prevent it from being displayed in sources

When I visit my website and inspect the elements in Google Chrome, I am able to see a list of all the folders on my site under the sources tab. This reveals their original names and allows for the downloading of the entire website code. I am concerned abo ...

Using the limit function in ajax-accordion's page when invoking JPagination

Hello everyone! I recently faced an issue with my Joomla website. I am using a Joomla template and in the 'views' directory, there is a page that displays a list of employees using an 'ajax-accordion'. Each employee's name serves as the header, and clicki ...

Can you provide more information about resource ID #170?

My goal with this code snippet is to extract data from Joomla's database. The code successfully connects to the database, but when trying to retrieve information using $query1, I receive an output of "resource id #170". Even after testing with different ta ...

Passing array data from JavaScript to PHP using POST method in Joomla 3.x

Looking for a way to send an array from JavaScript to a Joomla 3.x PHP file? var data = ['foo', 'bar']; $.post('index.php?option=component&view=componentview&Itemid=123&tmpl=component&layout=xlsx', {'xlsx_data': data}) I have a PHP file ...

A guide to setting an array for session variable and saving data into the database within Joomla

I am currently working on a project in Joomla where I need to retrieve user input from textboxes and store it into session variables. However, I am facing difficulties when it comes to retrieving the session values and storing them into a database because ...

Investigating the Netbeans PHP Xdebug Socket Exception while debugging Joomla

System Information PHP Version 5.4.0-1build1~ppa1~oneiric Xdebug v2.2.0rc1, Copyright (c) 2002-2012, by Derick Rethans Apache/2.2.20 (Ubuntu) While debugging a Joomla project, I encounter a Socket Exception error right before reaching the spot where the ...

Error with Displaying Joomla Article Title Icons for PDF and Print Files

I've been battling a pesky bug that has had me stumped for quite some time now. This Joomla website functions perfectly fine on my local server (WAMP) as well as on Godaddy's server. However, after switching to HostGator's server, I noticed that the artic ...

Is there a way to customize the title on the Configuration Page within a Joomla Component?

Problem with updating string in Language File: COM_OHANAH_CONFIGURATION="Ohanah Konfiguration" I have tried adding the above string to the Language File, but it doesn't seem to reflect the changes. I have checked other Joomla Components and they all just ...

Limit users to viewing a Joomla article only once

I'm trying to figure out a way to customize Joomla so that only one view of certain articles is allowed per user. My goal is to make the article appear grayed out and prevent users from clicking on it after they have viewed it once. If anyone has any ...

Implementing Custom Code to Override a Joomla 3 Module

I am attempting to enhance the functionality of a Q&A accordion in Joomla by adding a line of custom script. Here's the script: jQuery( document ).ready(function(){ jQuery(".ui-accordion-content-active").attr("tabindex","0"); ...

Exploring the dynamic duo: Joomla and AJAX

I've been struggling to make the ajax call below function properly in my Joomla 3.6 component. The javascript function mentioned here seems to work momentarily by returning and displaying the data on the page for a brief moment before the page reloads ...

Creation of a Joomla module

I'm currently working on a simple module using jQuery, however I am facing issues with disabling MooTools. In my attempt to resolve this, I utilized the following code in the default.php file: $user =& JFactory::getUser(); if ($user->get( ...

What is the process for converting a SEF URL to a non-SEF URL for a single view in Joomla?

I am currently working on developing an API type plugin that retrieves activity streams from easysocial. However, I have encountered SEF URLs in the activity stream, but I would like to display NON-SEF URLs when SEF is enabled in Joomla's configuration. C ...

Solving the WordPress Issue: "Hello, world! Update me in Site Preferences to change This Category/Section's Lower Description Bar"

After inheriting an unfinished website built on WordPress 4.2.2 with the Wise Guys theme, I encountered an issue on the gallery page where the Lower Description Bar displayed the unattractive message "Hello world! Please change me in Site Preferences -> Th ...

php resize images easily using PHP

After spending some time searching, I came across some perplexing and intricate material that I struggled to make sense of. I've been working with chronoforms in Joomla to create a form with an upload file script. The good news is that the script successf ...

Joomla CSS styling malfunctioning

I've been exploring the creation of an in line menu using Joomla 1.6 and CSS. The issue arises when Joomla removes <span class="dmenu"> from the document before saving, despite having all cleanup options turned off. This led me to try a couple of wo ...

Retrieving information from a component and transferring it to a module in Joomla

While working on a Joomla 2.5 module, I am interested in pulling data from a component into the module's configuration file similar to this example: <field name="catid" type="category" extension="com_content" published="" label="Category" descrip ...

PHP malware files are being generated without manual intervention

We have an AWS ec2 instance running CentOs that hosts 4 sites - one static HTML and PHP site, two Joomla (v3.4.5) sites, and one Opencart (v2.0.1.1) site. Recently, we discovered some unfamiliar files on our server which appear to be malware. After runnin ...

I am seeking clarity on the functionality of this PHP code

Recently, I encountered a strange issue on my website using the Joomla template Liberty. Mysterious links would appear on the pages, but would disappear upon clearing the cache, only to resurface later. After thorough investigation, I discovered that the i ...

Is there a Joomla extension available that can display or conceal content upon clicking?

Looking to enhance my Joomla site by installing a plugin that allows me to toggle the visibility of content with a click, similar to how FAQ sections work on many websites. Question 1 (click here for the answer) { Details for question 1 go here } Questi ...