Questions tagged [joomla-3.x]

For question regarding Joomla 3.x of the Content Management System. This includes versions 3.0 up to 3.8.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

how getInstance method works

I was going through codes of application, what document is and it has method getInstance method public static function getInstance($client, $config = array(), $prefix = 'J') { return ...
0
votes
0answers
24 views

custom styles: Heading numbering: wrong numbering

I would like to have headings in an article to be automatically numbered as follows: <h2>a</h2> <!-- 1 --> <h3>a</h3> <!-- 1.1 --> <h4>a</...
0
votes
1answer
47 views

Unable to log in to Joomla! front-end

When attempting to log in using the standard Joomla! login page, the following message is displayed: Warning The security token did not match. The request was aborted to prevent any security ...
0
votes
0answers
21 views

How do I create and use my own layout for category page?

I want to create a custom layout for my category. I've read the tutorial about https://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_coreand https://docs.joomla.org/...
0
votes
1answer
36 views

How to write a complex installer script for a component?

I would like to ask the user some questions in a dialog way during installation of my component. As far as I know, this could be done in the preflight method. But I am not sure how to do user ...
3
votes
1answer
89 views

Joomla keeps wrapping content with user-visible p tags

I have observed the same behavior when installing Joomla from multiple so called Quick Start Packages embedding themes and plugins. Right now, I have installed, Basic Joomla running on a production ...
0
votes
2answers
62 views

htaccess problem with joomla and sef

I have the standard joomla .htaccess file installed. The site is at 3.9.4 and works fine. The pages have no extra modules published other than joomla custom modules - nothing else is published. ...
0
votes
1answer
24 views

Index content of YOOtheme text modules

I activated the Zoo search plugin as described at https://yootheme.com/support/zoo/search-plugin and yet what inside YOOtheme text modules (created using the YOOtheme builder) isn't indexed for the ...
0
votes
1answer
36 views

Administrator user getting locked out when adding products

We have a Joomla 3.8.10 website for a client with J2Store 3.3.1, hosted on one of our servers. When our client uses the administrator control panel to add several new products or make several edits, ...
0
votes
1answer
30 views

Why is my JOOMLART UBER navigation menu displayed incorrectly on iPad in landscape mode?

The navigation menu on all devices tested works as expected in portrait and in landscape mode, except on one of our iPads. This issue can be observed with an older iPad. With the newer ones, or with ...
1
vote
1answer
60 views

Adding articles to a local copy, then pushing them to the live version

We have a client who was getting errors when trying to add a lot of articles (like a dozen) to their live site in a short time span, but we found that after moving their site to a localhost they did ...
2
votes
1answer
57 views

How to configure Eclipse Project for Joomla Component Development

I like to develop a fresh Joomla Component for Joomla 3.x in Eclipse and created therefore a simple PHP project. The problem I have is now how to setup the correct "include path", so that the basic ...
0
votes
2answers
52 views

Is there any one to use the mod_menu as we please? *Modifying the backend*

so I've been asked to make a special menu for a website.I'm using the default module that is mod_menu. The issue is I want to modify the HTML Structure to that module. But I heard modify the default ...
0
votes
1answer
81 views

creating new user front end [closed]

I'm creating a new user (v3.x) via a module helper function. the helper function is called via AJAX. this all works fine. I'm having trouble getting the user registration to work. I've ...
3
votes
1answer
91 views

How to use the showon attribute with multiple conditions?

In a Joomla 3.9.3 module, I'm trying, with no luck, to show/hide a field with showon by checking the values on other three fields My XML: <field name="foo" type="text" /> <field ...
1
vote
1answer
41 views

My module parameters aren't saving . and can't use them in my files

**mod_cookiACT.xml** <?xml version="1.0" encoding="utf-8"?> <extension type="module" version="3.1.0" client="site" method="upgrade"> <name>Cookie Notifications !</...
2
votes
1answer
58 views

Creating a module and giving it config parameters options

on the documentation for creating a module, the basic is all there but they don't talk about giving parameters to your module. Example the color of the background or the size whatever. So I want to ...
1
vote
1answer
72 views

How can I use joomla 3 user group access level code under public static function

Currently I am trying to use group access level code under public static function. File is belong to 3rd part component and stays under the administrator folder. 3rd part component has own custom ...
0
votes
1answer
149 views

How to use external PHP library in Joomla! CLI application - Class not found

I'm working on a custom Joomla! CLI application and would like to rely on an external PHP library to reuse some functionality. // Set flag that this is a parent file. const _JEXEC = 1; ...
1
vote
2answers
51 views

Filtering product query with two sets of filters. (J2Store)

I have two disjointed sets of product filters, $special_filters and $other_filters. I'm trying to retrieve the products from the database which match any of the filters in $special_filters AND any of ...
0
votes
0answers
49 views

Search for articles by alias

Our client wants visitors to the site to be able to find an article (actually a J2Store product if that makes a difference) by searching words in the alias. I found an old forum post from 2010 where ...
2
votes
1answer
55 views

Issues to be aware of when calling `concatenate()`, `regexp()`, `rand()`, and `castAsChar()` in sql queries

I'm taking it upon myself to become aware of some of the lesser known/used query methods because I like toying with MySQL and I want to implement Joomla calls when possible/sensible -- because they ...
0
votes
1answer
115 views

Joomla custom fields for category - subtitle & headerimage

I have an override for the category/blog.php layout and i want to display a headerimage and a subtitle with the custom fields introduced in joomla 3.7. For this implementation I already use Joomla 3.9....
1
vote
0answers
30 views

Suddenly URLs with “table/”

I'm running a simple site based on Joomla. The SEF URLs are defined by SH404SEF and look like https://[domain]/[category]/[sub category]/[article title alias].html. In some cases there is a 1-to-1 ...
0
votes
1answer
47 views

Is it possibile to reorder jform control-group with jquery?

First of all I'm not sure if this counts as Joomla question or jQuery question. I have manipulated the joomla user jform and added an extra field jform_firstname to the list of fields. The current ...
0
votes
1answer
125 views

Display specific Joomla user groups

This code snippet below shows the list of all Joomla user groups(registered,editor.superuser and ...) at component // load in joomla user groups $qry = "SELECT * FROM #__usergroups ORDER BY ...
0
votes
1answer
95 views

How to post checkout data to component using Ajax?

$.ajax({ url: Joomla.getOptions('system.paths').base+'/index.php?option=mypage&view=cartcheckout&task=cartcheckout_autoSave&tmpl=component&stepId='+stepId, type: 'POST', //...
0
votes
2answers
64 views

Getting post installation script to run for a module

I've a module that I want to run a script post installation, post update etc. I think this can be done by adding a script.php into the module zip file and then calling it in the installation file. &...
1
vote
1answer
143 views

From outside of a component how to change a parameter

In a system plugin, I am using the onAfterRoute event to change a single parameter from a 3rd party component before being loaded. public function onAfterRoute() { if ('com_abc' == JFactory::...
2
votes
1answer
46 views

Product image at j2store cart

j2store use thumbimage and mainimage instead of joomla article intro and full image for show image product at j2store cart and order invoice I decided to use intro image in article instead of ...
1
vote
1answer
45 views

Language Constants not being replaced in JLayout

I am trying to use Jlayout in a plugin I am writing and everything works fine except that the Language Constants in the layout file are not being replaced. My call to render the layout is; $layout = ...
0
votes
2answers
40 views

How to use plugin content-events on featured contacts page

Using the content event onContentPrepare() within a plugin in the contexts of 'com_contact.category' and 'com_contact.contact' works fine. But the following code doesn't output anything on a page ...
2
votes
0answers
130 views

fetch article custom fields in Layouts

I have created some custom fields in my Joomla article from backend templates/name-template/html/com_content/article/default.php and use this code for load custom fields at joomla article <?php ...
0
votes
1answer
216 views

Get custom field list option value in template override blog_item.php

Using joomla! 3.9.2 I have an article custom field, type List with the ID 14. The List values are below: Text - Value 1 = 335,538,353,559 2 = 390,538,408,559 I am trying to pull the ...
1
vote
1answer
56 views

iFrame with javascript

I would like to summarize my problem: I need to obscure the source of the iframe from the source code. To do this I have to use javascript code and obfuscator. By inserting the following obfuscated ...
2
votes
2answers
197 views

Using external PHP library and defined('_JEXEC') or die;

I want to use hatemile-for-php library (https://github.com/hatemile/hatemile-for-php) in my plugin. As I am only ever using this library within this one plugin, I included it in the plugin folder ...
1
vote
1answer
62 views

Adding SKU to generated aliases in J2Store

I'm a bit of a Joomla noob so hopefully this is an easy problem. We have a Joomla 3.8.11 website using J2Store 3.3.0, and the client wants to add the SKU values to the product aliases. Specifically ...
0
votes
1answer
71 views

jQuery is not loading in new window in Joomla

jQuery is not loading in new window in Joomla I have a page default.php in component module. default.php contains defined('_JEXEC') or die('Restricted access'); $document = JFactory::getDocument(); ...
1
vote
2answers
187 views

Client side validation - custom event handler not called when user enters the field and leaves it being empty

I'm working on a JForm with some fields with custom event handlers to do client side form validation as it is described in this document The document says that "Joomla adds a blur handler to validate ...
0
votes
2answers
149 views

How can I load a minimal editor in a custom component form?

In my custom component form I have a text field that I want users to have the ability to add very simple styling to. I'm thinking bold, italic and link buttons. Is it possible to create and configure ...
2
votes
3answers
62 views

Module Class Suffix Child Div

Joomla! 3.9.1 I've created a 'custom html' module and in the module settings Advanced > I've added the feature-box suffix. In my custom.css file I have added the following code; .feature-box { ...
1
vote
0answers
41 views

How to make a header image above the navigation bar in Purity III fixed and/or how to attach the nav menu to it?

I've been following the advice on how to put a header image above the nav bar in Purity-III given in https://joomla.stackexchange.com/a/16321/ I managed to reproduce the solution however what I really ...
0
votes
2answers
68 views

Get the Joomla database connection to a connection variable

I am new to joomla and I want to create a table in joomla database manually with the data and get those details to an article in joomla. Before that as my knowledge we need to get the database ...
0
votes
1answer
77 views

intro image article at j2store

I decided to use intro image in article instead of j2store thumbnail image use below code But did not show image <?php echo json_decode($item->images)->image_intro; ?> or <?php echo ...
1
vote
1answer
177 views

Autoscroll a Bootstrap Row/Columns in Joomla Module

I am using a K2 Content module to display 'Sponsors' of an event. You can see an example here I have managed to set this up so that the columns can be scrolled manually using a mouse drag but ideally ...
0
votes
1answer
58 views

Using a custom field with different names

I want to use a flexible field name for a field across different forms thru my extension. My custom example field looks like this: defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\...
2
votes
1answer
48 views

Adding Additional Fields to Admin Component

I'm using Joomla 3.9.1 and SP Simple Portfolio v1.6 I would like to add some additional fields to the SP Simple Portfolio component. Image of current fields (taken from Google); How can I add ...
2
votes
1answer
53 views

Is it possible to insert a category list view inside an article?

I want to get a category list view inside an article (in this case, inside a tab in an article), but I want to see this category list view styled like when a menu item type shows a category list: a ...
0
votes
1answer
65 views

Which Custom field is better?

Which field is better for displaying code like below? Textarea or editor field ? I'm currently using Textarea I want to know which method is better and will affect the speed of the site Does anyone ...
1
vote
3answers
87 views

Joomla: how to show the modified date of your articles in google searches?

I'd like that my articles show up the modified date in Google searches. Currently my Joomla 3 site, when modified date's output is enabled, shows the following tag: <time datetime="2019-01-07T07:...