Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
36 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
34 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
54 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
68 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
45 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
42 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 ...
1
vote
1answer
39 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
75 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
21 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
43 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
70 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
85 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
53 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
130 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
37 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
37 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
37 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
64 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
77 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
52 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
119 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
59 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
48 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
101 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
74 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 ...
3
votes
2answers
30 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
32 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
67 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
75 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
160 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
38 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\...
3
votes
1answer
43 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
47 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
64 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
55 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:...
4
votes
1answer
162 views

PHP 7 Upgrade Breaks Joomla Theme

I have a website running Joomla 3.9.1, which uses the Shape5 - Vertex template (one of Shape5's free templates, although the company is now owned by JoomlArt). I am trying to upgrade to PHP 7.2, but ...
1
vote
1answer
126 views

Joomla.submitbutton is not a function at HTMLButtonElement.onclick

I have been facing a problem when I try to update the article from the frontend then it shows this error Joomla.submitbutton is not a function at HTMLButtonElement.onclick Here is my code &...
-1
votes
1answer
36 views

SEF URL Issues on several sites

I am running into an issue on several sites where the urls are "nesting" other links in the main url structure. For example: https://retrolube.com/blog/five-benefits-of-new-tires-for-your-vehicle/...
2
votes
1answer
33 views

architecture diagram (current 3.x, 4.x) of joomla architecture

Is there any newer architecture diagram of joomla CMS? I know the https://docs.joomla.org/Archived%3aCMS_Architecture_in_1.5_and_1.6 but it is from 2011 so pretty outdated. Also is there one zoom-...
1
vote
1answer
38 views

I'm confused about permissions

Hello again StackExchange Joomla experts. I recently wrote a post that asked how to make sense out of a 22-piece big band swing organization of which I am the director. My goal is to provide a ...
0
votes
1answer
24 views

How to override com_users view

I would like to make a change to the username reminder page. I had assumed that this would simply be a case of creating an template override thus: /templates/mytemplate/html/com_users/remind/default....
0
votes
1answer
77 views

Custom 404 page

I am having trouble with custom 404 page, So I have been trying to get the custom 404 page to work but I have problem making it work right. All the methods that are described everywhere : make ...
0
votes
1answer
12 views

how to show joomla k2 article previous date only and up cumming only.

i am create k2 article for event type post. 1: upcoming event 2: old event. i am, not able to showing old event for current date. how to filter both type event with single category. in k2 article ...
1
vote
1answer
97 views

Is there a method to sort the FormBehavior.chosen output in Joomla 3?

The chosen multiple select result outputs always in ascending order of the array, regardless of the selected order. I couldn't find information related to ordering in the JHtml attribute array. I ...
0
votes
1answer
30 views

How to sell extensions using Akeeba Release Systems and Akeeba Subscriptions

I developed local payment gateway plugins for some Joomla components, and would love to sell them on my site, using Akeeba Release Systems and Akeeba Subscriptions. Can someone please help put me ...
1
vote
1answer
95 views

How to sort title of items with natural sort order?

When you have in a column a list of items such as: Title1 Title2 ... Title10 Title11 and you filter on Title (alphabetically), the output is like: Title1 Title10 Title11 Title2 I want it to sort ...
0
votes
1answer
27 views

How to add new layout in menu item?

I can see there's an option to choose a layout: How can I add new custom layout with template override? I have tried several way for eg. html/layouts/mylayout.php, html/com_content/category/...
0
votes
1answer
29 views

Install Joomla On Windows 10 And Use MS SQL As Back-End

I have Windows 10 and IIS up and running, I was wanting to know if there was a way to set-up Joomla with MS SQL on windows 10 and IIS?
1
vote
1answer
40 views

Can I set the directory that Joomla cache will store data in for my module?

Joomla has a nice "Clear Cache" page that lists cached content and lets you delete it. I'd like to allow cached content from my module to be deleted from there. I'm using Joomla's built-in cache ...
0
votes
1answer
43 views

Is there a way to set mobile/cell view to desktop?

Is there a way to set mobile/cell view to desktop view? I've seen sites have a switch between mobile and desktop view, can Joomla! be set to desktop view as default?