All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
61 views

Override output for repeatable custom fields

I am struggling to find a way to output the values from a repeatable field in Joomla 3.9.15. I am currently accessing the custom fields assigned to articles using the following code: JHtml::...
0
votes
1answer
27 views

Get the option and view values of a SEF url (i.e. the internal url)

I'm developing a Joomla! 3.9.x component and have written a custom com_myusers component. I want to avoid that people login/reset/remind using the standard com_users component and I thought the best ...
0
votes
1answer
220 views

Got a 'Call to a member function format() on null ' on Administrator panel [duplicate]

On the Admin panel (and apparently only there), I got the following error: Call to a member function format() on null The rest of site and the administrator are working fine. It's Joomla 3.8.2 ...
1
vote
1answer
29 views

Joomla Framework folder “libraries” missing

I'm having difficulties when trying to implement the example given on https://docs.joomla.org/Framework:Creating_a_Stand-alone_Application#Examples I'm trying to do the first example and I'm getting ...
1
vote
0answers
36 views

How do I sort articles in category blog using a custom field value?

I have created a custom field date and added content to the articles of a category. How can I now sort the articles in the category blog overview by this field? What should a blog.php and blog_item....
0
votes
1answer
29 views

How to use 'showon' with global settings in menu item parameter?

In a custom component I have some component params (config.xml) and I have some menu item params (default.xml). Inside the component params I make use of the showon attribute many times. But to keep ...
3
votes
1answer
146 views

Is it possible to load a newer jQuery version?

Is it possible to override the native JHtml::_('jquery.framework') loaded by Joomla, using some line of php? I understand I could replace this line in my template. But since I am using a template ...
0
votes
1answer
46 views

Possible to associate item with itself?

I am working on a custom component. Most input are numbers, therefor not translatable. There are also some strings that can be translated. Instead of having the user duplicate each item to a new ...
1
vote
1answer
38 views

Is there an easy way to build a form in Joomla that stores the currently logged in user's name?

I have a form created with the breezingForms extension for Joomla. I'd like to store the currently logged in user's name with the form. I don't need to continue to use the same extension. However, ...
2
votes
2answers
66 views

Using JRoute to generate component SEF URL without a menu item id

Currently JRoute generates URLs for my component which look like this https://mysite.com/component/mycomponent/xxx, where I'm handling xxx in my component's router. Instead I'd like JRoute to generate ...
2
votes
3answers
110 views

DPCalendar custom field inside module

I am creating an override in DP calendar and would like to display a custom field created in DP Calendar inside the module. The field type is 'URL' thus I would like it to be a clickable link. I have ...
0
votes
0answers
59 views

How to redirect website from non www to www ( Windows +Wamp+Joomla)

I have an issue here where I have already added line below into .htaccess file, AllowOverride all in httpd.conf file, enabled Use URL Rewriting from Joomla, but none of those work. Did I miss out ...
0
votes
1answer
41 views

Add text and link to fieldset in config.xml

In my custom component, I have some component configs in the standard config.xml file. There are multiple fieldsets (tabs), each one has its own description. I would like to add a line of text below ...
1
vote
1answer
49 views

Execute custom script on save component config.xml

I am working on a custom component. The component has some component options, using the standard config.xml file and saving it to the extensions table. But what if I need to execute a custom script ...
0
votes
0answers
49 views

TinyMCE doesn't show content

After updating Joomla from 3.6.0 to 3.9.15, TinyMCE doesn't work. I just don't see any content in article edit. In console I have errors in tinymce.min.js: Uncaught TypeError: Cannot read ...
0
votes
1answer
42 views

Can Joomla send the user an email after admin approves them?

I refer to this ticket: Can Joomla send the user an email when admin approves them? hence I can not reply or comment as a new user does anyone know a solution to this issue of mine? Problem is: ...
0
votes
1answer
66 views

Unset Unwanted Backend CSS and Javascripts

I'm creating a modification of K2 module and I want to remove some unnecesary K2 css and script load. I have tried to use unset($this->_scripts['']); unset($this->_styleSheets['']); but ...
2
votes
1answer
127 views

