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
5 views

Add a body tag when a user is logged in

I want Joomla to add a class like "loggedIn" to body classes, when a user is logged in the page, in order to use this class and make specific css changes for logged in and non-logged in ...
0
votes
0answers
4 views

Is there an update for art-calendar 3.2.4 that fades out the previous and next month's days?

I was trying to figure out how to set the fullcalendar 2.7.1 used in art-calendar 3.2.4 to showNonCurrentDates = false but this variable is not existent in version 2.7.1 from art-calendar 3.2.4 joomla ...
0
votes
1answer
11 views

How to render joomla.searchtools filters in the front end of a custom component?

I'm trying to render the joomla.searchtools in the front end of a custom component. I extended JModelList for my model, and I can see the list in the front end. Pagination works well. But when in my ...
0
votes
0answers
9 views

Why are my positions in different places when viewed in different browsers for the Protostar Joomla template?

I'm using Joomla 3.9. Position 7 is to the right for the Edge browser, but on the bottom for Chrome. How do I make sure it's on the right for all browsers? Edge Chrome
1
vote
1answer
21 views

What is the recommended way to reproducibly override an administrator layout?

I need to override an administrator layout, and the override needs to be easily reproducible in different Joomla installations. Currently, we are using extensions to achieve reproducibility. However, ...
0
votes
0answers
9 views

How to style a Fabrik (Joomla) form?

I'm new in the joomla world and I don't know very well how to style a form created with fabrik, I don't know where to add the styles or anything. If you can guide me it would be of great help. Thanks ...
1
vote
1answer
62 views

How to output just raw json from my Joomla controller for Ajax requests?

I want to create a Joomla json response for an Ajax request. So, I followed the instructions here: JSON Responses with JResponseJson I implement the following code in my controller: use \Joomla\CMS\...
2
votes
1answer
43 views

Why is Joomla redirecting from example.com to example.com/example.com?

I was advised to post here from Stack Overflow We need help. We're running an ad campaign and realized that a lot of paid traffic was landing on a 404 not found page. The issue is caused by auto-...
0
votes
1answer
31 views

Get Object Values

