Skip to main content
edited tags
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

(Drupal 6) I'm working in a custom module that displays date fields. I want to be able to change the date's timezone programmatically.

I've tried implementing hook_views_pre_render(), but that doesn't allow me to format the field value. I'd really like to do the theming inside my module code since that's where the logic is regarding my timezone.

As a total hack, I could use hook_views_post_render(), but then I'd be doing search/replace on the text and that seems like a poor solution.

What other hooks inside my module are available?

(Drupal 6) I'm working in a custom module that displays date fields. I want to be able to change the date's timezone programmatically.

I've tried implementing hook_views_pre_render(), but that doesn't allow me to format the field value. I'd really like to do the theming inside my module code since that's where the logic is regarding my timezone.

As a total hack, I could use hook_views_post_render(), but then I'd be doing search/replace on the text and that seems like a poor solution.

What other hooks inside my module are available?

I'm working in a custom module that displays date fields. I want to be able to change the date's timezone programmatically.

I've tried implementing hook_views_pre_render(), but that doesn't allow me to format the field value. I'd really like to do the theming inside my module code since that's where the logic is regarding my timezone.

As a total hack, I could use hook_views_post_render(), but then I'd be doing search/replace on the text and that seems like a poor solution.

What other hooks inside my module are available?

Improved question title, etc.
Source Link
Rustavore
  • 206
  • 1
  • 9

(Drupal 6) I'm working in a custom module that displays date fields. I want to be able to change the date's timezone programmatically.

I've tried implementing hook_views_pre_render(), but that doesn't allow me to format the field value. I'd really like to do the theming inside my module code since that's where the logic is regarding my timezone.

As a total hack, I could use hook_views_post_render(), but then I'd be doing search/replace on the text and that seems like a poor solution.

What other hooks inside my module are available?

I'm working in a custom module that displays date fields. I want to be able to change the date's timezone programmatically.

I've tried implementing hook_views_pre_render(), but that doesn't allow me to format the field value. I'd really like to do the theming inside my module code since that's where the logic is regarding my timezone.

As a total hack, I could use hook_views_post_render(), but then I'd be doing search/replace on the text and that seems like a poor solution.

What other hooks inside my module are available?

(Drupal 6) I'm working in a custom module that displays date fields. I want to be able to change the date's timezone programmatically.

I've tried implementing hook_views_pre_render(), but that doesn't allow me to format the field value. I'd really like to do the theming inside my module code since that's where the logic is regarding my timezone.

As a total hack, I could use hook_views_post_render(), but then I'd be doing search/replace on the text and that seems like a poor solution.

What other hooks inside my module are available?

D6 Views Field Theming How to change field values in Modulea view programatically?

I'm working in a custom module that displays date fields. I want to be able to change the date's timezone programmatically.

I've tried implementing hook_views_pre_render()hook_views_pre_render(), but that doesn't allow me to format the field value. I'd really like to do the theming inside my module code since that's where the logic is regarding my timezone.

As a total hack, I could use hook_views_post_render()hook_views_post_render(), but then I'd be doing search/replace on the text and that seems like a poor solution.

What other hooks inside my module are available? Thanks!!

D6 Views Field Theming in Module

I'm working in a custom module that displays date fields. I want to be able to change the date's timezone programmatically.

I've tried implementing hook_views_pre_render(), but that doesn't allow me to format the field value. I'd really like to do the theming inside my module code since that's where the logic is regarding my timezone.

As a total hack, I could use hook_views_post_render(), but then I'd be doing search/replace on the text and that seems like a poor solution.

What other hooks inside my module are available? Thanks!!

How to change field values in a view programatically?

I'm working in a custom module that displays date fields. I want to be able to change the date's timezone programmatically.

I've tried implementing hook_views_pre_render(), but that doesn't allow me to format the field value. I'd really like to do the theming inside my module code since that's where the logic is regarding my timezone.

As a total hack, I could use hook_views_post_render(), but then I'd be doing search/replace on the text and that seems like a poor solution.

What other hooks inside my module are available?

Tweeted twitter.com/#!/StackDrupal/status/342462843322523648
Improved formatting
Source Link
Triskelion
  • 4.9k
  • 2
  • 19
  • 23
Loading
Source Link
Rustavore
  • 206
  • 1
  • 9
Loading