"To Present," as in November 2008 to present.

Events happening in the community are now at Drupal community events on www.drupal.org.
tdodson's picture

Hi Everyone,

I'm working on a simple resume page on my personal site using CCK and Views. The view displays the fields in the custom content-type "position," sorted descending by the "from date." Each position has a "from date" and an optional "to date."

So, here's my problem: It's easy to display that I worked somewhere from "November 1999 - November 2000", but is there a straightforward way to display the following range: "November 2008 - date," as in, I still work there. I don't see anything in Views that would let me rewrite the value of the "to date" field if it is left empty; that would be nice. Hmm; stumped for now.

Thanks,

Tom

Comments

Tom - I believe you would

dafeder's picture

Tom - I believe you would have to use a theme override to do that easily. Is that something you're familiar with?

Theme Override

tdodson's picture

I'm not familiar with the term "theme override." It's a custom theme, though, based on Zen. I wrote all the CSS myself, so if it's a CSS thing I could do it. I can probably figure out a way to use the CSS "content" property to do it.

That's how I added piping to the top and bottom menus on this site: http://osc.hul.harvard.edu. On that site, though, IE didn't like either the "content" property or the "after" added on to the "li" selector and so I had to set up a different bit of code for the menus in my ie.css file.

Oh, btw, this is the URL, though it is not even close to ready for prime-time yet. http://dodsont.champsnotchumps.org/

Thanks again for advice; it's great to be part of such an informed and active community.

td

Thomas Dodson
Editor, Printer's Devil Review | http://pdrjournal.org (http://blackkeypress.com)
Techneblog, a tech blog for non-techies | http://techneblog.com

Check mine

nancydru's picture

http://nanwich.com/work_experience

I "cheated." Since you are going to absolutely need a Word version if you actively looking for a job, you can have Word save it as HTML and then clean that up. And that what you see on my site.

BTW, I work in Technology Square just a short distance from Harvard. If you need some personal help, just let me know.

But who says the date field has to be date-formatted. You could always just use a simple text field and then you won't have to worry about what's in it.

If you are just starting in Drupal,

jsindelar's picture

I would have a separate content type (flag) "current job" that you could turn on or off. If you are advanced to the point of theme overrides and/or CSS you could do something from there. For ease, I would just use a "from" date and no "to" date, then a text cck field with one option (Current Project) that would display with no label right above or below the date.

Boston

Group categories

More Specifically

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: