All Questions

Filter by
Sorted by
Tagged with
0
votes
2answers
47 views

Sign Up / Login with just OTP

I had a request to build a website for a targeted market that is allow its user to signup using their phone number only without entering email address just like mobile apps nowadays. I know this can ...
1
vote
0answers
31 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

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 ...
1
vote
0answers
27 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
2answers
67 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
0answers
9 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
15 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 ...
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 ...
0
votes
2answers
28 views

Redirect a specific page on one website to a specific page on another website

I am hoping someone may be able to help me. I am not experienced enough with .htaccess and rewrite etc to understand what is needed. I have the following already switched on in my Joomla global ...
0
votes
0answers
13 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
15 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/...
0
votes
1answer
26 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
9 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?
14
votes
4answers
10k views

How to check what component is being used on current page?

I want to set up my template so it will display different layout depending on what component is being used on current page. How to check for this?
1
vote
1answer
172 views

Delete query and left join with JDatabaseQuery doesn't work

I'm trying to convert a delete query with left join to use JDatabaseQuery, but I am encountering an issue in the query. The query that I'm trying to convert and which works is the following : $db->...
0
votes
1answer
39 views

Joomla Dev site accepting only prod credentials and directing to Prod site after replicating the Prod db dump to Dev DB

I have exported the Joomla DB dump from Production application and imported the same production sql dump file to my development environment. Now when i launch the development site then it logs me in ...
0
votes
1answer
14 views

How to know the name of the file where the error is triggering in Joomla?

I am migrating a Joomla 3 website, but I am getting an error message. The issue is that Joomla is showing an error message, but it doesn't show the name of the file where the error is triggering. Any ...
0
votes
2answers
55 views

How to Submit detail page (edit.php) with random amount of data?

On my detail page edit.php I have a list of records. The user can select records by a checkbox and the number of selected records is not fixed, I mean it can be one record, but also one time 5 or 11 ...
3
votes
1answer
37 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
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 ...
0
votes
1answer
34 views

Edited css not updated in XAMPP

I am new to Joomla and just downloaded a template (from my company) and deployed it on XAMPP. When I try to edit the CSS and refresh the page, the css does not get updated. I have tried clearing the ...
1
vote
1answer
31 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
30 views

Other files overriding my template css with bootstrap?

I have a strange problem with one of my homepages. I changed the font-family and font-size in my Joomla Template (JM Guesthouse by Joomla Monster) and nothing happened. After some minutes playing with ...
0
votes
0answers
16 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 ...
2
votes
1answer
78 views

Joomla 3.9.19 get the constants from global configuration in component display function

I have created a component and need to get a constant value in the component administrator and list the item according to it. I have tried different ways to get the constant value in the display() ...
0
votes
0answers
19 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 ...
0
votes
1answer
199 views

Change the standard path of images in TinyMCE, where can I find the init of this editor?

I know I can change the paths of tinyMCE to add a subdomain, see here: https://stackoverflow.com/questions/56577520/change-default-image-path-in-tinymce Only problem now is where can I find this ...
1
vote
1answer
38 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
7answers
3k views

Activation email not being sent

I'm stuck with something that ought to be simple: My Joomla system is not sending activation emails when users register on the site. I've checked (and double-checked) the configuration, and I can't ...
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 ...
6
votes
4answers
8k views

Cannot log in to Joomla (front and back) after site move

I moved a Joomla 1.5 site to another hosting provider under different domain. Everything works fine, all pages load fine, but I can't log into administrator panel, not the front end. The username/...
0
votes
1answer
48 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
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 ...
1
vote
1answer
31 views

No “Apply” button when attempting to duplicate an administrator menu

I tried to duplicate an administrator menu, but this is not possible due to a missing "apply" button. Is there any settings or circumstances where this can happen? I recorded a little gif to ...
1
vote
1answer
18 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
21 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", "...
0
votes
1answer
35 views

How to change language in specific page using Joomla

Currently, I am creating multi-language pages with several type of languages. My home page is set for English. When I try to change the language from the second/third page, the others language will ...
1
vote
1answer
35 views

How to show tags of item in category blog view item class

i need to show items tags into class of this item in category blog view. This blog_item.php doesnt show items tags: <?php defined('_JEXEC') or die; $params = $this->item->params; JHtml::...
14
votes
5answers
19k views

Direct logout link

I know I can display the login/logout form with the following link: http://example.com/index.php?option=com_users&view=login But once logged in, this link will redirect the user to a page with a ...
0
votes
1answer
24 views

Empty lines were added to PHP and CSS code files between each line

When I install the module from Joomla administrator end, I found that many empty lines were added to PHP and CSS code files between each line. For example: Original: Line1 Line2 Line3 After ...
0
votes
0answers
22 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
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 ...
3
votes
1answer
647 views

Getting Category's custom fields in a blog view

I'm trying to get the custom fields value of a category in a blog view. I have try the article item method but on the child item (supposed to be the current category item in the loop) : JLoader::...
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
54 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....
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 ...
1
vote
1answer
61 views

Joomla 3.9 Child Sub Menu Not Showing

I am using a custom Joomla template called 'Portent' built by Joomlanauts -- a @SethWarburton creation. The issue which I am facing is that the Sub-menu under my Child menu items are not showing for ...
0
votes
1answer
31 views

Render a template after a specific route by using system plugin

I am facing a problem to render a template after hitting a specific route. Let me describe it a bit. I have a template structure like- templates |__mytemplate |__|__index.php |__|__component.php |__|...
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 == '...

15 30 50 per page
1
2 3 4 5
132