All Questions

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

How does Joomla “force https”?

I've thought it is done by modifying .htaccess file, but it is not. Making changes to the "force https" option doesn't change the .htaccess file. Can someone explain to me what is the ...
2
votes
0answers
23 views

Making /joomla subdirectory the website root AND forcing HTTPS

Setting up a Joomla site on Apache 2.4 on a Synology Disk Station. Joomla is unavoidably installed in a subdirectory of the web root (/web/joomla) and unfortunately do not have access to the Apache ...
1
vote
0answers
14 views

Frontend editor with save image uploading methods

I am trying to build a forum where users are allowed to upload and insert image into their posts. Surprisingly, this is not as easy as it seems. TinyMCE when used on frontend doesn't have the "...
0
votes
0answers
21 views

Add Content using Code

I have created a custom content type. I would populate the #__ucm_content and #__content tables when I add new content of my type. I know that I could input the information directly using SQL, but ...
0
votes
0answers
10 views

How to display custom user profile plugin fields on “Edit account” page?

We are building a website with multiple authors using PWT ACL to restrict their access to the users tab so that they don't mess with each other's profile or content. I created a custom user profile ...
1
vote
1answer
11 views

Are Super User rights required to update Joomla?

We are trying to lock down the SuperUser in our application, and only assign it to 2 people. I have created a new group TIQAdmin that isn't a Super User, but has extensive rights in the back end. ...
0
votes
1answer
17 views

Problem Displaying User Action Logs in the updated Joomla 3.9. *

I don't remember which version I started with Joomla. However, I have been using it for about 5-6 years. The latest version is 3.9.23. Due to a problem we are experiencing, I need information on the ...
1
vote
0answers
23 views

Using Ajax in Joomla articles to immediately work with input values in PHP

I'm trying to create a simple calendar utilizing my knowledge in PHP and MySQL, but I want to have it as instant as possible. I'm using an article and the plugin sourcerer. At first I created a simple ...
1
vote
1answer
24 views

Joomla 3.9.23 Installation error after moving configuration file

I've installed last version of Joomla (3.9.23) and have encountered a problem. When I install Joomla with automatic setup all is working correctly. What I need is to install Joomla by deploying ...
0
votes
0answers
39 views

How can I get the values of the form on my admin page

I have a form on my admin page of my component, and I can edit the fields and save them. When I load the page the saved fields show. Say for example in a blog_category menu item. I create a new menu ...
0
votes
1answer
39 views

Router, keep only item alias in SEF URL

