All Questions

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

Change default joomla Backend Language programaticly

I have an Joomla Component installed which does support multi Language. But if I import Data via Api, I can't import im different Language, only in default Backend Language. Unfortunately the owner of ...
0
votes
2answers
20 views

How do create an update for your existing Joomla plugin I've written?

I've written a simple Joomla plugin that I've been using for a year. I want to write an update for it. It would change what is in the .xml file and some code in the .php file. How do I go about ...
0
votes
1answer
11 views

Joomla Contact Component - can I change “Miscellaneous Information” to “Bio”?

I don't want my board members bio's to be called miscellaneous information. To avoid that I'm putting bio's in the address field! This is not a good permanent solution. I would like to know if there ...
0
votes
0answers
22 views

How to fix problem with relative path Joomla for a module using editor form field?

I have created one module in Joomla and added one form field of the type editor inside the manifest-XML. <field type="editor" name="myeditor" default="" buttons="true" hide="...
1
vote
1answer
18 views

Extend an administrator class in the front end code

I have just upgraded my site from Joomla 3.7 to 3.9 and I am getting errors related to my code for a component model class that extends an administrator component model class. The require_once line ...
0
votes
1answer
32 views

Why is password reset being triggered without user submitting the form?

Multiple users are reporting their 'forgot password' / password reset function is being triggered, and that they're receiving emails with the verification code etc, even though they didn't request a ...
0
votes
1answer
40 views

Custom joomla template navbar issue

I am totally new to this kinda stuff but i have got this index.php(index.php) and this template.Details.xml(templateDetails.xml). But the navigation bar looks completely different than this . It now ...
0
votes
1answer
23 views

how to get value for search in joomla module

how to get value for search in joomla module. Does anyone know how to get the value for the search field? my problem is that after i search for specific data it still shows everything In my helper....
1
vote
1answer
36 views

How to collect multi-row data from #__fields_values and assign specific aliases for each value in the result set?

I have the following (working) query to get name, username and the value of a custom field: // Get a db connection. $db = JFactory::getDbo(); // Create a new query object. $query = $db->getQuery(...
1
vote
0answers
13 views

How to set default permissions of files uploaded through Joomla Media Manager?

I'm running Joomla(3.9.8) on an Apache/PHP server on Linux. If you touch a file as the server user (and from PHP running on the server), the permissions of that file are: -rw-rw-r--. However, if a ...
1
vote
0answers
11 views

Multiple Subform field in module - add multiple items at once

I have a mutliple subform field with radio buttons. All other fields load by showon of the related parent radio select. If there was added more than one item without saving successively, the radio ...
0
votes
1answer
21 views

How to make field attribute label work

Recently, I add a field tag into the filter_workitems.xml, which looks like: <field name="show_this_week" type="CheckboxCustom" label="sohw this week" description="" value="1" class="" onclick=" ...
1
vote
3answers
241 views

Joomla 3.3.6 Union SQL Issue

I am having trouble using the union functions in Joomla. This is the SQL I need: SELECT * FROM (SELECT o.title AS org_name, u1.name AS username, 'president' AS `type` FROM ...
1
vote
2answers
59 views

How to re-write sql for joomla JDatabase

I am new to custom Joomla coding so excuse me for this, I want to execute the following statement: "SELECT MAX(CASE WHEN v.FieldName = 'Team_Name' THEN v.FieldValue END) 'Team_Name' , MAX(...
2
votes
2answers
195 views

How to retrieve RSForm submission data grouped by SubmissionId?

I have a table with 3 columns: SubmissionId, FieldName and FieldValue. 1) SubmissionId keeps ID submission. 2) FieldName stores field name of a form. 3) FieldValue stores field value of form field. ...
1
vote
2answers
182 views

How to refactor two select queries on RSForm submission data?

I was wondering if anyone could help me JOIN multiple queries into one query. Currently, these 2 blocks of code retrieve information from the DB. I am using the "Sourcerer" plugin to add custom PHP ...
0
votes
1answer
26 views

