All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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 ...
1
vote
1answer
15 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 ...
0
votes
0answers
16 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 ...
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 ...
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 ...
0
votes
1answer
128 views

Joomla - Custom fields in Backend - Template override

I have a Joomla-site with a lot of extra-fields in custom fields area. When I edit my articles the long list of fields is quite confusing. So I thought I could be a good idea to show the custom fields ...
3
votes
1answer
374 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::...
0
votes
1answer
33 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....
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 ...
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 = ...
2
votes
2answers
87 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
1answer
76 views

Random token in DB on each login

I'm looking to somehow add a "token" on login and temperately store it in the database (same as table *_users) until next login (important). I have a game of sorts that uses a selected user and ...
0
votes
1answer
368 views

Joomla 2.5 post with python to login

I´m trying to create an script to do fails logins in Joomla. I had a brutal force attack some days ago and the plugin Brutal Force Stop was failed, I have changed the database from MySQL to DynamoDB ...
3
votes
3answers
400 views

How to check JSESSION in javascript

I am developing a component and I use ajax calls to do some tasks in the frontend. I have come to a problem when the session is expires and I don't want to use keepalive to solve it. In the frontend ...
2
votes
1answer
60 views

How to develop a survey extension which prevents respondents from taking a survey more than once?

I'm looking for advice on how to make a survey for my Joomla production (3.6.4) site. A key requirement is to restrict respondents to only taking the survey once (i.e. preventing 'ballot-box' ...
0
votes
1answer
56 views

Unable to log in to Joomla! front-end

When attempting to log in using the standard Joomla! login page, the following message is displayed: Warning The security token did not match. The request was aborted to prevent any security ...
6
votes
1answer
390 views

Implement CSRF anti-spoofing using the Joomla Framework

I have used the methods described on this page in Joomla many times before: http://docs.joomla.org/How_to_add_CSRF_anti-spoofing_to_forms Now I want to implement the same mechanism using the Joomla ...
0
votes
1answer
43 views

CheckToken() error when TinyMCE init

I have a form, which add some data to DataBase. <form> <input type="text" name="mydata" /> <textarea name="mytext"></textarea> <?php echo JHtml::_( 'form.token' );?> ...
1
vote
1answer
488 views

Joomla User Password Reset from an External (Standalone) Script

I have the requirement for a user to reset their password from a mobile application that links into a Joomla site. I have had success in logging in (authenticating and returning a sessionid) but don't ...
3
votes
2answers
1k views

Joomla CSRF form validation

I have noticed this happen occasionally with a component I am working on. I use JHtml::_('form.token') in the form and JSession::checkToken() or die('Invalid Token') to check it once i receive the ...
0
votes
2answers
491 views

Ajax request 303 redirect on a multilingual website

I have an ajax task to return a form token from my controller for use in ajax pages, so that subsequent ajax requests will have a token. It looks like this in the code: JURI::root().'index.php?option=...
6
votes
1answer
1k views

Using checkToken() to secure form posts

I am building a web app using the Jooma Framework and the Framework App as a template. I have getFormToken() working as described in this post and am now submitting the token with my form but I cannot ...
2
votes
2answers
481 views

Joomla 3.4.x to 3.6.4 Update and invalid security token on front-end login

I have to update a Joomla 3.4.7 site. I did first a localhost update to test - everything worked fine. But now on the live site I am not able to login in the front-end. I am getting the invalid ...
1
vote
1answer
284 views

AJAX POST request with form Token always responds with “Invalid Token”

I'm sending data from a form with AJAX. The data is a username and password of the user, and therefore I want to make it as secure as possible. I'm trying to use a token as an extra security layer, ...
3
votes
1answer
255 views

Invalid Token - Login issue - Explaination of what is being compared

I have 2 very similar (but obviously not identical) environments - one test and one production. I am using only the standard Login form from a menu item. Yet, I get an Invalid Token when trying to log ...
11
votes
5answers
5k views

Joomla 3.6.0 to 3.6.1 results in a “invalid security token” error

