You are here:
Customize the Volunteer Job Listing Page
Customize the contents of the Volunteer Job Listing page, and make it look and feel like an integral part of your website.
- Choose Between Two Versions of the Volunteer Job Listing Page
Volunteers for Salesforce offers two versions of the job listing page. Decide which one works best for your setup. - Customize Job Listing Fields (VolunteersJobListingFS Only)
The Job Listing page includes a signup form for volunteers to register for a specific Job or Shift. - Show Job Location on a Map
Make it even easier for your volunteers to commit to a Job by showing its location on a map. This feature relies on the Google Maps Embed API and the information in the location address fields on Volunteer Job records. - Link Volunteers to an External Signup Website
If you have a separate system for managing Job signups, Volunteers for Salesforce can show a signup link that directs the interested volunteer to an external registration site. - Style the Volunteer Job Listing Page with CSS
The Volunteer Job Listing page uses a cascading style sheet (CSS). Volunteers for Salesforce provides the VolunteersJobListingCSS.css file as a Document in Salesforce. Customize the CSS with your own CSS styles so that the Volunteers for Salesforce part of the webpage matches the rest of your website's look and feel. - IFRAME Tag for the Volunteer Job Listing Page
Give your web developer this IFRAME tag so they can insert the Volunteer Job Listing page into your website. Use the appropriate format for HTTP sites or secure HTTPS sites. - Supported URL Parameters for Both Volunteer Job Listing Pages
Use one or more of these optional URL parameters in your IFRAME tag to further customize how Jobs and Shifts are displayed in the job listing, regardless of whether you're using VolunteersJobListing or VolunteersJobListingFS. - Additional Supported URL Parameters for the VolunteersJobListingFS Page
If you're using VolunteersJobListingFS, use one or more of these optional URL parameters in your IFRAME tag to further customize how Jobs and Shifts are displayed in the job listing.
Choose Between Two Versions of the Volunteer Job Listing Page
Volunteers for Salesforce offers two versions of the job listing page. Decide which one works best for your setup.
| Form Name | Fields Customization | Can Style with CSS? |
|---|---|---|
| GW_Volunteers__VolunteersJobListingFS (recommended) | Yes, using the VolunteersJobListingFS | Yes |
| GW_Volunteers__VolunteersJobListing | No | Yes |
Customize Job Listing Fields (VolunteersJobListingFS Only)
The Job Listing page includes a signup form for volunteers to register for a specific Job or Shift.
It always requires First Name, Last Name, and Email, because these fields are used for matching volunteers to existing Contacts. The Number of Volunteers field is also required.
If you use the GW_Volunteers__VolunteersJobListingFS page (not GW_Volunteers__VolunteersJobListing), you can customize the popup signup form to include any standard or custom field from the Contact object or the Volunteer Hours object.
You may remember that you've already configured field sets for the Volunteers Wizard and other V4S pages. On the Object Manager tab in Setup, go to and click VolunteersJobListingFS. Refer to Configure Fields in Volunteers for Salesforce for instructions on how to customize field sets.

Go to the Site Detail page and update the Public Access Settings for the Site Guest User profile. You previously configured the Public Access Settings, but if you or another admin have added custom fields since that update, they may need to be updated again.
Here's how the page might look with some customizations.

Show Job Location on a Map
Make it even easier for your volunteers to commit to a Job by showing its location on a map. This feature relies on the Google Maps Embed API and the information in the location address fields on Volunteer Job records.
For details about working with the Google Maps APIs, see the maps documentation in the Google Developer Guide.
- Get a Google API key.
- Store the Google API Key in V4S Custom Settings.
- From Setup, enter Custom Settings in the Quick Find box, then select Custom Settings.
- Next to Volunteers Settings, click Manage.
- Click Edit, then in the Google Maps API Key field, paste your API key.
- Save your changes.
- Verify that your copy of VolunteersJobListingCSS.css includes a
CSS class for the Google Map IFRAME. Edit this markup as needed.
.cssGoogleMapIFrame { height: 300px; width: 400px; border: 0; }
Now, when you display the VolunteersJobListingFS page with the ShowLocationMap URL parameter set to 1, and the Job has location address fields filled out, the map is displayed.
Link Volunteers to an External Signup Website
If you have a separate system for managing Job signups, Volunteers for Salesforce can show a signup link that directs the interested volunteer to an external registration site.

Create external signup links on a per-Job basis. Specify a URL in the External Signup Url field for the Job record. It must start with http, https, or mailto. That's all it takes to display a link.

To change the link text to show something other than "external site," edit the custom label, labelExternalSignUpUrl. See Translate Volunteers for Salesforce into Other Languages or Customize Terminology.
To style the link or the listing detail differently, edit these CSS classes in the VolunteerJobListingCSS file:
- externalJobLink
- externalJob
Style the Volunteer Job Listing Page with CSS
The Volunteer Job Listing page uses a cascading style sheet (CSS). Volunteers for Salesforce provides the VolunteersJobListingCSS.css file as a Document in Salesforce. Customize the CSS with your own CSS styles so that the Volunteers for Salesforce part of the webpage matches the rest of your website's look and feel.
Follow the instructions provided for styling the Volunteer Signup page, making sure that you edit the VolunteersJobListingCSS.css file.
Here's how the page looks with minimal styling.