htaccess to hide Joomla in public_html -> subfolder

I installed Joomla using a quickstart package and store the files in a subfolder (named: jml) in public_html/jml. I normally use the following commands to rewrite the url from https://www.test.com/jml ...
1
vote
1answer
32 views

How to add userinfo to link in Joomla Page

We have a Joomla site (latest version) with a page that links to another system with a fixed username/pw, so like https://www.othersystem.com/login.php?un=[fixed_un]&pw=[fixed_pw]. Now we need ...
0
votes
0answers
17 views

Magically sections and positions getting lost or deleted

I have an issue on multiple pages, which I cannot explain myself. All pages have in common that they use gantry 5 based themes nearly the same plugins the magically disappearing section is <...
1
vote
0answers
14 views

How to avoid showing to users errors of type SQLSTATE?

I try to avoid showing this type of messages to the user I have tried to do it by modifying the global configuration but without success, I specifically modified the options Global configuration> ...
0
votes
1answer
16 views

Listening for a “image upload” event

I want to be able to programatically keep track of new images that have been added, so that I can periodically run a script that does something with the new images. My idea is to have a plugin that ...
0
votes
2answers
38 views

How to tell if the file can be overridden?

How do we alter the output of a Plugin that is installed in a Component (Example: "ABC" plugin installed in a Component "ABCD")? I understand that the core files can't be overridden. But how do we ...
0
votes
1answer
23 views

Remove default settings from fieldset basic in module

Is it possible to remove the default settings (sidebar) in fieldset name="basic" (Display title, module position, state etc...) and put them in a separate custom tab?
3
votes
3answers
221 views

Contacts Page 'Alphabet Bar'

Joomla 3.6.5 I would like to display an "Alphabet Bar" on my contacts page, the menu item type is List Contacts in a Category. I have 150 contacts, and they are all in the same category. Currently ...
0
votes
1answer
45 views

Joomla 4 - import parent field class into extending field class issue finding the files

Testing my Joomla 3.9 extensions in Joomla 4, some of them didn't work, because, as instructed with the (probably) old documentation my custom fields use jimport('joomla.form.formfield'); ...
1
vote
1answer
26 views

As JSubmenuHelper is deprecated, how to migrate to JHtmlSidebar?

The only source I found about this is from this post: Replacing JSubmenuHelper with JHtmlSidebar / Administrative menu in Joomla 4 The issue here is that I tried it, and it doesn't show the Sidebar ...
2
votes
1answer
36 views

How can you hide Joomla admin password while inputting the characters?

I have followed the advice at autocomplete disable in joomla administrator. How can I hide the password characters while I am typing without losing the functionality provided by Zollie?
0
votes
1answer
22 views

How to retrieve do JomSocial Activity Link based on activity ID?

