Closed (works as designed)
Project:
Views (for Drupal 7)
Version:
7.x-3.8
Component:
Views Data
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Jun 2014 at 19:53 UTC
Updated:
24 Jul 2014 at 19:36 UTC
Jump to comment: Most recent
Comments
Comment #1
atulkamboj commentedComment #2
dawehnerHow do you rewrite the output of a field using t() . Views itself does not allow to use PHP in there.
Comment #3
hillaryneaf commentedTry writing an update script that saves your view that's in code into the database with $view->save();
When you update the view, you will always need an update script that updates the view in the database:
Comment #4
atulkamboj commentedThanks nektir, I really appreciate your help.
@dawehner, thanks for your reply. I understand, views UI doesn't allow to use PHP and I used t() in exported views code in PHP file inside my custom module.
Comment #5
hillaryneaf commented