Loading...
Use
Create
Develop
FAQ
Troubleshooting
History: Profile_Voting_System_voting_page
View page
Source of version: 6
(current)
{GROUP(groups="Registered")} {TABS(name="votingsystem" tabs="New Vote|Results|Extra Info on the Voting System" toggle="y" inside_pretty="n")} {TRACKER(trackerId="$profileobject:Voting_System$", action="Cast my vote", showtitle="n", showdesc="n", colwidth="15%", ignoreRequestItemId="y")}^ !! Thanks for casting your vote! [tiki-index.php?page={{page}}|New Vote?] ^ {TRACKER} {JQ()} $("select[name=ins_$profileobject:voting_usuario$]").parents("tr:first").hide(); $("label[for='ins_$profileobject:voting_voto$']").parents("tr:first").hide(); {JQ} ///// {TRACKERSTAT(trackerId="$profileobject:Voting_System$", fields="$profileobject:voting_presidente$:$profileobject:voting_vicepresidente$:$profileobject:voting_secretariado$:$profileobject:voting_tesorerA$:$profileobject:voting_vocalA_1$:$profileobject:voting_vocalA_2$:$profileobject:voting_vocalA_3$:$profileobject:voting_vocalA_4$", show_percent="y", show_bar="y", status="op", show_link="n")}{TRACKERSTAT} ///// {REMARKSBOX(type="information" title="Information about this Voting System for the admin" close="y")} Voting_System is one simple yet very powerful use of [https://doc.tiki.org/Trackers|Trackers] in Tiki. This profile will enable the tracker feature and create a basic wiki page to act as a custom reduced interface to vote in the system, while hiding some fields to the end user, that are needed to ensure that the user is recognized as a member of the only group that can vote ("Group1"), and that only one vote per user is allowed. Two users are created for demo purposes: user1, which belongs to group1, and user2, which belongs to group2. Therefore, only user1 can vote, beyond the admin, that can also vote since no permissions are checked against user admin, who has the ability to create and fine tune the system. You can easily enhance the system as admin by: # enabling users to get notified by email of changes to their items. This way, a user casting a vote will receive also a notification email with a copy of the choices made in that vote casted (also if only voting once and no furher change is made to that vote). + You can do so by means of: ## go to list your [tiki-list_trackers.php|trackers], and choose to list the tracker fields for the tracker of the voting system ## edit the field "__User selector: Username__" ## at the option "__Options for User Selector__", choose "Email Notification: __No__". And click at the __OK__ button below to save your changes. + ~hs~ # Set some period for the voting. No votes will be allowed before and after these dates you chose. + You can do so by means of: ## go to list your [tiki-list_trackers.php|trackers] and edit the tracker for the voting system ## go to the "__Permissions__" section in that popup window, below at the "__Creation date constraint__", and click at the "__After__" and "__Before__" checkboxes. ## Choose your preferred date and time for each parameter, and click at the __OK__ button below to save your changes. {REMARKSBOX} {TABS} {ELSE} Log in as registered user so that we can check that you belong to the members list enabled to participate in this voting, and therefore, let you vote normally. You can see the results here in real time along the voting period, since this is a "demo" configuration profile for Tiki. In a real voting scenario, you can hide the results from users, and only display them once the voting is over. {module module="login_box" mode="module" register="n" forgot="y" remember="n"} {GROUP} ~tc~ (alias(Votacion)) (alias(Voting_System)) (alias(Vote)) ~/tc~
Menu
Featured profiles
Profiles in Wizard
Profiles Todos
Handlers
Profiles Tester
Admin
of this site
Current Profiles
Tiki version
21.x
24.x
26.x
27.x
28.x
Deprecated
25.x
state
Not fully functional yet
alpha
beta
release
type
Available in the Profiles Wizard (12+)
Featured profiles
Full profile (out of the box & ready to go)
Learning profile (to show off feature)
Long tail
Mini-profile (can be included in other)
Profile-snippet (optional but needs another "parent" profile)
Security
Tests
Latest Changes
Test_all_tracker_field_types_profile
Scheduler_Presets_20
Tracker_as_Calendar_09
Tracker_as_Calendar_10
Hide Fixed Top Nav Bar on Scroll 19
Easy_GeoBlog
test_profile_change
Profiles_in_Wizard
Random_header_images_14
Hide Fixed Top Nav Bar on Scroll 19
How to Create Profiles
Test_All_Plugins
JonnyBs_Luxury_Tiki_Setup
Collaborative_Multilingual_Terminology
Profile_Test_all_Modules_Test_all_Modules_page
...more
Like almost all *.tiki.org sites, you can log in with your login from
https://tiki.org
(register over there)
Search
Find
Most Popular Tags
admin
agenda
alias
antibot
antibot captcha
app
archive
articles
banning
batch
blogs
calculations
calendars
cart
categories
cluster
codemirror
comments
computation
contact us
datachannel
debug
debug console
dropdown with other
error messages
features
file galleries
forums
geo
geocms
geolocation
group homepages
group watches
header
i18n
images
item link
items list
jquery
languages
location
map
maps
maths
menu
menupage
multilingual
ol3
ol5
openlayers
paypal
plugin
plugin alias
plugin datachannel
plugin fade
plugin tabs
plugin trackerlist
pretty trackers
print
project management
r
r project
realnames
rss
static
static text
statistics
stats
structures
syntax highlighter
tablesorter
template
trackers
user watches
visualization
watches
webservice
wiki
wiki argument variables
wiki structures
Tiki Newsletter
Subscribe to the Tiki newsletter.
Don't miss major announcements and other news!