IFRAME Tag for the Volunteer Job Listing Page
Give your web developer this IFRAME tag so they can insert the Volunteer Job Listing page into your website. Use the appropriate format for HTTP sites or secure HTTPS sites.
<iframe src="http://mydomain.force.com/yoursitelabel/GW_Volunteers__VolunteersJobListingFS"
frameborder="0" scrolling="false" height="600" width="500"></iframe>
Sample IFRAME in HTTPS format:
<iframe src="https://mydomain.secure.force.com/yoursitelabel
/GW_Volunteers__VolunteersJobListingFS" frameborder="0"
scrolling="false" height="600" width="500"></iframe>
A few reminders to keep your code snippet clean:
- mydomain is a placeholder value for your domain name. Be sure to include your actual domain name in place of the placeholder text.
- yoursitelabel is a placeholder value for the Default Web Address. Include it only if you specified one when you created your Site.
- Are you using the VolunteersJobListing page instead of VolunteersJobListingFS? Specify the right one.
- There are two underscore characters between Volunteers and VolunteersJobListingFS.
- If you're using one or more URL parameters, add them to the end of the URL. Separate the first parameter from the rest of the URL with a ? character. Separate multiple parameters with the & character.
Supported URL Parameters for Both Volunteer Job Listing Pages
Use one or more of these optional URL parameters in your IFRAME tag to further customize how Jobs and Shifts are displayed in the job listing, regardless of whether you're using VolunteersJobListing or VolunteersJobListingFS.
Add parameter names and values to the end of the URL in your IFRAME tag. Remember to:
- Use a
?character to separate the first parameter from the rest of the URL. - Use an
&character to separate each parameter.
Here's an example VolunteersJobListingFS IFRAME tag with two parameters (ShowSkills and JobID) in the last part of the URL.
<iframe src="http://mydomain.force.com/yoursitelabel
/GW_Volunteers__VolunteersJobListingFS?ShowSkills=0&JobID=a0T41000003jEKcEAM"
frameborder="0" scrolling="false" height="600" width="500"></iframe>Additional Supported URL Parameters for the VolunteersJobListingFS Page
If you're using VolunteersJobListingFS, use one or more of these optional URL parameters in your IFRAME tag to further customize how Jobs and Shifts are displayed in the job listing.
For details about adding URL parameters to an IFRAME tag, see Customize the Volunteer Job Listing Page.
| Name | Value | Description |
|---|---|---|
| DateFormat | EEEE m/d/yyyy (default) | String format that tells V4S how to display Shift dates. The default string displays the day as text, followed by the month, date, and year. For example: Thursday 4/6/2017. You can specify a different string format by arranging these supported character sets with standard punctuation for date formatting (forward slashes, hyphens, commas, and so on).
|
| dtMonthFilter | Today's current month in the format yyyy-mm-dd (default) | The initial month to show data for. For example, to show all shifts for March 2017, dtMonthFilter=2017-03-01. |
| Language | en (default) | Display the labels that have been translated in Salesforce into a different language. Identify the language using a two-character language code, such as en, or a five-character locale code, such as en_AU. (See Supported Languages in the Salesforce Help.) V4S supports these languages out of the box:
You can create your own translations in other languages. See Translate Volunteers for Salesforce into Other Languages or Customize Terminology. The specified language overrides the language that users have set in their Salesforce personal settings. |
| nDaysToShow | 0 (default) | Number of days' worth of Shifts to show per Job. Set to 1 to show a specific day's Shifts. When set to 0, we ignore this parameter. When set to anything other than 0, this value overrides nMonthsToShow. |
| nMonthsToShow | 3 (default) | Number of months' worth of Shifts to show per Job. (You don't want huge lists of Shifts for Recurring Jobs taking up too much screen real estate.) |
| ShowLocationMap | 0 (hide) 1 (show; default) |
Show a map of the Job's location. Requires that you complete the setup steps to show Job location on a map. |
| ShowNumberAvailable | 0 (hide; default) 1 (show) |
Show the number of volunteers confirmed and the number still available for each Shift. |
| TimeFormat | h:mm tt (default) | String format that tells V4S how to display Shift times. The default string displays the time of day as hour and minutes with a.m. or p.m. For example: 9:30 am. You can specify a different string format by arranging these supported sets of characters with standard punctuation for time formatting.
|
| volunteerShiftId | Shift's 15-character Salesforce ID (show a single Shift) null (default) |
Display only the specified Shift. Always specify the JobID parameter along with volunteerShiftId. For example: JobID=a0T41000003jEKcEAM&volunteerShiftId=. If Shifts recur and nMonthsToShow is set to 0, show only a single Shift. If nMonthsToShow is set to 1, show the Shifts for the month. Otherwise, leave blank to display all upcoming Shifts for the number of months' specified in nMonthsToShow. |