I have this situation: <?php foreach ($activities as $activity){ // user $user = CFactory::getUser( $activity->actor ); $name = $user->getDisplayName(); $link = CRoute::_('...
0
votes
1answer
17 views

Is it possible to edit the SQL custom field to be multi-select?

I want to be able to select multiple values with the SQL custom field. Is this possible? When I use a query which as multiple results, I can only pick one. I found this post: Creating custom field ...
1
vote
1answer
28 views

Installing language from CLI

Does anybody know of a way to automate the installation of language packs via the CLI, as opposed to using the Extensions -> Language(s) menu in the administrator CMS? I am automating a site build ...
0
votes
1answer
7 views

How to override a link's href attribute in mod_menu?

Better title might be 'How to set the menuItem object 'link' property?' I've used menu overrides for a variety of purposes such as changing layout and styling etc but would now like to change the ...
4
votes
4answers
3k views

Jimport - Is it required anymore?

Back in the Joomla 1.6/1.7 days, my understanding was that when you wanted to use the filesystem API, for example: JFolder::create(...); You had to import the Filesystem using jimport, like so: ...
1
vote
0answers
17 views

List every contact including the ones in subcategories

I need a phone book with all people of the organization, but also need a separated phone book for each department. We have a "Main" category, with a few subcategories. I cannot duplicate the personal ...
1
vote
1answer
55 views

Joomla 3. How does MediaVersion works?

I faced a problem in Joomla 3. For example, I try to add a JavaScript file with auto-version option: JHtml::_('script', '/path/to/script.js', array('version' => 'auto')); It works. CMS adds to ...
0
votes
2answers
15 views

Change the 'New Article' message sent to admins

I have a site where registered users can add content in the frontend and when added administrators are sent an email, notifying them of a new article. This is driven by languages constants: ...
1
vote
1answer
17 views

Create a link from Backend to SEF Path in Frontend

I would like to create a link in Administrator Panel that redirect a user to an SEF url in Frontend. Code in Backend <?php $link = JUri::root() . 'index.php?option=com_content&view=article&...
1
vote
1answer
26 views

Get value for joomla calendar input box to use in ajax call

I have a joomla calendar set up: <?php defined('_JEXEC') or die; JHTML::_('behavior.calendar'); echo '<div id="calendarBoxes" >'; echo '<div id="...
3
votes
3answers
263 views

How to prevent password reset from disclosing private email addresses?

The "Forgot your password?" password reset form in Joomla 3.x can disclose that an email address is registered with the site. This is a personal privacy violation which is illegal under some privacy ...
0
votes
1answer
50 views

How to get the canonical SEF URL of an article in PHP?

Is there any way to get from the article it's SEF URL? <?php $id = JFactory::getApplication()->input->getInt('id'); $article = JTable::getInstance("content"); ?> searching ...
1
vote
1answer
18 views

What is the reason pagination of records its not working?

Following the Developing an MVC Component / Basic backend guide, I can't make the pagination to work, following the instructions this is the code I have, the records are listed properly and the ...
2
votes
4answers
74 views

How to use cookies to populate RSForm fields without notices/warnings?

I have used this code to save the RSForm data in a cookie and if the user tries to fill in the same form again, the previously entered data is loaded as default values: Script called on form display: ...
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 ...
6
votes
3answers
11k views

How to get the intro image of a joomla article

I am trying to customize the the category list of my website. So I have a menu option that shows the list of all article is a certain category. In this list I would like to show the into image of the ...
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\...
1
vote
1answer
144 views

How to clear page and component caching by a URL in Joomla 2.5.x?

There is a website made in Joomla 2.5.x. It has System Cache enabled. The website contains a component called com_magic that handles URLS like: https://websiteurl.com/bikes?view=best https://...
24
votes
4answers
37k views

Get the current Joomla URL

The following code works in Joomla 1.6, but it throws up a Strict Standards error in 3.x: Strict Standards: Only variables should be assigned by reference //Get the full URL for sharing ...
2
votes
1answer
39 views

Get module params in custom form field

I need to get all other module field-params of the current module inside of a custom form field in backend. In tmpl/default.php it works with: $bgcolor = $params->get('bgcolor'); But in custom ...
0
votes
1answer
15 views

Can't bind joomla user to Fabrik element of type user - becomes Super User

I started using Fabrik. I want to have a system with buildings and user (to put it simple). Users I suppose can be bound to "real" Joomla users... So I have a list "users" that have a element "...
0
votes
1answer
69 views

configuration.php unwritable when permission is 0644 but writable when 0664

My Joomla is 3.9.4. When I tried to make some global configuration change in the backend, I got this error: Could not write to the configuration file. I looked at the file system, configuration....
0
votes
1answer
23 views

emails not sent from controller

I'm using a custom function in my controller to send emails, but the emails are not being sent. My code: function sendestimation() { $jinput = JFactory::getApplication()->input; $email = $...

15 30 50 per page