My site's form or captcha stopped working after upgrading to Joomla 3.9.15

After upgrading to Joomla 3.9.15, my site / extension / custom form captcha stopped working. I get "Please complete the CAPTCHA" or "invalid-input-response" or something like "Invalid Captcha". What ...
0
votes
1answer
30 views

How to add js library on component installation

I have component which needs a slider. I`ve chosed carousel but how to add it in the frontend part of the component on installation ? Tried to put it in the administrator part but the scripts can't be ...
0
votes
0answers
27 views

Not shown my component javascript code in developer tools

I have simple joomla component with some php pages on that exists inline javascript code. I added "debugger;" word in my js-code to debug it, but when I open my page in chrome with dev tools my code ...
1
vote
0answers
26 views

How to pass variables/data to client javascript from Joomla component? [duplicate]

What is the proper way of passing variables from Joomla backend to javascript (frontend)? I have found examples simply setting the variables in templates like: <script type="text/javascript"> ...
2
votes
1answer
55 views

Backing Up Live Site Using Akeeba

Joomla 3.9.15 I have been using Akeeba to backup my sites and it's very good. I've recently installed in on quite a busy site, users are regularly logging in and out of the front and back end, and ...
0
votes
0answers
46 views

How to override default.php for config.xml

I have component which has config.xml. It is render with the com_config/view/component/tmpl/default.php. I need to override this file in my component and create my custom layout. Red all the articles ...
0
votes
1answer
36 views

Creating a Library with multiple classes within a single file

I am trying to incorporate an external application as a library within Joomla which I have done before on a couple of occasions, however in this case there is a single .php file with about 20 classes ...
1
vote
1answer
41 views

How to build a commercial component from my free component?

I have developed a free Joomla component and I want to create a commercial version of this component. What are the differences regarding the code between a free extension and a commercial extension? ...
1
vote
1answer
42 views

Joomla adds / to empty href and src attribute

I have a mustache template and the output via php is: <a href="{{link}}"><img src="{{image}}" title="{{name}}" alt="{{name}}"></a> but Joomla renders my output to: <a href="/{{...
2
votes
1answer
96 views

User Registration Assign to Specific Group

Joomla 3.9.14 I have a URL example.com/training/register, this displays a default Joomla user registration form. Within Joomla I have various user groups; - Guest - Registered - - Training - - ...
1
vote
1answer
35 views

Problem accessing database from front end of a component

I am currently working on a component which will display "events", stored in a database, on a map (filterable by location, category, date etc...). My first step is to display a simple report of the ...
0
votes
1answer
33 views

Menu item “tagged list”: How to disable link on image and title?

How can I disable linked titles and the link on the image in a menu item tagged list? I am running Joomla 3.9.14.
0
votes
1answer
36 views

How to get the currently installed Joomla! Version in PHP

For one of my extensions i need a switch statement if the Joomla! Version is 3.x or 4. (in fact i have to call the Articles Model in different way for J4) - but how can i get the actual installed ...
0
votes
1answer
53 views

Jquery script loaded on every page

Every page on site has this script Is there any role, seems like of tinymce editor how to disable same, any plugin to disable, as i do not use tinymce on front end of site <script type="text/...
1
vote
0answers
23 views

I have some missing articles in a category on the front end. Joomla 3

Any reason why some articles may be missing on the front end of my Joomla 3 site when most of them are there? 2 articles are missing out of 63. All but 2 are listed in the category on the front end. ...
1
vote
2answers
72 views

Remove 'There are no articles in this category.' Text

Joomla 3.9.14 I have a category with no articles, although the sub categories do contain articles. - colours (no articles) -- red (1 article) -- blue (2 articles) I have a menu type Category ...
0
votes
0answers
63 views

Remove joomla inbuilt css and JS Files

Am on Joomla 3.6 series, i am trying to optimize page loading speed, but every page has these JS files and scripts loaded by Joomla Is there a way to remove these, dont want to use jchoptimize or any ...
1
vote
0answers
60 views

JRoute::link('site') generates different strings depending on the app context

I'm developing a component in Joomla! 3.9.13 with SEF urls turned ON and I use this line of code JRoute::link( 'site', 'index.php?option=com_mycomponent&task=profile.edit', false, JRoute::...
0
votes
1answer
34 views

How to cancel a mandatory (required) field in Virtuemart form submission process?

I want to free my future site's visitors from having to fill out the form before submitting their name, e-mail and a phone No. Basically, in most cases it won't be needed for them to also add more ...
0
votes
0answers
21 views

Modify the Expires Header

In the file: /html/joomla-usa/libraries/src/Application/WebApplication.php are the code: if (!$this->response->cachable) { // Expires in the past. $this->...
1
vote
1answer
46 views

Why general match and exact match not functioning properly in smart search?

I use the Joomla smart search on my site (com_finder). I have an article with the term not connected in it. When I search for the term not connected I get 0 results. When I search for the word ...
1
vote
1answer
109 views

How can I globally override renderField() method to set $options['class'] value in Joomla 3?

I need to be able to add styling class to form fields parent wrappers when using the xml attribute method, with a new attribute cgClass (as in control-group) to achieve <div class="control-group ...
0
votes
0answers
25 views

Component Admin menu hide options by access level

Is there a way to set an access level for menu items in a Joomla 4 custom component's admin panel (the left menu in Joomla 4)? These are defined in the manifest.xml file so I'm not sure if it's ...
1
vote
1answer
29 views

DOMDocument doesn't work on my variable, but it does if I add the HTML to the variable directly in the file

I'm using mod_feed. I'm calling in an RSS feed from the Joomla! security strike team http://feeds.joomla.org/JoomlaSecurityNews. I want to show certain parts of that feed on our Joomla! User Group ...
1
vote
1answer
55 views

Connecting module with com_ajax triggers request on menu item one level up

I've got a custom module which makes use of com_ajax to return values without refreshing the page. In my helper file I'm struggling to get the module parameters within the AJAX request and it looks ...
0
votes
0answers
31 views

Custom Registration Form getInstance() Could Not Load File

Joomla 3.9.14 I have an external script that allows users to register on my Joomla site. The code is below; php <?php include('conn.php'); require_once JPATH_BASE .'/components/com_users/...
1
vote
1answer
28 views

Building a new module that loads articles not adding slashes in front of images

i am currently building a new module that loads joomla articles via ajax. During the final tests I noticed that image links are (relative links) not handled correctly. If an image is added to an ...
2
votes
2answers
47 views

Language Constant Not Displaying in External Script

Joomla 3.9.14 I have an external application that uses the script below, allowing users to register as a user on my Joomla site. It all appears to be working apart from error displaying. My code is ...
0
votes
1answer
44 views

Joomla installation on localhost using WAMP does not start

Joomla installation on localhost using WAMP does not start. No error is reported in the logs file. I'm using WAMP 3.1.4 (64 Bit) Apache 2.4.35 Port 80- PHP 7.2.10 MySQL 5.7.14 Port 3306 MariaDB 10.3.9 ...
2
votes
0answers
52 views

External User Registration Script - Change Email Content

Joomla 3.9.14 I have a script that successfully registers a user on my Joomla site via an external script. The code is below; <?php // database connection include('conn.php'); require_once ...
1
vote
0answers
51 views

Custom htaccess rewrites with PT flags

I'm attempting to add a custom RewriteRule in the default htaccess file in Joomla 3, but not having any luck getting it to work. The end goal is to create a URL with a wildcard subpage, like site.com/...
0
votes
1answer
87 views

using the sourcerer plugin the code written in php disappears

I try to hide a menu item programmatically, I found this publication that explains the process as follows Create custom html module Install and enable the Sourcerer plugin In the module editor use a ...
0
votes
0answers
18 views

Peculiar behavior with Beez 3 template, Joomla 3.9.14

I have a custom HTML module published in the top left column (position-7) of the Beez3 template. This HTML module also includes a photo. I am attempting to place the default Login module in position-...

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