Hello Peeps,
I am currently working on a page within a website that needs to display some documents from other areas of the modx site. Each document is a internal job posting. I am looking at using multiple ditto calls to pull the documents out and categorise them. There are 4 different "departments" that jobs can be posted in and each department needs to have their logo above the collection of postings. The display will be something like:
Vacancies
Department Logo
Job 1
Job 2
Department 2 Logo
Job 1
Now that bit is easy (3 ditto calls, first template which includes a logo and standard templates which do not, pulling data from 3 sub "folders"). Now the complicated bit is where there are no jobs present in either of the departments i need to display one line of text "no vacancies currently availiable" to the users. That is the bit that stumped me.
Does this make sense? If so Any Ideas on how to best achieve this?
Al