All Questions

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

Rendering fields of custom subform in individual layout

So inside a custom component (com_mycomp), i need to output the single fields of a subform field custom arranged. Sounds simple, but I can only get it to be rendered in default vertical order. I can't ...
user avatar
  • 101
2 votes
1 answer
65 views

Add a field (Sql or List) in article options with a search bar inside in Joomla 4

I added a field type "sql" to show a list of options in the Article Options in Joomla 4. But I need to add a field like this with a search box inside to looking for one of the voices typing ...
user avatar
0 votes
0 answers
23 views

Joomla 4 REST API - Create User with required fields

When creating a new user over api - this works fine when there are not user->fields with required fields present. However, as soon as you mark a field as required - you must include that item in ...
user avatar
2 votes
0 answers
58 views

How can I change color of a button with internal link based on the URL in Joomla?

First of all, I apologize for my bad English. In one of my Joomla pages I have created a kind of menu with buttons that lead, each one of them, to an internal search page. I'd like to get each of ...
user avatar
0 votes
0 answers
13 views

Payment plugin for Documents Seller

I am trying to build a payment plugin for Joomdonation Documents Seller. I can send an order to a Bank and pay, but after that I am having a problem. When an order is created and sent, it has status: ...
user avatar
1 vote
1 answer
36 views

cant display simple text onContentPrepare

I just want to display simple text and this is not working. I don't know is there a way to see something like log to see what happens in the background? public function onContentPrepare($context, &...
user avatar
  • 11
2 votes
1 answer
26 views

How to check if site is in maintenance mode in Joomla 4?

