How to make a news-like index but for jobs?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Anastasis

How to make a news-like index but for jobs?

Post by Anastasis »

For my employer's website currently being redesigned using CMSMS I need to be able to provide a list of items much like a news summary list (e.g. heading + summary text), but for jobs (e.g. job title + summary).

I thought the news module with a "job" category could do the job (no pun intended!), but when adding a new news article there is not the option to add custom content sections (i.e. {content block="Salary" oneline='true'}) as with regular content pages. I need to be able to capture custom data text for: Location, Start Date, Duration, Salary and RefNo. These items do not need to be included in the summary list, but I will need them to appear in a table in the detail page for a job, hence my need to enter them explicitly when entering the content.

In every other way, such as providing a date-ordered list, I think the news module could do what I need. Is there a way to include custom content block sections in the news article data entry or is there another CMSMS module that would do what I need for this?
Last edited by Anastasis on Tue Jun 05, 2007 9:58 am, edited 1 time in total.
cyberman

Re: How to make a news-like index but for jobs?

Post by cyberman »

Hmm, maybe you should try the combination of formbuilder / formbrowser module?
Anastasis

Re: How to make a news-like index but for jobs?

Post by Anastasis »

cyberman wrote: Hmm, maybe you should try the combination of formbuilder / formbrowser module?
Thanks cyberman, although I am not sure how these modules relate to what I need. Do you mean by virtue of capturing data from the website visitor? I don't need that functionality. The news module seems to be just what is needed apart from needing to be able to enter the custom fields such as Location, Salary etc in separate fields as a CMSMS editor.
cyberman

Re: How to make a news-like index but for jobs?

Post by cyberman »

As you know News module has not custom content sections for Location and so on.

But with suggested combination you can add fields like you want, insert data in admin area which are stored in database and browse in Frontend.

Another option could be cataloger module ...
Anastasis

Re: How to make a news-like index but for jobs?

Post by Anastasis »

Thanks again. I will try to check these out.

In theory all I need is a way of reporting, in summary form, in reverse date order (i.e. the newest first), the job title (which will need to be hyperlinked through to the job detail page) and first 60 characters or so of each job description. The rest of the information can be stored in the detail page.

So is there a programmatic way of producing a list of all pages of one type, e.g. where the $page_alias begins with "resourcing-opportunities-" such as ""resourcing-opportunities-CKCJ1304" (the last part being the job RefNo value)?

It sounds like it should be a simple task to gather that information and output to a page, but then saying that I don't have a clue how that would be done, so I am probably talking off the top of my head!  :P
cyberman

Re: How to make a news-like index but for jobs?

Post by cyberman »

Maybe it's much easier ... create a normally structured CMSms page like

1. Home
2. Jobs
2.1 New Jobs
2.2 Jobs by typel
2.2.1 Construktion worker
2.2.2.1 Job in Idaho
2.2.2.2 Job in Ohio
2.2.2.3 Job in Washington DC

For 2.1 you can use tag recently_updated with some modifications to show the first part of the content.

On page 2.2.1 you can use tag sitemap with same modifications.

Deactivate option "Show in menu" for all pages in fourth level. Cause named tags have links it looks now like a detail page

The bonus is you can use block parameter for content too.

By the way - you can limit the output of every Smarty tag with a builtin modifier. It looks like that

Code: Select all

{content|truncate:60}
It limits output of content tag to 60 signs. So you will have a pseudo summary. For more informations please look here

http://smarty.php.net/manual/en/languag ... uncate.php
So is there a programmatic way of producing a list of all pages of one type,
Yes, there is - in current MenuManager. Please look at help for parameter includeprefix. With that you can show all pages with the same prefix.
Last edited by cyberman on Tue Jun 05, 2007 5:26 pm, edited 1 time in total.
Anastasis

Re: How to make a news-like index but for jobs?

Post by Anastasis »

Cyberman - many thanks for your reply - sorry for not replying sooner, but I have been sidelined on to other things not CMSMS-related and still am at the moment which is frustrating.

I can certainly see how using the Menu Manager gives me a good way to do this although I am unclear how I could also incorporate the summary of information for the job (in the same way as this but with a new design and all jobs listed on one page: http://www.chasecooper.com/Resourcing-O ... manent.php). Where would I be able to gather the summary info from to display under each 'menu' item of job names?

If this is not possible, then maybe I could get away with just listing the job name, location and reference by incorporating them into the page title. It wouldn't be so bad and would make for a more compact if less descriptive list.

Hopefully I might get some time before the end of the week to try this out.

Thanks again. :)
israel.cefrin
Forum Members
Forum Members
Posts: 10
Joined: Sat Oct 28, 2006 9:37 pm

Re: How to make a news-like index but for jobs?

Post by israel.cefrin »

Hi all
I read all the answers and I did not understand how to implement a pagelist.

I would like to make some tpl as this:

{begin loop}
{title}
{thumbnail}
{content}
{bigpicture}

{end loop}

Should I use a menu template ? How ?

Tks in advance

Israel
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: How to make a news-like index but for jobs?

Post by Elijah Lofgren »

If you want to try PageBlocks, you may be interested in this: Re: Employment Opportunities - Suggestions? ;)
Last edited by Anonymous on Sat Aug 25, 2007 3:19 am, edited 1 time in total.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
israel.cefrin
Forum Members
Forum Members
Posts: 10
Joined: Sat Oct 28, 2006 9:37 pm

Re: How to make a news-like index but for jobs?

Post by israel.cefrin »

Tks Elijah, I will look it.
Sorry for my quick exit from IRC, but my ISP is falling all time.
Locked

Return to “CMSMS Core”