Freestyle Joomla Forums

Support Portal

Member Login   Register

Please login or register to post on the forum

Forum Index    Board Index    Last Post   

Hielke

Hielke

14 5, 13:15

Add android pattern lock to custom field (javascript)

I'd like to add the android pattern lock to a custom field when adding a ticket.
We repair phones and need to have the pin-code from the device. Most of the times a normal pin-code is enough, but sometimes we have customers who are using a swipe pattern.

I found a javascript sollution here:
http://ignitersworld.com/lab/patternLock.html

Can anyone explain me (sorry, I'm a javascript n00b :P) how to implement this?

When implemented, I'd like to have a popup box with the pattern. After that it must be saved somehow :P

Thnx in advance!
Link showing problem http://hielke.net/bert
Joomla Version 3.4.1
Freestyle Version 2.4.3.2015
Adam Clarke

Adam Clarke

15 5, 13:43

Re: Add android pattern lock to custom field (javascript)

Hello

To do this you would need to create a new custom field plugin. If you have php development experience, you can view the existing custom field plugins in the components/com_fss/plugins/custfield. You will have to use the custom field to output the relevant HTML and javascript, and save as needed.

We can look at creating this plugin for you for a small fee if needed. Let me know if this is what you want.

Thanks

Adam Clarke
Freestyle Joomla
Hielke

Hielke

16 5, 06:47

Re: Audit Message

Hello Adam,

Thank you for your offer :) .. Of course I'll keep it in mind, but first want to try myself for learning purposes.

In your KB is referenced to a sample file (sample.php), but can't find it anywhere.

Regards,
Hielke
Adam Clarke

Adam Clarke

16 5, 11:49

Re: Add android pattern lock to custom field (javascript)

Hello

Not sure why its not currently in the package for the component. I have attached a copy of the sample to this ticket. You can upload it to components/com_fss/plugins/custfield

Its worth looking at the other custom fields for other examples of more complex plugins, but the basic calls should be there.

Thanks

Adam Clarke
Freestyle Joomla

sample.php

3.13 KB

Vote For Us!

Please vote for our software or write a review of one of our products on the Joomla! Extensions Directory