2013-10-19 8 views

답변

0
By using rewrite result option of views, that issue can be handled. 
Steps are as follows : 

1. Enable Views PHP module. 
2. Go to desired view and check 'exclude from display' in language field. 
3. Add a field of type Global: PHP. 
4. In Output field write this code : 


<?php 
if($row->language == 'und') { 
echo 'Language Neutral'; 
} 
if($row->language == 'en') { 
echo 'English'; 
} 

?> 
0

난 그냥 "언어 중립"이 설정되어있는 경우는 언어를 인쇄 할 그런 식으로, 중립 언어는 언어가 설정되어 있지 않은하는 경우 언어 필드 "아니 결과 동작"텍스트를 설정합니다.

언어 Drupal의 중립 언어는 실제로 값이없는 언어 필드입니다.

관련 문제