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
2answers
44 views

How to properly verify whether there's a token or not - Joomla checkToken() function

I have a page with a form, this form redirects the user to another page, however the user can only access this page if the form has been subimitted, for that I check if there's any token. I have the ...
1
vote
2answers
57 views

Ordering subform data

Wondering if anybody has ever come up with a solution to this problem; my research tells me not. A bit convoluted explanation but hopefully you can understand... I have a component which has both ...
0
votes
1answer
20 views

Js : onclick button not triggering

A set of buttons is no longer working and I can't work out why. The site is using Joomla and SP Page Builder Pro. There are 3 buttons that when clicked will change the price table. However these ...
0
votes
0answers
38 views

I can't get my module to register for updates

I have a module which I want to auto update (as per the JED requirements). I've set up the manifest file in the same way as my other modules (which work for auto update) but I can't get this module ...
0
votes
2answers
27 views

Is it possible to maintain meta keyword for each page?

I know that there is one place where we can actually maintain our keyword in Joomla Global Configuration-> Metadata Settings -> Site Meta Keywords, but is more like a place to dump all keyword of our ...
0
votes
1answer
18 views

Difference between offset and offset_user

I've been struggling to get the correct date and time in a module. I set global config to London (i.e. GMT which is currently 1 hour ahead of UTC) I set the date in my component to 2020-05-10 12:50:...
1
vote
1answer
40 views

How to set the <title> tag from component code?

How do I set the <head>'s <title> tag in MVC component's code? I know the page title (which would appear on top of the page) can be set in several ways but the <title> seems to be ...
0
votes
2answers
72 views

Custom JHtml method

I'm developing a custom library which will be used for custom JHtml methods: use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Uri\Uri; abstract class JHtmlKipengee { protected static $loaded = []; ...
0
votes
1answer
36 views

How can I create multiple users that can only edit and create articles/categories for their own permission group?

I have a website that has lots of companies on it. I want every company to have its own login where they can create categories and articles for themselves but only for themselves, they should not even ...
1
vote
1answer
52 views

Upload multiple versions(ex: 2.5 & 3.0) of the extension as single zip file in JED

I have an Joomla extension for both v-2.5 & v-3.0 in JED. After updating the v-3.0 extension locally, I uploaded it into JED. I see that there is written_ For multiple versions of the extension (...
2
votes
1answer
30 views

Language Override Include Site Details

I would like to create a language override for both site and administrator. The language constant I am changing is; RSFP_REG_EMAIL_ACTIVATED_BY_ADMIN_ACTIVATION_BODY The content of this is; Hello ...
0
votes
1answer
40 views

Display the component view or layout into a module

I've built my own component com_mycomp and in the component there is form in a layout and the path to this layout is: com_mycomp/site/layouts/subscription/form.php so I want to show this layout (form)...
1
vote
2answers
107 views

Change text in error message

I did a modification of one component for a contact, where the name of the file being sent as attachment is compared to the names in the database. Only if the name matches it is allowed to send. If it ...
0
votes
1answer
42 views

JRoute does not show the URL it is supposed to

I have the following problem: I set a URL with JRoute like this: JRoute::_('index.php?option=com_gallery&view=gallery'); This gives me example.site/gallery, which is correct, however, if I ...
2
votes
1answer
52 views

Show article details from custom module

I am trying to develop a custom module where I have options to select 4 different Joomla articles. In my module XML file, I have the following: <field name="articleOne" type="sql" label="...
1
vote
1answer
29 views

Error “Uncaught TypeError: Cannot set property 'value' of undefined” on submit form

I'm getting the following error when trying to submit a form using Joomla.submitbutton('book.submit') The error I get is: Uncaught TypeError: Cannot set property 'value' of undefined at Object....
0
votes
0answers
20 views

Joomla blank page after migration?

I have Joomla 3.3.1 version After migrating the web site to another host (with IIS server) I had a problem with blank pages when I click on a menu The home page is displayed well, the problem is just ...
0
votes
1answer
30 views

How to set HTTP header on Joomla's JSON response?

I am using Joomla\CMS\Response\JsonResponse to send a JSON response. $data= new \stdClass() $data->some_data = 1; $resp = new JsonResponse($data); echo $resp; How to set a HTTP header for the ...
3
votes
1answer
72 views

Easy way to identify Joomla deprecated Functions

We started Joomla extensions development from Version 2.5. During those days, we went through many training materials and able to complete the extension. Later as many releases evolved, and whenever ...
0
votes
0answers
12 views

How to install Joomla on Digital Ocean (Debian 9)?

I am a new user to Digital Ocean and I need to install Joomla to develop a small newspaper portal. I chose Debian 9, but I don’t know how to accomplish this task. I’ve researched here in the ...
0
votes
1answer
21 views

Layout for a custom component leads to a 404 Error

I need to create a new page for my custom component, however I don't want (and I don't need) to create a new view for that. I know that this can be achieved by creating layouts; the problem is that my ...
0
votes
0answers
53 views

