All Questions

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

Is there a way in which I can check that whether the cookie and csrf token are of a same user?

I want to check that whether a request hit by an user is actually hit by the same user. For that can I check whether the session cookie and the csrf token are for that user. If there is any mismatch ...
0
votes
0answers
17 views

Push data to a Joomla environment via com_ajax

What seems a simple thing is proving quite puzzling to me and I need a few hints. The scenario is site A will from time to time send some data to site J (a Joomla environment) to process. Site J has ...
1
vote
1answer
32 views

Breadcrumbs Incorrect URL Path

Using Joomla 3.9.12 and SP Portfolio v1.7 I have a menu item called Locations, this is a menu item type SP Simple Portfolio » Items Whenever I visit example.com/locations I can see all my portfolio ...
1
vote
1answer
36 views

Session Management Across Multiple Devices

Today users wish to be logged in across multiple devices. The fact that Joomla signs out a user from all devices when one device was signout is driving users crazy. Can someone please help me, and ...
2
votes
2answers
47 views

Latest articles structured data markup

I have added microdata into every article manually and it works fine. Now I want to insert them into the latest articles module. To override the module in my template and I added: <li itemscope ...
0
votes
1answer
86 views

How to pass a variable from blog.php through to intro_image

I have blog.php blog_item.php and then the layout intro_image.php I wanted to count the number of blog posts, which is already being done in leading and intro articles in the blog. But how ...
2
votes
1answer
51 views

JS : How to trigger a Blur event with my code

I need help in triggering a Blur event attached to a calendar field. The event I am trying to trigger is added in /media/system/calendar.js around line 1003 JoomlaCalendar.prototype._bindEvents = ...
1
vote
1answer
18 views

Akeeba Kickstart Restore Site and Restrict Access

I use Akeeba Backup and Akeeba Kickstart to restore my sites and it's great. I normally backup and transfer the .jpa files then extract manually, not via the transfer wizard. During the restoration ...
0
votes
0answers
10 views

problems with d-flexpagination wrapper and naming buttons

I have two little problems. In moblie version of page I'm currently creating in categories with more than 9 pages of content it's unpossible to reach to the end - numbers of pages above 9 doesn't ...
0
votes
1answer
33 views

Why do we Route url using JRoute or Route namespace? What is the purpose of routing urls?

I want to know the purpose of routing the urls. Can anyone explain me why do we route urls?
2
votes
2answers
88 views

How do you assign jQuery scripts to an article?

I'm working on adding a simple feature to a single Joomla article. Editing the article itself is necessary in this case, I can't modify the template files (or add the JS to the entire site). In the ...
0
votes
0answers
30 views

Joomla 3.9.13 - Error: Failed to start application

I just installed version 3.9 joomla in local using xampp. Once the installation was finished correctly I tried to navigate the site and the backend. After loading a few pages, this annoying error ...
0
votes
0answers
20 views

Generated URL with token - The security token did not match [duplicate]

I'm trying to make a link that acts as the "save 2 copy" button on the edit page. On the main page for the item, I am creating the link according to this documentation: https://docs.joomla.org/...
0
votes
2answers
35 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 ...
1
vote
0answers
14 views

excel file import in article joomla [closed]

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
17 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 ...
3
votes
0answers
29 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
1answer
34 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
15 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
17 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
2answers
50 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
12 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
17 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
21 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
11 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
18 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
10 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 . '/...
1
vote
0answers
20 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
14 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 ...
3
votes
1answer
37 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
24 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
32 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
16 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
21 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
56 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
45 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
25 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 ...

15 30 50 per page