I need to determine if the site is in maintenance mode. Pseudo code: if (*site is in maintenance mode*) { // do this } else { // do this other thing }
user avatar
3 votes
1 answer
37 views

Deleting user account when user has published articles

We've got a few dozens registered users on our website. They all have the right to publish, and edit articles in selected categories. Some of those users no longer need their access. So I can either ...
user avatar
  • 175
1 vote
0 answers
37 views

getting first image of article for open graph

I've been a PHP developer for long time, but I am new to Joomla. On a Joomla 2.5 project, I need to make open graph meta tags. As a part of open graph meta tags, I need to find first image of article. ...
user avatar
  • 121
0 votes
2 answers
304 views

Error: Failed to start application: Failed to start the session

I have hosted web application develop using joomla in ubuntu 20 and use mysql as database. one i hosted and viewed in the web browser it show me Error: Failed to start application: Failed to start the ...
user avatar
0 votes
0 answers
12 views

How to execute external application in Joomla 3.10 and pass parameters

My scenario is very simple. I want execute a URL menu item to call an external application and pass parameters in the URL. Example: I want to execute my external app "Reporter" and pass the ...
user avatar
1 vote
0 answers
16 views

Retrieving state variables using Ajax in 3.10.4

I have a site which displays a directory of registered users on the frontend. I've allowed users to select topics of interests when they're registering. In the directory they then can search by names ...
user avatar
  • 173
1 vote
0 answers
10 views

Redirect component adding strings to new URL

I have a Joomla 3.10.5 site that has recently been reorganized, so we are redirecting the old broken links to their new locations. However, every day when I reopen the component, the new URLs that I ...
user avatar
  • 121
0 votes
0 answers
16 views

in jDownloads 3.9, how do I make the link to downloads the actual download name, rather than "?task=download.send"

I recently updated jDownloads on my Joomla website from 3.2 to 3.9. I noticed that now, when I hover over a link in a category, instead of using the download's name, like it used to, it's now using a ...
user avatar
  • 111
1 vote
1 answer
25 views

Change first item in Breadcrumb to custom static link

I've got this bit of code that works well for my Joomla setup However, due to the way my main menu is set up, the first item in every page we have breadcrumbs enabled is always "Products" ...
user avatar
  • 31
0 votes
1 answer
16 views

Is it possible to let the visitor select from different style versions of the site?

I am asking myself if it is possible for an existing website to let the anonymous visitor select another template on the fly. The idea behind this is: There are people out there that prefer e.g. a ...
user avatar
1 vote
0 answers
69 views

render Subform repeatable custom fields joomla4

I have created one subform custom fields in my Joomla 4 article from backend and selected media filed at subform and use this code for load custom fields at joomla article YOUR_JOOMLA_WEBSITE_ROOT/...
user avatar
2 votes
1 answer
38 views

Conditional client side validation

I have a field on my form that is required if another field contains a certain value but otherwise is optional. I have set up a custom validator as follows: document.formvalidator.setHandler('...
user avatar
1 vote
3 answers
171 views

Execute Joomla CLI script to bulk import JSON data to articles

I have the following PHP code working to bulk add array items from JSON to com_content. The code is executed by directly accessing the file in the web browser. For example, http://examples.com/json-...
user avatar
1 vote
1 answer
34 views

J4 - Custom Profile Plugin - Hiding Groups

I have a custom profile plugin to extend user profile data. I want to add a switch to hide all BUT the core group of fields when the user checks and edits their profile. In my plugin (profileabc.php) ...
user avatar
1 vote
1 answer
33 views

Custom fields for different table structures in custom component

I'm trying to use custom fields on my component. That works fine so far, but I have multiple data structures (tables) in my component, where I want custom fields to work. Everything works when ...
user avatar
  • 101
2 votes
2 answers
233 views

Loading a helper file in Joomla 4

I'm having trouble with using a helper file in Joomla 4, I'm not really sure where I'm going wrong. I have a helper file in my template, like templates/mytemplate/html/helper.php and this works well ...
user avatar
1 vote
1 answer
49 views

Simple Joomla plugin not working on frontend

I have a simple Joomla 3 plugin that works fine on backend for resizing images when uploading from multimedia manager: <?php defined('_JEXEC') or die('Restricted access'); class ...
user avatar
0 votes
1 answer
26 views

How secure is the Note field in a Joomla Article?

I'd like to know how secure is the Note field in a Joomla Article? I'd like to put a Note in there just for the Joomla Administrator to see. Is there any likelyhood this could become visible elsewhere ...
user avatar
1 vote
0 answers
15 views

Upload volume changes do not apply to php.ini

Hi I have a centos 7 server and a cwp 7 panel. I have the latest version of Joomla and WordPress installed on them. The size of uploaded files in Joomla is 2 MB. I increased the upload_max_filesize ...
user avatar
1 vote
1 answer
32 views

joomla 4 custom field auto text cleanup

I have this Joomla 4 installed website and I need a custom field(Editor type) for my product specifications which is going to be showing a table. For example, if I put this code: <table> <...
user avatar
0 votes
1 answer
32 views

How can I block a JavaScript script running when a modal is open?

EDIT: I shouldn't have asked this question. See my answer below. I have my own custom template on Joomla 4.0.6 with a simple scroll-to-top function. If I open edit an article on the front end, however,...
user avatar
  • 161
1 vote
0 answers
44 views

Delete Thumbnails Button Created as Joomla Custom Form Field Throws Me Out

I am developing a Joomla 4 Content Slider Module and it creates thumbnails in the mysite.com/cache/mymodule/ folder. I am trying to add a delete-thumbnails button. I am using a custom form field for ...
user avatar
  • 21
3 votes
0 answers
63 views

Why can I not use a params variable for the JText translation constant?

I'm working on a component, and within the component configuration I have a selector for the admin to choose the date format to use when displaying items. It seems to me a perfect use-case for ...
user avatar
  • 585
4 votes
1 answer
205 views

Coding Standard Question - defined( or \defined(

A general Joomla! coding question... Checking _JEXEC is defined. In administrator/components/.../src/everywhere it is defined('_JEXEC') or die; use function defined; Whereas in components/.../src/...
user avatar
  • 128
0 votes
1 answer
61 views

How to restore Isis template and see it in Extensions->templates

I am trying to restore the Isis template. I have reinstalled the zip file from Git. I can see the Isis folder and all of it's files under Administrator/templates, BUT I cannot see it in the Admin ...
user avatar
1 vote
2 answers
385 views

Loading the built-in jQuery in Joomla 4 if it does not exist

Tell me please. How to load jQuery in Joomla 4 if it has not been loaded yet?
user avatar
  • 111
0 votes
1 answer
25 views

Update SEF URL to change what is output

Good day, I have inherited a very old Joomla site - and the are wanting URL updates for a custom module that was developed for them. The URL's currently contain car-rental-branch - which they want ...
user avatar
1 vote
0 answers
23 views

How can I convert a field value to string for use in a custom category blog override?

In Joomla (both 3x and 4x) I am trying to add a php 'if' query to a category blog override so that if the category title is 'X' then it does one thing, but if not, do something else. (I'm having ...
user avatar
  • 161
2 votes
1 answer
118 views

How to join custom fields data to users table without extra rows in result set

I have rudimentary knowledge of SQL (when it comes to anything but single tables) and am trying to come up with a query that will give me all the custom fields for my users. This query will give me ...
user avatar
0 votes
1 answer
469 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 $...
user avatar
1 vote
2 answers
29 views

How to define URL of Joomla sub-menus?

How/Where is the URL of a Joomla article (used as submenu item) defined when using URL-shortening? What I want to achieve is to have the article URLs to represent a submenu logic. For example, the URL ...
user avatar
2 votes
1 answer
59 views

Invalid controller class from custom component ajax call to json method

I have an existing J3 component admin view which fires off a Javascript Ajax call to a Json controller and fetches back data which I then incorporate into that view. I'm trying to replicate how I've ...
user avatar
1 vote
1 answer
69 views

Joomla 4: Problem with the contact form, the text sent is missing

I'm creating a contact form with Privacy Check box (Joomla 4, template Cassiopeia). I have done all the steps as in joomla 3.x (custom fields) and everything works. But... When the e-mail arrives, all ...
user avatar
  • 11
0 votes
0 answers
12 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-...
user avatar
  • 1
2 votes
1 answer
64 views

Can't edit index.php in Joomla 3.10

I am trying to edit my index.php file in my website using the Joomla! extension manager. I have to add the code right before my closing tag however there is no HTML! So I've tried adding some, after ...
user avatar
2 votes
1 answer
46 views

Creating a field plug-in, need the com_content form to be enctype multipart

I've been writing a field plug-in for adding files to articles in com_content. I've got the basics of the field plug-in working ok, extending the JFormFieldFile class The issue I've hit is, for the ...
user avatar
0 votes
1 answer
48 views

Can't get article to expand full width of page

I am using Joomla 3.10.4 and I have made a drop down menu that displays submenu's that display a single article when clicked on. However when it pulls up the article it doesn't take up width of the ...
user avatar
0 votes
1 answer
75 views

How to create menu item in admin menu Joomla 4 in php+mysql in module, plugin?

How to create menu item in admin menu Joomla 4 in php? From plugin/module for Joomla4?
user avatar
0 votes
1 answer
13 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 ...
user avatar
  • 1
1 vote
0 answers
47 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 ...
user avatar
  • 11
0 votes
0 answers
22 views

Workflow implemented in 3rd party component

I have a simple component that enables me to record time against an activity for a specific user record (client) and during my upgrading this component to J4 I thought I would learn how to implement ...
user avatar
0 votes
0 answers
13 views

How to add VAST ads to my Joomla website?

I'm currently working on Joomla and was having troubles with setting up in-stream video (VAST) ads. I'm using the VideoJS player through JoomlaVideos, I have a "VAST tag" from my ad network (...
user avatar
  • 1
1 vote
0 answers
18 views

How to populate Frontend Article Editor with existing Article content, Joomla 4?

We are building a new site founded on Joomla 4, and would like to only use core extension like the Article features built into Joomla 4, but we've run into a wall trying to implement editing an ...
user avatar
  • 11
0 votes
0 answers
41 views

joomla4: test the category id

I have tried if ($this->item->catid == 12){ return true; } OR with $article->catid I put the mentioned code in a module https://joomhelper.com/dbpqnex Another solution (maybe even more ...
user avatar
  • 21

15 30 50 per page
1
3 4
5
6 7
144