Simple Membership Plugin › Forums › Simple Membership Plugin › javascript links instead of HTTP links
Tagged: javascript
- This topic has 18 replies, 4 voices, and was last updated 8 years, 1 month ago by
The Assurer.
-
AuthorPosts
-
April 10, 2018 at 11:43 pm #14030
michel
ParticipantHi,
I just want to set the connexion pages (registration, password reset, etc.) from the Settings/General Settings to javascript instead of regular HTTP links. But every time I try to save, all the javascript are lost and fields are empty.Would you help me on this?
Thanks in advance!
April 10, 2018 at 11:50 pm #14035mbrsolution
ModeratorHi, can you share with us how are you adding the javascript code?
Thank you
April 11, 2018 at 12:08 am #14036michel
ParticipantHi,
I try to write it in the Setting page, but it disappear every time I save.
It’s just
javascript:myfunction
like in a simple html link:<a href="myfunction;">my link</a>I know, I’m missing something. Not a programmer or dev though.
You may then help me on this…
Thanks in avance!
April 11, 2018 at 12:15 am #14037mbrsolution
ModeratorHi,
I try to write it in the Setting page, but it disappear every time I save.
Are you talking about following pages? Currently you can only add URLs addresses as per documentation.
Kind regards
April 11, 2018 at 12:23 am #14039michel
ParticipantYes you are right.
Problem is I have to put all these pages in one slider.
I then have created one slide per form with the shortcodes in text layers.
Everything works fine and the forms are OK.Now I need to redirect from one form to another — for example, the link “lost password” to the slide “lost password”.
To do this, I need to put javascript.
So if I can’t put them directly in the links of the setting page, do you know how I could do this?
Maybe changing a file with FTP, any solution will fit.Thanks in advance!
April 11, 2018 at 2:40 am #14041mbrsolution
ModeratorHi, I have submitted a message to the developers to investigate further your request.
Thank you
April 11, 2018 at 8:16 am #14049michel
ParticipantThanks a lot!
Waiting for an answer 🙂April 11, 2018 at 11:21 am #14057admin
KeymasterI really have no idea what this is.
April 11, 2018 at 12:11 pm #14058The Assurer
Moderator@michel — Your use of technical terms seems to be incorrect; and something seems to be getting “lost in translation.” What is your primary language?
April 11, 2018 at 12:13 pm #14059michel
ParticipantHi,
i’m French native.
I Just want one thing: in the page settings, the links settings are only for standard URL.
I just want them to be javascript, not standard HTTP.
Is it even possible? I’ll take any trick to get this done.TIA!
April 11, 2018 at 12:16 pm #14061The Assurer
ModeratorWhat us a “Javascript link” as opposed to an “HTTP link?”
April 11, 2018 at 12:17 pm #14062michel
ParticipantI just want to be able to save “javascript:myfunction” instead of “http://mylink”.
April 11, 2018 at 12:21 pm #14063The Assurer
ModeratorYou seem to indicate that you want to put Javascript in the Settings? What exactly do you mean?
April 11, 2018 at 12:24 pm #14064michel
ParticipantYes exactly!
I want to change the standard URL for the pages to javascript function (my profile page, forgotten password page, etc.).April 11, 2018 at 12:31 pm #14066The Assurer
ModeratorYou are trying to set things up so that, instead of going to the “Forgot Password” page, when the user clicks the link; some kind of Javascript will get executed instead???
-
AuthorPosts
- You must be logged in to reply to this topic.