Contest Template code editor
Andrew Busuttil avatar
Written by Andrew Busuttil
Updated over a week ago

Contest Template Code Editor

The Contest Template code editor allows you to customise your contest site using HTML code.

All the standard contest pages are included in the HTML site hierarchy

To get to the contest template code editor select the active template “CODE” button from the My Saved Templates tab (see how to put a template in the My Saved Templates tab here)

You will then be presented with the sire theme directories with all the standard HTML pages, javascript, images and CSS files.

From the HTML editor you can then edit the HTML directly. It is important to note that once you start editing the HTML directly that the site configurator may not operate completely as expected so caution should be exercised and you should only consider making changes to the HTML code if you are an experienced HTML coder.

The html files within the theme are represented as follows:

Legend
Location
File  
Description   

Contest->Single
already_uploaded.view.html  
Entry page:- This page is displayed the maximum number of entries has been uploaded.  

Contest->Single
entry.view.html  
Entry page:- This page is displayed when an entry is selected from a gallery.  

Contest->Single  
gallery.view.html (deprecated)
Gallery page:- This is the gallery page. It calls the Contest->entries.view.html page to display the entry gallery items.  

Contest->Single
gallery_schedule.view.html
Gallery page:- This is the gallery page. It calls the Contest->entries.view.html page to display the entry gallery items.

Contest->Single
intro.view.html
Not used

Contest->Single
moderation.view.html
Moderation success page:- This page is displayed to the entrant after submission when an entry has been sent to moderation.

Contest->Single
successful.view.html
Submit success page:- This page is displayed to the entrant after submission when there is no moderation and the entry is automatically accepted.

Contest->Single  
summary.view.html
Home page:- This is the home page body which is default page displayed when the contest URL is selected  

Contest->Single  
upload.view.html
Submit page:- This page is used to submit entries  

Contest->Single
winner.view.html
Winner placeholder page:- This page calls the Contest->Winner->standard.view.html page

Contest->Winner  
standard.view.html
Winners page:- This page is displayed when the “display winners” option is turned on  

Contest->judging
comment.view.html
Comments section of judging entry page:- This view file is used to render the comment section of the judging entry details page

Contest->judging
judging_entry_header.view.html
Countdown section of judging entry page:- This view file is used to render the countdown section of the judging entry details page

Contest->judging
judging_header.view.html
Countdown section of judging gallery page:- This view file is used to render the countdown section of the judging gallery page

Contest->judging
media.view.html
Media section of judging entry page:- This view file is used to render the media entry section of the judging entry details page

Contest->judging
ranking_modal.view.html
Ranking finalise warning window:- This view file is used to render the warning message when an entry is finalised in a ranking round.

Contest->judging
rating_modal.view.html
Rating finalise warning window:- This view file is used to render the warning message when an entry is finalised in a rating round.

Contest->judging
scoped_fields.view.html
Scoped fields section of judging entry details page - This view file is used to render the fields that have been scoped to be displayed in the judging entry details page.

Contest
countdown.view.html
Countdown section of main pages:- This view file is used to render the countdown on all main pages.

Contest  
entries_categories_frame.view.html (deprecated)
Entries with category list:- This displays the categories on the home page when there are contest categories. It is called from the Gallery_search_schedule.view.html.

Contest
entries_categories_frame_schedule.view.html
Entries with category list:- This displays the categories on the home page when there are contest categories. It is called from the Gallery_search_schedule.view.html Page.  

Contest  
entries_frame.view.html
Entries without category list:- This displays the frame for the main gallery page when there are no categories. It is called from the Gallery_search_schedule.view.html Page.  

Contest
entry_meta.view.html (only available in photo template)
EXIF Meta data:- This displays the exif meta data collected from photographs if enabled in the template editor.

Contest
entry_meta_popup_info.view.html (only available in photo template)
EXIF Meta data:- This displays the exif meta data collected from photographs if enabled in the template editor in the popup entry view.

Contest
gallery_search.view.html (deprecated)
Search and category header for gallery- This displays the search and calls the category view files depending if categories exist.

Contest
gallery_search_schedule.view.html
Search and category header for gallery- This displays the search and calls the category view files depending if categories exist.

Contest
not_logged_in.view.html
Not logged in page - This view file is used to determine what to display to a not logged in user when they try and access a page they need to be logged in to see e.g. Upload page.

Judging
assessment_rate_entry.view.html (depecated- see judge_assessment_rate.view.html)
Assessment rating judging gallery - This view file displays the judging gallery for a assessment rating round

Judging
entry_assessment_rating.view.html
Assessment rating entry details - This view file displays the assessment rating judging entry details page

Judging
entry_ranking.view.html
Ranking entry details - This view file displays the ranking judging entry details page

Judging
entry_rating.view.html
Rating entry details - This view file displays the rating judging entry details page

Judging
judge_assessment_rate.view.html
Assessment rating judging gallery - This view file displays the judging gallery for a assessment rating round

Judging
judge_login.view.html
Judging login - This view file displays the login page for judges

Judging
judge_ranking.view.html
Ranking gallery - This view file displays the judging ranking gallery

Judging
judge_rating.view.html
Rating gallery - This view file displays the judging rating gallery

Judging
judge_error_modal.view.html
Judges error - This view file displays the error message displayed when a judge tries to access a judging round that is no longer active

Judging
no_judging_round.view.html
No round error - This view file displays the error message displayed when a judge tries to access a judging round they do not have access to

Judging
not_logged_in.view.html
Not logged in page - This view file is used to determine what to display to a not logged in user when they try and access a page they need to be logged in to see

User->Account  
account.view.html
Account Page:- This is the parent account page  

User->Account  
overview.view.html  
Profile sub-page:- This is the profile details and also includes the profile widget.  

User->Profile  
profile.view.html   

User  
forgotten_password.view.html  
forgotten password link page:- link to forgotten password page.  

User  

login.view.html  
login page:- the login page for contests that have restrictions (upload, enter site, etc)  

User  
register.view.html  
Register page:- Registration page to allow users to register to the contest. This is for contests that have restrictions (upload, enter site, etc)    

User
reset_password.view.html
Reset password:- This view file displays the password reset page

Vote

email_already_verified.view.html

Vote already verified:- This view file is used to display the message to a voter when they try and reuse a email vote token that has already been used

Vote

email_verified_success.view.html

Vote verified successfully:- This view file is used to display the message to a voter when they successfully verify an email vote token

Vote

vote.view.html

Vote popup form:- This view file is used to display the vote form when the vote is selected.

<Root>
index.view.html
Header and Footer:- This contains the HTML for the main page header and footer.    

<Root>
base.css (only available in photo template)
Style Sheet:- This is the style sheet of the contest. This also is used for static pages.

<Root>
style.css  
Style Sheet:- This is the style sheet of the contest. This also is used for static pages. 

The “Upload” button also allows for custom js code and also images to be uploaded. The scope of these uploaded files is only from within the theme html pages.

Did this answer your question?