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
1 vote
0 answers
39 views

Use a placeholder in the Joomla Article title

I'm using Joomla 3.9 and had someone previously code in the ability to use the Joomla article title as the <title> tags ( browser title ) This works well using a current placeholder, for example ...
user avatar
  • 31
1 vote
0 answers
57 views

Use language override to create custom title tags for URL's

I have this piece of code that already runs on the pages I need this done. (The entire Joomla 3.9 site is a Frankenstein of custom code, components, etc. ) $placeholder_country = JText::_('...
user avatar
  • 31
0 votes
0 answers
41 views

Custom Javascript function on event Change for a Form field

In a form field of a custom component, I want to specify a javascript function for an onchange event like this: <field ... onchange="myCustomJavascriptFunction();" ...
user avatar
  • 197
0 votes
1 answer
33 views

Can a module used in an article have parameters?

Im quite new to joomla. As far as I understood, modules can be used in an article like building blocks. Example: {loadmoduleid 117} Goal I would like to give article authors a simple method to add ...
user avatar
  • 103
0 votes
1 answer
43 views

Manually render Clear form button in layout

I followed instructions here and I render some fields in my front end view, like this: echo $this->filterForm->renderField('search', 'filter'); Now I wonder how to manually add a clear button. ...
user avatar
  • 197
1 vote
0 answers
23 views

Is SweetAlert2 html parameter length limited in size?

I recently created a plugin for Joomla which uses the nice SweetAlert2 popup script and it generally works fine. However, surprisingly, when the size of the html message I use is too long, the box ...
user avatar
1 vote
1 answer
29 views

PieChart For RSForm for PlotaLot based on a dropdown field

So I got this Pie Chart to display the Count of Voters vs Position and it's working fine. SELECT Position, COUNT(1) AS count FROM ( SELECT MAX(IF(FieldName = 'Position', FieldValue, NULL)) ...
user avatar
1 vote
1 answer
56 views

Add a class attribute to 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 ...
user avatar
  • 189
0 votes
0 answers
5 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 ...
user avatar
0 votes
1 answer
48 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 ...
user avatar
  • 197
0 votes
0 answers
10 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
user avatar
  • 1
1 vote
1 answer
24 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, ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
1 vote
1 answer
236 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\...
user avatar
  • 197
2 votes
1 answer
52 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-...
user avatar
  • 31
0 votes
1 answer
36 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]...
user avatar
  • 308
0 votes
0 answers
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?
user avatar
1 vote
2 answers
52 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 ...
user avatar
1 vote
1 answer
91 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 ...
user avatar
1 vote
0 answers
39 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 ...
user avatar
  • 11
0 votes
1 answer
36 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 ...
user avatar
  • 15
2 votes
1 answer
23 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 ...
user avatar
  • 3,491
1 vote
2 answers
31 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 ...
user avatar
  • 2,180
1 vote
0 answers
27 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 ...
user avatar
  • 11
1 vote
1 answer
18 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 ...
user avatar
  • 111
0 votes
0 answers
22 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 ...
user avatar
  • 1,737
0 votes
2 answers
49 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 ...
user avatar
  • 161
0 votes
0 answers
17 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 ...
user avatar
1 vote
1 answer
31 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 ...
user avatar
  • 125
0 votes
0 answers
42 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 ...
user avatar
  • 125
1 vote
0 answers
16 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 ...
user avatar
1 vote
1 answer
56 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 ...
user avatar
1 vote
1 answer
36 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 ...
user avatar
  • 125
2 votes
1 answer
90 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 ...
user avatar
  • 2,180
1 vote
2 answers
28 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 ...
user avatar
  • 113
1 vote
2 answers
54 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')) ...
user avatar
  • 13
0 votes
0 answers
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") ...
user avatar
  • 101
0 votes
0 answers
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, ...
user avatar
1 vote
1 answer
52 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 ...
user avatar
  • 11
0 votes
2 answers
58 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 ...
user avatar
  • 51
0 votes
1 answer
26 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() ...
user avatar
  • 2,651
0 votes
0 answers
45 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 ...
user avatar
2 votes
1 answer
376 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 ...
user avatar
  • 3,491
0 votes
0 answers
22 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"...
user avatar
1 vote
2 answers
73 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 ...
user avatar
0 votes
1 answer
90 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?
user avatar
  • 1
7 votes
1 answer
117 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 ...
user avatar
  • 26.4k
1 vote
0 answers
35 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 ...
user avatar
  • 111
1 vote
1 answer
19 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. ...
user avatar
  • 2,651
1 vote
1 answer
49 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, ...
user avatar
  • 13

1
2
3 4 5
63