Second set of fields does not show table results - BreezingForms - Mariadb

I have 2 set of fields: Set A (Field1, Field2), and Set B (Field3, Field4). Field1 loads data from Mariadb tableA according to user selection and then loads the corresponding data from tableA to ...
1
vote
3answers
53 views

How to inject a custom message in joomla update without touching the core code

I created my own component in joomla and I want to show a custom warning when my users want to auto update the component. When they try to update it joomla could not find the zip file and return a ...
0
votes
1answer
29 views

Default options on a multi-select form field using setFieldAttribute

We got a custom jform field as below <field name="select_course" type="courselist" label="Select Course" multiple="true"> </field> Assume the ...
1
vote
0answers
63 views

FIX or REPLACE: User profile page does not redirect to the requested page after forced password reset

I work on a custom Joomla! 3.x module. After registration, users would access my module by clicking a link in an email. I force users to change password at first login, so when they click the link, ...
0
votes
0answers
40 views

Form only posts regular HTML inputs (not posting XML fields)

I have a form (with XML fields) and it posts only the hidden fields type and other regular HTML inputs. It doesn't post the XML form. My form <form action="<?php echo JUri::base().'getpost'; ?&...
0
votes
1answer
27 views

Why are all permissions allowed for every user group

For some reason I can't deny permissions to some actions. Everything has in green: Allowed (Super User). Even when the setting is set to denied. For example here: in the public user group I set site ...
0
votes
1answer
14 views

SEF url and custom view

Was able to create a custom component and a custom view which I went ahead and attached a js library to. Now to achieve my desired functionality I need to create a custom url(SEF) in my route.php file,...
0
votes
1answer
51 views

Create a User Area

I'm wondering how i can create a User Area for users to login and gain access to a user panel (where user can update their info and specfic/custom actions). Because the Joomla user login ...
0
votes
1answer
37 views

How to pass a JSON file from a Plugin to a Component?

My intended application is to provide a list of products in a simple Joomla list/table display with check boxes where the end user can click on one or more items, press the print button and the data ...
0
votes
1answer
20 views

Ajax Request returning the whole page not a specifc value

I am trying to make an AJAX Request to my function in my controller and it works, however, it returns me the whole page which i don't want. I have tried encoding it with json but no success i also ...
0
votes
0answers
27 views

Submit an XML form via AJAX using Joomla.submitbutton/form

