Connecting to LinkedIn...

These are the variables available in every template:

  • user - This is the User record of the curently logged-in User.
  • params - This is the array of the params passed through to the current template.
  • request - This is a hash including the host and path of the current request.
  • site - The Site record of the site the template is in.
  • flash - A flash notice or alert (if there is one).
  • all_users - The 100 most recently added Users for the current Site.
  • all_featured_users - The most recently added featured Users for the current Site.
  • all_consultants - All the Consutlant records for the current Site.
  • all_consultant_groups - All the Consutlant Groups records for the current Site.
  • all_clients - All the Client records for the current Site.
  • featured_clients - All the Featured Client records for the current Site.
  • all_key_locations - All Site's Key Locations. Rarely used now, currently we use SEO Locations.
  • saved_jobs - If the user is logged in. User's saved jobs.
  • all_articles - All the Articles in the current Site.

    Disciplines
  • all_disciplines - All the (non-internal) Disciplines for the current Site.
  • all_internal_disciplines - All the Internal Disciplines for the current Site.
  • all_root_disciplines - All root level disciplines. Used when disciplines has a hierarchy, but only top level is needed for headings. If disciplines is a flat structure, this contains the same as all_disciplines.

    Blogs
  • all_blogs - The most recent 100 Blog records of the current Site.
  • recent_blogs - The most recent 20 Blog records of the current Site.
  • blog_count - The total number of published Blog records of the the current Site.

    Jobs
  • all_jobs - All the Jobs of the current Site scoped by Parent Discipline (if Parent Discipline is designated for the Site).
  • all_featured_jobs - All the Jobs which are Featured in the current Site scoped by Parent Discipline (if Parent Discipline is designated for the Site).
  • all_job_functions - All the Job Functions for the current Site.
  • all_job_types - All the Job Types for the current Site.

    Events and Courses
  • all_events - The 100 most recent Events for the current Site.
  • all_next_events - The most recently added events for the current Site.
  • all_previous_events
  • all_next_training_courses - The most recently training courses for the current Site.

    SEO
  • top_seo_keywords - Top 20 Seo Keywords order by number of visits.
  • top_seo_locations - Top 20 Seo Locations order by number of visits.
  • root_seo_locations - All Seo Locations pages that are root (Regions).

    Languages
  • lang - The current Site's active language.
  • lang_short - The shortcode for the current Site's active language.
  • default_lang - Site's default language.
  • default_lang_short - The shortcode for the Site's default language..
  • lang_short - The shortcode for the current Site's default language.
  • all_languages - All Language recors for the current Site.

    Custom Values
  • custom_1_values -  Site's Custom Value 1.
  • custom_2_values -  Site's Custom Value 2.
  • custom_3_values -  Site's Custom Value 3.
  • custom_4_values -  Site's Custom Value 4.
  • custom_4_values -  Site's Custom Value 5.

Job Boards

These tags are available only if the site is a Job Board

  • all_bundles - All public bundles available for the current Site. Array of Bundle objects.
  • job_of_the_moment - Job object. It is the same than "Job of the week"
  • premium_jobs - Array of Job objects.
  • all_homepage_jobs - All the Jobs which are Featured for Homepage.