I use this code: $currency = new MyCurrency(); print_r($currency); to load/print the following Object: MyCurrency Object ( [currencyCode:protected] => EUR [currencies:protected] => Array ( [USD]...
0
votes
0answers
9 views

Email notifications for expiry item on K2 (Joomla )

Is there anyway to email the author of the item/article about the upcoming expiry of an item?
1
vote
2answers
28 views

How to add specific js and css to a particular page in joomla?

I have added the html code using sp page builder extension also need to add css and js to this particular page in joomla 3. i am using t3 blank template is there any procedure to add this or any ...
1
vote
1answer
85 views

GROUP BY and ORDER BY from different tables of CB extension as outcome to a list

I am trying to figure out how to implement this. Table1 with subscriptions AS sub id, status, user_id, plan_id, parent_plan, parent_subscription Table5 users (Joomla) AS u id Table6 fields AS ue ...
1
vote
0answers
36 views

Migrating from Joomla 3 to Joomla 4 router alias problem

In my old router.php file at function COMPOENTParseRoute($segments), I get "404 Page not found". The error is caused by line 153 of /libraries/src/Router/Router.php. If I create the new ...
0
votes
1answer
35 views

in joomla 3.X : How to change or edit Component Url in html page source code?

For the security reasons, How we can change or edit the Joomla3.x Component name inside HTML source code by changing the Component URL. For example; When we display the HTML source code for any page ...
2
votes
1answer
17 views

HTML Alert enqueueMessage

Joomla 3.10.1 I am using the following code to display a custom message in one of my components: $app->enqueueMessage(JText::sprintf('This is my message'), 'warning'); This produces a dismissible ...
1
vote
2answers
27 views

CLI function requires a Plugin with an access level of registered

I have a CLI function that runs daily and a key part of its processing uses a Plugin to create a connection with an external source to retrieve data and it works fine when the Access Level on the ...
1
vote
0answers
13 views

"404 Component not found" when trying to set an image for a category

I'm experiencing a really weird error in the backend of my site - Whenever I try to set an image for a category or article, the modal that pops up just shows me the Joomla dashboard. When I'm editing ...
1
vote
1answer
16 views

Event for user creation in administration

Is there an event like onUserCreation() for the backend in J3? So if an administrator creates a new user, specified code (e. g. from plugin) is executed. In the API guides I didn't find any obviously ...
0
votes
0answers
19 views

Incorrect Joomla version being displayed

Here is a random question. I have Joomla 3.10 installed on a client site. I am getting a notification on the backend that Joomla 3.2.7 is now available to be installed. When you click the notification ...
0
votes
2answers
48 views

JavaScript toggle code works in J4 but not in J3

I have some simple code that hides or shows a div (that will contain an embedded contact form) when a button is clicked. I first set it up in J4.0.3 and it works fine, but when I tried in J3.10.2 the ...
0
votes
0answers
14 views

Virtuemart Registration form if username is already exists then it resets the entire form every time

Basically when registering, if the username already exists then it resets the entire form every time. Which is understandably annoying for clients who now have to re-enter the information onto the ...
1
vote
1answer
28 views

com_ajax call is hitting function but not returning result from other function call

I'm using an ajax call that hits the immediate function fine, and then returns a dummy value via dump(). However, when I change it to call another function and get my data rather than using the dummy ...
0
votes
0answers
32 views

com_ajax resulting in immediate 500 error in Joomla module

I'm currently using the com_ajax component in order to make an internal ajax call/response in my custom module, but upon the ajax call I immediately get a 500 error. This is the code in my default.php ...
1
vote
0answers
13 views

CB Conditional field not letting me add extra AND rows

I am trying to create a CB Conditional Field Show using an AND row, and it just won't let me. I can add OR rows to my heart's content, but not an AND row. I click on the 'Add AND rows' and not a ...
1
vote
1answer
30 views

how to override mvc component in joomla 3?

How to override the any component controller model files using plugin in joomla is there any documentation for that?. I found documentation very old in joomla articles. i have been trying to create a ...
1
vote
1answer
30 views

Ajax call from module default.php file in order to fulfill a sql query

I have a fully working module in Joomla, but I'm struggling with the last piece which is sending a value from Javascript in my default.php file into the helper file, where it will be used in a sql ...
2
votes
1answer
89 views

Display instructions or other text in Plugin

I would like to display some basic text, instructions and maybe a change log in HTML would be nice, under the first tab of my Plugin, what methods or techniques are available? In my sample screen shot ...
1
vote
2answers
22 views

Share code between component templates

In a complex component, there will be a number of /views/viewname/tmpl/default.php (or similar) files. It is quite likely that different views will share common features. Duplicating code is generally ...
1
vote
2answers
39 views

Database query with OR WHERE and AND WHERE not working

I'm creating a custom search form in Joomla! to search articles from certain categories. Here is my query: $categories = array('2', '12', '16'); $query ->select(array('id', 'title', 'catid')) ...
0
votes
0answers
32 views

Manipulate values of form before sending

A customer of mine has a Joomla website with several forms. When submitting these forms an email is sent to my customer with the content. Unfortunately the preset values ("value if empty") ...
0
votes
0answers
14 views

How to redirect virtuemart user to orders page after registration

I used the VirtueMart component on the Joomla website and users must register an account through VirtueMart. Users do not need to confirm their email address after registration and after registering, ...
1
vote
1answer
28 views

When a user logs in it always goes to edit-your-profile page

Joomla version: Joomla! 3.10.1 Stable PHP: 7.4 This joomla website doesn't have many plugins. I only have OneSocial plugin. Anyways, I am willing to try any suggestions at this point, I have tried to ...
0
votes
2answers
38 views

Form-Fields-Fieldset-showon issue

For a component I have a field item_type that needs to be saved in its own database column for ease of searching, filtering etc, and a set of configurations which have global option defaults so are ...
0
votes
1answer
22 views

Visual code is unable to identify method inside model

I am using Microsoft Visual Code for custom Joomla development. The below code is from one of the controller php file. Public function savecontact(){ Joomla\CMS\Session\Session::checkToken() ...
0
votes
0answers
28 views

Cannot add Amazon Banner Links in Joomla Site

I am brand new to Joomla and it appears that it does not allow JavaScript codes to run by default. I am running my website on the latest version (3.10). I have looked all around the internet, disabled ...
2
votes
1answer
174 views

Joomla 3.10.1 Pre Update Check Missing

I upgraded a few of my sites from 3.9.28 to 3.10.1 today. I can't see any pre-upgrade check as described here https://docs.joomla.org/Pre-Update_Check I've cleared the site cache, refreshed the page ...
0
votes
0answers
20 views

Pre-update checker in J!3.10 shows No Compatibility Information even if xml is filled

Pre-update checker in J!3.10 shows No Compatibility Information even if xml is filled. In the pkg_myextension.xml, i have the following : <updateservers> <server type="extension"...
1
vote
2answers
57 views

How to create joomla plugin with jquery code

What is the best way how to add jquery code by Joomla plugin? How can I set that these code should be applied just for checkout page of VirtueMart in xml file? Is this the best way? <?php // no ...
0
votes
1answer
40 views

Is it possible to get the page data in json format?

Wordpress offers the the ability to get the page in json format by adding /wp-json/ to the url. Now my question is, does Joomla offer a similar option where I could retrieve the page in json format?
7
votes
1answer
104 views

Joomla extension update 3.x and 4.x

I have an update server for my extensions, which targets Joomla 3.8 and 3.9 <targetplatform name="joomla" version="3.[89]"/> With the release of Joomla 3.10 and 4.0 coming ...
1
vote
0answers
30 views

Add avatar field to user component

Joomla 3.9.28 PHP 7.4.21 I added a field to the "Users" component to let the users have an avatar photo. This field is set to "Media" type. However, in the Administration of the ...
1
vote
1answer
18 views

Undefined class in Visual Code for Joomla Extension Development

I am new to use Visual Code for Joomla development. Watched few videos and referred https://docs.joomla.org/Visual_Studio_Code to setup the IDE. I opened couple of PHP files and noticed few errors. ...
1
vote
1answer
26 views

Filter Categories in Tagged Items Menu Item Type

I'm making a menu to retrieve all articles that have certain tags and are from a certain category using "Tagged Items" menu item type, I managed to get all articles that have certain tags, ...
1
vote
0answers
38 views

I manually added a field to frontend article submission form but it does NOT save the data. What is wrong?

I created a frontend form override for article submission tmpl/form/edit.php and added the following field as plain HTML <input type="text" name="jform[attribs][videourl]" id=&...
1
vote
0answers
64 views

Multiple Stripe Webhooks for checkout.session.completed from various Joomla components

Scenario Site has OSMembership for subscriptions Site has RSForms Pro for registering for in person / virtual courses Site has J2Store for some miscellaneous products In Stripe, I've set up two ...
1
vote
0answers
55 views

How can I give pages URLs with two layers of slashes in them?

I have a page at www.website.com/page51 with 0 layers of slash items in the URL (only the website and the page alias) and I want to make it have two layers of slash items, as in www.website.com/layer1/...
0
votes
0answers
12 views

Capture multiple images using camera in file upload field in RSForm Pro

I want to capture multiple images using camera in file upload field in RSForm Pro. Currently, it won't allow me to capture multiple images in the single field. Please see the file upload field, in ...
1
vote
1answer
31 views

Place article specific scripts in head section

I'm using a lot of javascript files for my articles. These scripts shouldn't be loaded everywhere - only in certain articles. That's the reason why I don't add them inside of the templates´ head. At ...
1
vote
0answers
26 views

Adding custom fields on the fly in JOOMLA 3.9

I am trying to develop a hobby project based on https://www.themealdb.com/ api. I am trying to create an article programmatically for https://www.themealdb.com/api/json/v1/1/search.php?s=Arrabiata and ...
1
vote
0answers
33 views

Using sql field in custom component

I have a custom component, it allows admins to select a related content article from the #__content table using the following: <field name="relatedcontent" type="sql" default=&...

1
2 3 4 5
62