I know there are a few questions regarding how to submit forms with AJAX but i could not figure out how to do it in my case. Should it be something like this? $("#adminForm" ).submit(function( ...
0
votes
1answer
67 views

Cannot extend my custom component's validation rules — does not validate

I'm following along with this tutorial https://docs.joomla.org/J3.x:Server-side_form_validation My form <form> <fieldset name="form_name" addrulepath="components/com_mycomponent/models/...
1
vote
1answer
87 views

How to display urls of a custom component on breadcrumbs?

I need to display links of a custom component on breadcrumbs. How can i get it done? Example my component (site part) has the following url: site.com/gallery/animals/ where animals is the URL of ...
0
votes
1answer
30 views

How to conditionally filter the presentation of category when creating a new category/article?

I am looking for a solution for the following requirements: Display only the category of first level when creating new category. Display only the category of second level when creating article in ...
1
vote
1answer
37 views

Which one to use? grid.sort vs searchtools.sort

I have been looking at why column sort orders wouldn't change in the front list view of my component and found by changing <?php echo HtmlHelper::_('searchtools.sort', 'JGRID_HEADING_ID',...
1
vote
1answer
17 views

Confusion between links menu types and categories

I'm facing an issue with Joomla 3.9.16. I have created many categories, with sub-categories ; here is my organisation : I created corresponding menus and sub-menus to be able to put some modules ...
1
vote
2answers
23 views

Is there a way to disable “silent” Joomla pages?

For example: index.php?option=com_contact&view=categories&lang=en Perhaps you have never used this contact component and there is no menu item created for it, yet for most Joomla websites ...
2
votes
2answers
65 views

Query with INTERVAL won't work

I have the following query: $query->select('date') ->from('#__db_reports') ->where($db->quote('date < NOW() - INTERVAL 30 DAY')) $db->setQuery($...
0
votes
1answer
21 views

Using a different id name for Joomla forms

I have a form in Joomla that uses XML: <form action="index.php?option=com_content&view=contents" method="post" id="adminForm" name="adminForm"> <?php $this->form->...
1
vote
1answer
378 views

Joomla site overrides Array.from() causing Google Maps JavaScript API v3 to not work correctly

I'm working on a custom Joomla module that has an input field, where users can start typing the name of a city and the field offers a list of cities using the Google Places autocomplete API. The ...
0
votes
2answers
36 views

Remove /index.php from joomla 3x, I enable rewrite it removes the /index.php but leads to error 404 please advise

Remove /index.php from joomla 3x, I enable rewrite it removes the /index.php but leads to error 404 please advise except for the home page. Please help fix this.. thanks in advance.
1
vote
1answer
146 views

Linking JOOMLA! database to a flutter application

I created a Joomla website which has some forms to be filled. Is it possible to link this form to a database that a flutter mobile application I developed can retrieve data from? For example, the ...
0
votes
0answers
9 views

create Custom Integration to Sp Page Builder editor

i have created a portfolio component and i want integrate it with sp page builder to create better items when i checked the \administrator\components\com_sppagebuilder\helpers/integrations.php i see ...
0
votes
1answer
16 views

add Load Modulesbutton to text editor

i have created a portfolio component that use text editor , and i want add the Load Modules button unther the text editor , normaly it load the button automatickly on joomla articles .. also is there ...
1
vote
2answers
25 views

Unwanted transform translate3d effect in menu

My (J3.9.16) website has a horizontally aligned mainmenu for larger screens. It works fine on my iPad. If I tap on a parent item the child dropdown menu is displayed and if I tap the parent again, ...
0
votes
0answers
28 views

Display a form and post it to dabase

I want to insert a form in a default.php file and post it to the database. How should it be done? By adding an XML form or creating a regular HTML form and posting it to the database through a ...
0
votes
0answers
22 views

Add New Column in Admin user manage table

How do I add an extra column in the admin user manage table? I want the registration form to have a unique member number for me to assign a new user with, I then also want the member number to be ...
0
votes
1answer
64 views

Friendly URL for a custom component

I'm trying to create a friendly URL for a custom component but i can't manage to find a solution. I have tried JRoute but it hasn't worked out for me (probably i'm not doing it right). Does anybody ...
0
votes
0answers
32 views

Table '#__users' was not locked with LOCK TABLES

I don't know why but suddenly $table->store(true) returns this message. I've passed an object of data and then get the instance of the Table class by $table = Table::getInstance(); It gives me the ...

1
2
3 4 5
59