templates - How to add custom text elements in Limesurvey? -
by default, limesurvey provides follow text elements surveys - survey title, description, welcome message, end message etc, can use in template tags {surveyname}
, {surveydescription}
, {welcome}
etc.
is possible add own custom field, can use in template? need way because need have text translatable, , present on every page.
you can not add custom replacement actual version of limesurvey. , limesurvey version seems outdated. ls include jquery it's easy move element form place elsewhere.
quick exemple :
<p>here description</p> <div style='display:none'> <label for='languagechanger' id='labellang'>here te new label language</label> </div> <script> $(function() { $("#labellang").insertafter("#languagechanger") }); </script>
php solution, hacking limesurvey code @ https://github.com/limesurvey/limesurvey/blob/master/application/helpers/replacements_helper.php#l814
Comments
Post a Comment