Can i distinguish the row output of a View by checking if a date field is past or future?

I have a View (page) that displays a list of past and future training courses in table format. I'd like to be able to apply a different style to fields that contain courses that are older than today's date. Is it possible to read the date field as the page is loaded, applying a CSS class that would distinguish table rows containing past courses from those rows that contain future courses?

I know I could create two blocks and use a filter on each and have them appear on the same page but that would introduce some unwelcome overhead.

Thanks in advance for any pointers.

Content on "Panels" page suddenly disappeared?

Had a perfectly functioning page set up with the "Panels" module, but suddenly all content is gone. When I go to the page backend through panels, I can't even add content anymore (see screenshot):

Only local images are allowed.
http://www.ojgaard.dk/panelsproblem.png

No Search Results

I have tried searching for a node (using the node title) and it doesn't appear in the search results.

Eg. I have a node called PAGE1 and I search for PAGE1 and i get no results...

I have tried re-indexing and clearing the cache.

Any ideas?

(I do get some search results when I search for a different page - so search is half working)

Update from v6 to v7, completed but gave me these errors..

Not sure id these will affect the site or if they are largely inconsequential.

Line 165 is this..
if ($_SESSION['update_success']) {

Thanks
SD

Notice: Undefined index: update_success in update_results_page() (line 165 of D:\Xampp\htdocs\live\hh\update.php).

Warning: reset() expects parameter 1 to be array, null given in update_results_page() (line 169 of D:\Xampp\htdocs\live\hh\update.php).

Strict warning: Only variables should be passed by reference in update_results_page() (line 169 of D:\Xampp\htdocs\live\hh\update.php).

Text format selection does not work

On the first D7 production site I build I have run into a problem. When editing a normal page, the text format selection and therefore the text CKEditor does not show up. Also the switch between plain and formatted text doesn't show.

I have tried both WYSWIG and CKEditor modules and both show the same problem.

Patching modules - how to?

Hi! I have a basic problem with understanding the drupal patch-system. After downloading / opening a patch file (*.patch), what do I do next? Should I apply the patch manually by directly editing the concerned file or is there a way to patch a file by executing some kind of script (like "patch -file:xxx.inc -use xxxpatch.patch") Thanks for help!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x