All Questions

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

Need to add a hyperlink to a logo

I've put a logo on my site's homepage and the logo was clickable. And then I adjusted its position through custom.css file, but now the logo is NOT clickable (plain image). How to make it clickable ...
0
votes
0answers
11 views

excel file import in article joomla [on hold]

I use joomla article + field for manage branch information. now I want import(excel file) branch information (title-desc-field1-field2,...) in articles. how do it? please guide me.
1
vote
0answers
9 views

AJAX GET token 'x-csrf-token' not present in the CORS header Access-Control-Allow-Headers AND CORS request did not succeed

I'm loading a module in SP Page Builder, this module gets data from an API using ajax. The module has been tested on local and remote, http and https. When I publish the module on the same website but ...
2
votes
0answers
17 views

Document Manager Recommendations

I'm looking for some recommendations for a document manager that's compatible with Joomla 3+. Seems to be a pretty popular question throughout the Joomla community. In the past I've always used Phoca ...
0
votes
0answers
13 views

How to Update a field only when another filed is changed

My scenario is that I have a field in a table called Stock_Qty that when it is changed I need to update the Stock_Date field with the current date and then the user can replace the date if they don't ...
0
votes
1answer
13 views

How to setup Joomla with multiple languages all under the same menu

I want a bilingual website and I want all articles, regardless of their language to be in the same article listing (menu). For example, I create a french article in the blog category, and an english ...
1
vote
0answers
12 views

Getting user submitted product properties programmaticaly in j2store

So I'm developing j2store plugin to calculate price for item based on product's width and height (these values are entered by the user). The form is rendered as following: function ...
1
vote
1answer
39 views

use router.php in simple component

I am having a simple component, basically a list view and a single view. I want to nice URLs so I copy pasted and modified the router.php from com_content like this: class BookstoreRouter extends ...
0
votes
0answers
14 views

Can't access websites hosted on GCP after updating joomla core

I host multiple Joomla sites on a Single Google Computer Engine VM. It has been working very well, but after I performed a Joomla core update I suddenly found that those websites can't be accessed ...
0
votes
0answers
11 views

How to change a language constant on the fly with PHP?

In Joomla! (currently 3.9.13) the language constant COM_INSTALLER_TYPE_TYPE_ is not defined. The constant is used in the error message that is displayed if the Joomla extension update system (the 'one-...
0
votes
1answer
15 views

How to set date format to English when using a non-English language?

After I have installed the Persian language in Joomla; now all English dates are changed to Persian dates. How can I have the Persian language and English dates?
0
votes
0answers
13 views

Changes into in Joomla\Http\Http in Joomla! 4.0?

I have a part of code in my componenent which works in Joomla! 3.9.x, but in Joomla! 4.0-beta-dev i get a 503 error. My code is the following : use Joomla\Http\Http; use Joomla\Http\Transport\Stream ...
0
votes
0answers
19 views

How to update database module params

Could someone kindly help please? I'm creating a plugin and part of its job is to automatically add a 'Menu Class Suffix' to a chosen menu. I know it can be done manually from the advanced tab of ...
0
votes
0answers
10 views

Creating pricing calculator for J2Store

I'm creating j2store app for calculating price based on product dimensions. I'm using GetPricingCalculators event to register my custom calculator like that: function onJ2StoreGetPricingCalculators(&...
0
votes
1answer
23 views

Module creation reusing functions

I have a module that uses comAjax . Default uses the standard way of calling: 'option' : 'com_ajax', 'module' : 'available_stock', This works fine and in the module calls the relevant ajax function ...
1
vote
1answer
17 views

Is there a way to remove component media files on update?

In my Joomla component I have a bunch of Javascript files in media that change on update ( basically a compiled Angular app ) and because of the way the system is structured, I need to only have the ...
0
votes
0answers
8 views

Why am I getting an editors iframe popup in tiny mce editor when I embed a canva button in it

I am trying to embed a canva button in tinymce editor. Everything works fine. The canva url get loaded in a iframe but at the same time an iframe is also loaded in the back with the home url. How to ...
0
votes
0answers
12 views

Is having too many subform will affect website performance?

I'm creating a module that has 5 subforms (for theming options purpose), and each subform has about 10 fields. So far I don't see any significant performance issue on my website (except the module's ...
0
votes
0answers
19 views

How to login joomla from an external php file?

I am using ( Joomla! 3.9.11) define('_JEXEC', 1); define('JPATH_BASE', realpath(dirname(__FILE__) . '/..')); require_once JPATH_BASE . '/includes/defines.php'; require_once JPATH_BASE . '/...
0
votes
0answers
16 views

Is there any way to put subcategories in a Joomla menu?

I've been trying to change the way my website works. Currently, I have a menu that displays categories, but now I want to also display subcategories in it. I know that I can display articles of that ...
0
votes
0answers
6 views

tinymce how to prevent adding p element?

I am using tinymce with Joomla 3.9 and 4 , I canot find the way to avoid it adding a p thanks for helping
0
votes
0answers
13 views

how to make blog list view of protostar template joomla

I am using protostar template for creating blog but on home page it show whole content of blog but we want short description of blog. we want to display blog as list view. I have check on home page ...
2
votes
1answer
33 views

Do Joomla sessions for guests expire at different periods of time than logged in users?

I've been trying to track down some odd behaviour on a test site of mine and it appears to be due to guest sessions. I could be wrong, but it seems like Joomla sessions for guests are expiring at a ...
0
votes
1answer
12 views

Displaying the only the last 6 files of a category in article using Phoca Download Plugin

Phoca Download has a plugin to show a list of files in certain category using {phocadownload view=filelist|id=XX|limit=YY}, where XX is the number of category and YY is the number of files to show. ...
0
votes
1answer
22 views

Is it secure to work with JCE?

I read https://blog.sucuri.net/2019/10/throwback-threat-thursday-jce-vulnerability.html We use JCE and it is so WYSIWIG, i.e., easy for a user that have access to frontend. I am from the "light side"...
1
vote
1answer
27 views

How can I display the first name of the currently logged in user in content

Matthew Murphy asks the following on the Joomla Facebook Group: Anyone know of an extension for content that replaces the name with the person who's logged in? For example I have been working on a ...
0
votes
1answer
22 views

Send email upon publish/unpublish of an item in custom component

I have created a hello world component based upon this documentation https://docs.joomla.org/Special:MyLanguage/J3.2:Developing_an_MVC_Component/ I want to send a notification to users if an item's ...
0
votes
1answer
30 views

How to extend the article search to take into account the values of custom fields?

In articles I have added a series of custom fields, now I need to be able to filter through these fields, while being in the article manager view. I have searched about it but without success, I just ...
1
vote
0answers
30 views

CLI for joomla 4 not working for me

Joomla 4 PHP 7.3.1 Composer and NPM node modules installed Following this doc on Joomladocs, CLI Update, php cli/joomla.php - and whatever command I add after doesn't work. I get an error message (...
0
votes
1answer
15 views

Only show joomla custom fields on certain category levels

Is it possible to only show a field on for example the 3rd level of categories? Now when I link a field to a top level categorie, the field is shown on all articles on all levels of categories, but is ...
1
vote
1answer
16 views

JS file not loading on IE, works on Chrome in Joomla Seblod

I have added JS as a field on Joomla Seblod, which calls a JS file in my file system my_profile.js as follows- jQuery.getScript("/components/com_msp/js/my_profile.js") .done(function(script, ...
0
votes
2answers
13 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
12 views

Joomla! 3.9.12 ignores error.php when URL rewrite is turned on

I try to implement a 404 error page for my Joomla! theme without using the way to create an article. I simply want to use the error.php file as described in the documentation. Unfortunately, when "SEO ...
1
vote
1answer
24 views

Extra fields Vs. float numbers

Well, I am trying to develop a simple web system that uses Joomla CMS. The project is simple and becomes from a thought of working with Joomla categories, subcategories, articles and extra fields ...
0
votes
0answers
18 views

joomla 4 beta 1 Invalid controller class: display

Php 7.2 localhost MAMP I am having the same issue as here with Joomla_4.0.0-beta1-dev-Development (Monday, 28 October 2019 02:01:09 UTC) 4.0.0-beta1-dev Development [ Amani ] 17-October-2019 20:21 ...
0
votes
2answers
47 views

was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff)

The files are loaded as so: $document = JFactory::getDocument(); $document->addScript('media/breezingforms/slider-radio/slider-radio/slider-radio.js'); $document->addStyleSheet('media/...
0
votes
0answers
44 views

Redirect administrator login page of multiple Joomla websites hosted in Apache server

I have around 10 Joomla websites hosted on Apache server. The admin URLs are similar to below patterns. http://m1.aa.example.com/administrator http://m2.aa.example.com/administrator . ...
0
votes
1answer
24 views

How to add an error message when returning false in the onContentBeforeSave event?

I work in a functionality in which I must validate some fields before saving, if a condition is not met I must indicate abort the save process, according to the documentation of the ...
1
vote
1answer
60 views

How to programmatically set the value of a custom field of type checkbox?

In articles, I have created a series of custom fields, including two date fields and a checkboxes field. Now, through a plugin in the onContentBeforeSave event I need to verify that if date 1 is less ...
0
votes
0answers
44 views

Error: “Invalid controller class: display”

I've installed Joomla 4 to test with, and I'm getting this error on every attempt to login to the admin: Invalid controller class: display I've re-installed and am using the latest alpha release. ...
1
vote
1answer
31 views

Transfer Custom Code to Module / Plugin / Component

Joomla 3.9.12 I've been using Sourcerer in order to place custom code throughout my site, it's working well so far. I've created a custom html module, within this I have added PHP, JS, HTML and CSS. ...
1
vote
1answer
19 views

how to route url - JRoute get wrong itemid and wrong sef url

Joomla 3.9.12, JoomGallery 3.4 I have a site with joomShopping for e-shop and JoomGallery for portfolio. The site has 2 menus where some menu items of the first are menu item aliases of the second. ...
2
votes
1answer
30 views

Tips On How To Optimise A Joomla Site

Joomla 3.9.12 What's the most effective way of optimising a Joomla website? I'm not sure if my site is particularly large, details below; Files / folders 28GB Database 314MiB When I take a backup ...
0
votes
1answer
17 views

Prefill new user registration fields in the backend by URL

Hey I want to prefill in new user details by setting the parameters in a link. I am talking about the default Joomla User Manager in the BACKEND and then clicked on new user. So this link, ...
2
votes
1answer
26 views

Joomla4 plugin getBody

In Joomla 3.x versions I use JResponse to get and set the body. function onAfterRender() { $content = JResponse::getBody(); ... } But in Joomla4 it returns Class 'JResponse' ...
0
votes
0answers
21 views

Add rewrite rule for site login to .htaccess

I have been trying to add rewrite rule to .htaccess file but it does not seem to work. I have Joomla latest version and I am trying to do it by: # Return 403 Forbidden header and show the content of ...
0
votes
0answers
19 views

Install from web tab fails installation

Install from Web tab initially returned a blank page in both Firefox and Chrome. I disabled then uninstalled plugin. When I click on "Add Install from Web" button, I get the following: Error ...
0
votes
0answers
25 views

Change default backend language programmatically

I have a component installed which doesn't provide multilingual support. If I import data via the API, I can't import in a different language, only in the default backend language. Unfortunately, ...
0
votes
2answers
38 views

How do create an update for your existing Joomla plugin I've written?

I've written a simple Joomla plugin that I've been using for a year. I want to write an update for it. It would change what is in the .xml file and some code in the .php file. How do I go about ...
1
vote
1answer
13 views

Joomla Contact Component - can I change “Miscellaneous Information” to “Bio”?

I don't want my board members bio's to be called miscellaneous information. To avoid that I'm putting bio's in the address field! This is not a good permanent solution. I would like to know if there ...

15 30 50 per page