Token Page Custom Text

Mehr
1 Woche 6 Tage her #182980 von teracomp
COM_KUNENA_MESSAGE_CREATED_NEW
I've just read through all the topics with "token page", but I don't see where to customize the token entry page.

If the user has a link to a closed survey, one that requires a token, I want them to visit a help page I have setup on my website or email me for assistance.

Is this in the theme editor? I looked every place I could think of, but could not find a reference to editing this page (attached).

Thanks

Dave Phillips
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

LimeSurvey Partners
Mehr
1 Woche 6 Tage her #182986 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW
Yes, seems there are a lack of this file in editor.

Else it's here : github.com/LimeSurvey/LimeSurvey/blob/ma...omponents/token.twig

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 6 Tage her #183005 von teracomp
COM_KUNENA_MESSAGE_REPLIED_NEW
Denis, Thanks for your response. I found the twig file, but I don't know how to add it to the manifest for my theme.

I created a theme based on bootswatch (not Vanilla), so token.twig is not in the config file.

I edited token.twig and added it to my theme's directory under /views/subviews/logincomponents as it appears in Vanilla.

My first attempt was to add the node at the bottom of config.xml using the <engine> node, but that seems to indicate I need to load everything.

The next attempt was adding it as just a file in ./files/token.twig, but again, how do I load this twig in the editor?

The screenshot attached shows my failed attempt to add this to the theme.

I can edit this outside of the interface as long as it is used by the theme.

Please let me know how to add token.twig to my custom theme.

Thanks

Dave Phillips
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 6 Tage her #183016 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW
Updating via FTP must work (in my opinion).

But since we don't have a screen to show it : i think you must report an issue.

Currently : you can try to add it in another screen : gitlab.com/SondagesPro/SurveyThemes/skel...ster/config.xml#L220

welcome or load or register ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 6 Tage her #183037 von teracomp
COM_KUNENA_MESSAGE_REPLIED_NEW
I was able to get the token.twig added to my custom theme by adding it to the config.xml of the parent theme (bootswatch).

All I needed to do was add these two lines to the <welcome> node in the config file:

<file type="view" role="subview">./subviews/logincomponents/captcha.twig</file>
<file type="view" role="subview">./subviews/logincomponents/token.twig</file>

And, of course, I ftp'd the /logincomponents folder to the bootswatch theme subviews folder.

Dave Phillips
Folgende Benutzer bedankten sich: DenisChenu

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha