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

Application shows session_start(): Failed to read session data: on browser

I have hosted a website using a backup and when I access it through a web browser, it shows me error and I have changed configuration.php file from: public $error_reporting = 'none'; To: public $...
0
votes
0answers
6 views

Can't access Joomla site after failed akeeba backup

Sorry if this is the wrong forum but I can't find any help elsewhere. I tried to take a backup with akeeba but it got stuck so I closed the browser but now I can't access anything. 504 Gateway Time-...
0
votes
1answer
12 views

Keep user logged into Joomla session after browser closed

How can I keep a user logged in after they close the browser? I don't want the user to have to log into the site every time they visit it. I have increased session lifetime, but that does not work ...
1
vote
0answers
45 views

In standard Joomla 3 how to decide the length and perhps parts of a text of an article in Archive listing

I am a beginner and should like to have certain length of archived articles to appear in search result. Currently ~ 110 characters appear at the user screen. I looked over the different menus in this ...
0
votes
1answer
39 views

JFormField extension doesn't access $this->element from the constructor

I'm creating my custom Field extending the clasic JFormField like this: class JFormFieldExtension extends JFormField { protected $type = 'extension'; // Constructor public function __construct(\...
1
vote
1answer
34 views

Render an admin view to a site template in Joomla!

Recently I am facing a challenge. I have a view and two layouts. Say the view name is form and the layouts are edit, edit-frame. Now I want to render the edit-frame layout into an iframe. This is the ...
0
votes
1answer
39 views

Virtuemart Call for price form submission allows user to got logged in to the frontend of the website

Virtuemart Call for price form submission allows user to got logged in to the frontend of the website if the user has a account with a submitted email id. how to get resolve this issue?
2
votes
0answers
55 views

Custom Component, display function is not called from specific view/controller

I have made a custom component, also with help from component-creator.com. But I am struggling with display methods. For example I want to check something in the display method, but when I try to add ...
0
votes
1answer
17 views

Periodically (monthly) delete files in a specific folder

I am wondering if there is a way (script/extension) to delete files from a folder after a certain file has reached the age of 30 days. For example, I have a folder which receives uploaded files daily. ...
1
vote
0answers
28 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 ...
1
vote
0answers
50 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::_('...
0
votes
0answers
23 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();" ...
0
votes
1answer
28 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 ...
0
votes
1answer
21 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. ...
1
vote
0answers
22 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 ...
1
vote
1answer
20 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)) ...
1
vote
1answer
46 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 ...
0
votes
0answers
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 ...
0
votes
1answer
15 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
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
1
vote
1answer
23 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
13 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
98 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
47 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
34 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
33 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
88 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
29 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
15 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
21 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
15 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
30 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
37 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
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 ...
1
vote
1answer
31 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
31 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
26 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
44 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
31 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
41 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() ...

1
2 3 4 5
62