!Friendica Developers
I'm poking around at the polling issue that the rest of the fediverse enjoys and I've run into a problem that probably the other person who set the groundwork for the question option ran into and abandoned.
Who designed out field_radio.tpl file? Was that made in house or was that outsourced from somewhere else. If so do they have other radio tpl files for lists.
Just a note that I am a massive beginner. so this is more a challenge than anything else and if it works or not I'll have learned something either way.
</p><ul>
{{foreach $options as $option}}
<li>
{{include file="field_radio.tlp field="$option.vote"}}
</li>
{{/foreach}}
</ul>
{{$summary}}
</p>
<div class="settings-submit-wrapper">
<input type="submit" name="notification-submit" class="settings-submit" value="{{$submit}}"/>
</div>
This will not work as the field_radio.tpl isn't designed for lists. I can make it look like it should but them the buttons don't switch, because its a list. Every help forum online suggests downloading and outside client for it. If we have a reliable template maker client then what is it? Otherwise I will poke around and figure this out over time as a newb. Might need some js from the looks of it but there might be a much easier solution.
I could probably do it with a dropdown but it doesn't have the same feel.
Friendica Developers reshared this.
Michael Vogel
in reply to anubis2814 • • •anubis2814
in reply to Michael Vogel • •Friendica Developers reshared this.
xy..
in reply to anubis2814 • • •field_radio.tlp
to see what is inside of it. Maybe use its contents without aninclude
.. ?anubis2814
in reply to xy.. • •Friendica Developers reshared this.
anubis2814
in reply to anubis2814 • •Friendica Developers reshared this.
xy..
in reply to anubis2814 • • •