For a particular reason, I need to keep in the SEF URL only the alias of the item to have a URL like this www.mywebsite.com/**myItemAlias** but of course without creating a direct menu to the item ...
0
votes
2answers
50 views

Why do we use <?php and then ?> on every single line?

It seems like there is a new code convention that I haven't noticed previously. On every PHP line it is opened and closed like <?php echo "some stuff"; ?> <?php echo "other ...
0
votes
0answers
10 views

Joomla CHMOD index.php changed from outside

For some time I have had the issue that the file permissions for index.php in the root directory (and sometimes within /administrator folder as well) is automatically changed from 644 and so page ...
2
votes
1answer
15 views

Problem with custom Joomla plugin (events usage)

I tried everything I could (yes, searching with google for a long time too) but I can't find what I am doing wrong here. I am trying to write Joomla plugin to change shortcode into list od adverts on ...
1
vote
0answers
35 views

Display modules only in articles (not in the article list) and only in articles with a specific tag

I'm using the J2STORE component on Joomla 3.9.22. I would need to publish a module in a Blog category but only in the articles (not in the list), in this case the articles are products of j2store. ...
0
votes
0answers
15 views

Append custom menu items to a fixed menu

Our product has a fixed set of menu items. I would like my users to be able to add items to the (main) menu, but I do not want them to change our fixed menu. eg. fixed menu Home MyCoMenu1 MyCoMenu2 ...
0
votes
1answer
22 views

403 Error: Forbidden You don't have permission to access this resource

I have been contracted to manage a website built with Joomla, I have to update articles but anytime I try to save changes this is the error I get. Forbidden You don't have permission to access this ...
0
votes
1answer
14 views

Custom fields with Articles Anywhere

I'm using articles anywhere to load in certain articles on certain positions in my template, but the problem is is that my custom fields are not loaded in. Does anyone know how to achieve this?
1
vote
1answer
29 views

The template style option is missing from all menu items

We have a weird problem where at some point our menu styles dropdown has disappeared from all menu items. We can see it in our old site, and we're pretty sure it used to be there, and we're not ...
0
votes
3answers
81 views

Problem with K2 Plugins - Joomla - Warning: count(): Parameter must be an array

Warning: count(): Parameter must be an array or an object that implements Countable in /home/......./archi/html/com_k2/templates/default/item.php on line 398 396 <!-- K2 Plugins: ...
0
votes
1answer
28 views

How can I make a custom controller for a Joomla based api?

For my latest project I need an api that responds to a 'POST' request by returning json text that depends on the content of the 'POST'. I have made a version of this in loopback, however I can't think ...
0
votes
0answers
15 views

What is best practice for inserting the link for custom fields in third party extensions

If I want to integrate custom fields into my Joomla 4 extension, then I have to change the database so that a link appears in the administrator menu, right? For example like here: https://github.com/...
0
votes
1answer
16 views

Reason for parameter for using custom fields in configuration

In the Joomla Core Extensions we have a parameter for selecting if custom fields are used in an extension or not. For example here: https://github.com/joomla/joomla-cms/blob/staging/administrator/...
1
vote
0answers
20 views

Can Joomla control access to a separate API which is behind a reverse proxy?

I have a joomla site and wish to run a piece of vanilla Java-script (that I wrote) on this site. The java script requires access to an API (which I have made). I would much rather not have to ...
3
votes
1answer
30 views

Unable to get (site) template params from my module's backend

Someone at stackoverflow recommend I ask the question here, apologies if this is considered cross-posting... OVERVIEW I am developing a set of custom templates and a set of custom modules. The ...
1
vote
1answer
53 views

How to get access to image metadata from PHP?

I am in the proces of writing a Joomla extension that utilizes metadata embedded in image files in IPTC, EXIF and XMP chunks. In particular, I want to gain access to "Title", "Tags"...
0
votes
0answers
17 views

How to create J2Store promotion app

I am looking for tutorial on how to create J2Store promotion app, but the official documentation does not provide any information on this topic. Maybe someone tried to do that? Example code would be ...
0
votes
0answers
20 views

Joomla showing a blank screen with only “Error” on it after turning on Debug

I've seen blank screen with only "Error" before, but none was like this time. It only happens when I turn on Debug from Global Configuration; after turning it off, it happens no more; If I ...
1
vote
1answer
33 views

How adjust “Maximum upload size” indicator for file upload?

Joomla prints a short notice regarding the Maximum upload size when including a file upload field with the standard form field file, see code and image below: <field name="image" ...
0
votes
1answer
36 views

Set Joomla cookie via cURL from external website

I'm trying to set up a cookie in Joomla from an external website using cURL. The process flow is as below: User does an action in external.com external.com cURL a URL in joomla.com joomla.com sets ...
0
votes
0answers
26 views

Add a packet with composer

I have seen Joomla has composer build in -in the core- under /libraries/vendor. Now I want to implement AMP Optimizer with composer for modifying the html output. Is it possible, and how to add this ...
0
votes
0answers
12 views

How to add class to containing p tag in Joomla TinyMCE

I am trying to add a class to the containing p tag using the TinyMCE styles. eg. <p class="text-left">test</p> However, when I select the style from the format drop-down list, an ...
0
votes
0answers
23 views

CLI to create and add tags to an existing Joomla article

I want to create one or more new tags, add them to Joomla tag table and associate them with an existing article with a given ID. e.g article ID is 28 and tags are named "Firsttag", "...
1
vote
1answer
19 views

How to disable close modal box when click background?

I use Joomla modal to popup an internal link. JHTML::_('behavior.modal'); <a class="modal" href="contact-us.html" rel="{size: {x: 480, y: 500}, handler:'iframe'}">...
0
votes
0answers
23 views

What is the proper way to use content.prepare?

I am trying to put a module inside another component. According to https://www.joomlashack.com/blog/joomla-how-to/module-position-component/ I can put <?php echo JHtml::_('content.prepare', '{...
1
vote
1answer
39 views

Workflows in Joomla 4

As we all know Joomla 4 is on the horizon and the improvement to workflows are definitely an interesting addition. From what I've seen, the workflow works great for new content, but what about content ...
1
vote
1answer
37 views

JFactory query to select field value if mulitple conditions are met

I'm basically trying to create a Joomla JFactory query to COUNT and SELECT data if a particular field's value meets my criteria. In "myTable", I may have several records where Field4 may ...
0
votes
0answers
4 views

confirm dialog, on New Custom Field creation

I am in the process of creating a new type of Custom Field. (Joomla 3.9x) As a new Field under Plugin. I need to have a confirm-dialog on beforeSave, but I can't find any proper tutorial on how to do ...
0
votes
0answers
3 views

show payment method in site

i create Joomla site i build some shop with hikashop module and costume it in Cart if i go tab 3 ( for payment method ) i cant added more payment method can anyone help me why i cant do that ? for ...
3
votes
1answer
38 views

How to replace deprecated Joomla classes with VS Code?

Is there a way to conveniently replace deprecated Joomla classes with VS Code. I do have the PHP CodeSniffer (with Joomla Coding standards) and Intelephense extensions, although I am not sure if ...
1
vote
1answer
30 views

Will deleting a menu option delete the page that it links to?

I have inherited our Bowling centre's website from my previous manager and have found quite a mess of various menus which we do not need any more. These menus refer to the annual tournament we ...
0
votes
1answer
50 views

Display intro image inside mod_breadcrumbs

I try to add code in order to display article intro image inside the mod_breadcrumbs.php but I have no luck so far. Any help? I have tried some variations of this code: <?php $article_images = ...
0
votes
0answers
18 views

Want to show random item title from one appointed category

I have following codes: <?php foreach ($list as $item) : ?> <li<?php if ($id == $item->id && in_array($view, array('category', 'categories')) && $option == '...
0
votes
0answers
7 views

How do I create URLs that points to a localized menu entry?

I'd like to create a URL to a localized menu entry. How would I do this? Can I use the Route class?
1
vote
0answers
29 views

Homepage gives me a 403 resource error but still loads

I have a Joomla site using K2. If I open my site in a browser (https://www.niederlausitz-aktuell.de), everything loads as intended, but in my client-side console I get the following error: Failed to ...
1
vote
1answer
26 views

Install component via FTP, copy component from one installation to another

I have a weird and unfortunate situation. I use a certain component which the creator of it retires due to stage four cancer. This means that I cannot download the component anymore, but I do have the ...
1
vote
0answers
38 views

Using Tags in an Extension

So far I made the follow changes looking for add tags functionality to my extension: Register a Content type Add Observer methods to the extension table class class TagimagesTableTagimages extends ...
1
vote
1answer
42 views

TinyMCE editor loaded through AJAX not working

I've built a form that calls for an editor to be loaded through AJAX, but when I insert the fetched contents I get only a <textarea>. If I hit the toggle editor button, then the editor gets ...
0
votes
0answers
32 views

Can I use JCE as frontend editor?

I am building a online forum using Stackidea's Easydiscuss. The build-in BBCode editor is quite outdated so I am thinking to use JCE as front-end editor for my users. I find it quite handy when doing ...
0
votes
1answer
62 views

How can I generate a stubs file for Joomla?

I'd like to develop Joomla components with VS Code. With PHP Intelephense enabled, all my file show errors because I use Joomla classes and functions. (And it would also be convenient to have auto ...

15 30 50 per page
1
2 3 4 5
132