I've just tried to update my site from Joomla 3.6.0 to 3.6.1 and I get the following error message: The most recent request was denied because it contained an invalid security token. Please refresh ...
1
vote
0answers
37 views

How does com_contact caching work when it has a form token?

I've been looking into conservative caching recently and felt I'd got my head around it. However, when I added it to a site, I was surprised to see that the core component com_content caches forms. ...
0
votes
1answer
285 views

How can I remove check for user data (invalid token error)

I've found a lot of advice on how to keep [invalid token] error from occurring. I've tried them and still have an issue. I just want to get rid of the check. Can anyone tell me off hand where I ...
1
vote
1answer
2k views

Joomla Invalid token / Session timeout issue

I have a site that is implemented in Joomla 3.1.5 on which the following are installed http://www.joomlart.com/joomla/templates/ja-muzic --> This is the theme http://www.jomsocial.com/ --> Used ...
5
votes
5answers
1k views

Invalid token after upgrading Joomla to 3.5

After upgrading my site to J3.5, users can't login anymore. They get the "invalid token" error. I tried myself around 30 times and I also get the error, although I can login to the admin area. I ...
2
votes
1answer
1k views

Invalid Token - Login Issue

Joomla 3.4.1 I was hoping somebody could briefly explain this for me. I am not that familiar with tokens, sessions or cache. My site was working fine with no issues however I decided to enable the "...
6
votes
2answers
661 views

How to generate a pseudo random one time use code for request token

To avoid CSRF attacks we use a security token and validate the request against the token. This could be achieved through, the below code to generate a token $link = JRoute::_('index.php?option=...
2
votes
2answers
447 views

how to refresh Joomla token in form by AJAX

I've got a website that uses an AJAX call to login a user. To secure this, I've added a token to the login form - https://docs.joomla.org/How_to_add_CSRF_anti-spoofing_to_forms the problem is that, ...
5
votes
1answer
1k views

Joomla token with ajax request

I've built a module that requests some data from the server via an ajax request. It includes the Joomla token to validate the session. An odd thing is happening-- when I open Chrome and load the page,...
2
votes
1answer
3k views

Token check not working in custom component admin

I've built a custom component and have three forms that executes different tasks in the default.php view on subcontrollers within the administrator. Within my tmpl view default.php, each form has a &...
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/...
1
vote
1answer
146 views

From outside of a component how to change a parameter

In a system plugin, I am using the onAfterRoute event to change a single parameter from a 3rd party component before being loaded. public function onAfterRoute() { if ('com_abc' == JFactory::...
0
votes
1answer
134 views

Display specific Joomla user groups

This code snippet below shows the list of all Joomla user groups(registered,editor.superuser and ...) at component // load in joomla user groups $qry = "SELECT * FROM #__usergroups ORDER BY ...
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
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?
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 ...
2
votes
2answers
723 views

Get access level for a URL

How could I get access level for a given URL? I need to know if a URL is accessible for registered or only guests users.
2
votes
3answers
1k views

How to generate absolute urls in joomla 3

How can i make all my links in joomla including menu items and article links absolute links and not relative ones? and of course, without hacking the core files.
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
40 views

Custom module doesn't work, messing up all page, messing up editor

I am using Joomla! 3.7.5 and JA Builder. I'm trying to create a block with custom module. Once I create it, paste code and assign position, then in page editor add block with widget - position and ...
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
1answer
96 views

How to post checkout data to component using Ajax?

$.ajax({ url: Joomla.getOptions('system.paths').base+'/index.php?option=mypage&view=cartcheckout&task=cartcheckout_autoSave&tmpl=component&stepId='+stepId, type: 'POST', //...
0
votes
1answer
36 views

How to customize amount of columns in Joomla megamenu?

My website has a mega menu dropdown in the main menu which shows up nicely, but the problem is that I had to choose the design for six columns to be able to implement my five desired columns in the ...
1
vote
1answer
703 views

Joomla 3.8 PDF view using DomPDF

I was searching a way to save a layout of my custom component as PDF. I tried various libraries JS / PHP. What I wanted was utf-8 support, tables, images to be properly saved in the pdf file. I ...

15 30 50 per page