Token Page Custom Text

Plus d'informations
il y a 1 semaine 6 jours #182980 par 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
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 1 semaine 6 jours #182986 par 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 .

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 semaine 6 jours #183005 par 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
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 semaine 6 jours #183016 par 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 .

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 semaine 5 jours #183037 par 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
Les utilisateur(s) suivant ont remercié: DenisChenu

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!