Forum

Thread tagged as: Question, Addons, Discussion

Best App For Job Vacancy Page?

Hi everyone

I need to create a jobs vacancy page but not sure which app is best to use, Perch Blog or Perch Events? Or just a normal multi-item perch_content template?

It needs to display the normal job title and description etc but also have an end date so it comes off the site after the end date.

My first thought was Perch Events but the /perch/templates/events/event.html template doesn't seem to work in the same way other templates do?

I'm using Runway 3.0.12

Many thanks

Glen Piggott

Glen Piggott 0 points

  • 1 month ago
Drew McLellan

Drew McLellan 2421 points
Perch Support

It's not a blog and it's not a list of events, so neither of those seems suitable. I'd use a multiple item region.

Thanks Drew.

I think my plan of action is to create each vacancy as a subpage of /vacancies for the full details and then use perch_custom_content to list them on /vacancies/index.php.

Glen

Duncan Revell

Duncan Revell 67 points
Registered Developer

Hi Glen,

you're using Runway - why not use a collection and routing to give the impression of sub-pages.

Simon Clay

Simon Clay 114 points

Hi Glen, I agree with all above, Perch Content, list-and-detail, or Collections is a great way to do it.

I have created a few sites with vacancies in this way. I build a form into the vacancy template too that pulls the Job reference via a hidden field, so we know what job they're applying for when the form is submitted:

http://www.arthuredward.co.uk/available-roles/

http://www.spritesdental.com/vacancies

http://www.hfhcare.co.uk/vacancies

I haven't done them with 'Expiry date' but that should be easy with perch_content_custom filtering.

Hi Duncan

I've started to use collections (for the first time ever!) for the vacancies page.

Everything seems to be pretty straightforward and working fine, the only thing is I'm not sure how to do the routing to link and display the subpages / vacancy details.

I've got my list of vacancies on the /vacanices page and using

<a href="<perch:content id="slug" type="slug" />" class="bg-black5 vacancy-listing">

for the link to the vacany itself.

In the collection option, I've set the URL to /vacancies/{position}-{office}. but it's not generating a link all I'm getting is <a href="">

Drew McLellan

Drew McLellan 2421 points
Perch Support

Does your collection template include a field with id="slug" ?

Hi Drew

Nope.

So I take it you have to add a field to the template for the URL manually and it's not generated automatically?

Drew McLellan said:

I'd use a multiple item region.

Ok, so I've gone down the multi-region route.

I've got all my vacancies listing nicely on the /vacancies page using perch_content_custom. But how do I now link to each multi-region item to a page which details the vacancy, for example /vacancies/[position]-{location}

Clive Walker

Clive Walker 16 points
Registered Developer

Personally, I would use a list-detail (or Collections) approach here. Then, you can link through to each vacancy using a slug that is created automatically from one or more fields in your template.

More about slugs https://docs.grabaperch.com/templates/field-types/slug/