|
Hi In thai language post title display incorrect when it more than 70 char. This case i change some file for correct this. I change every 40 and 70 to 350 limit char. in file helpers\helper.php 290 $name = strlen($name) > 40 ? substr($name,0,40) . '...': $name; to 290 $name = strlen($name) > 350 ? substr($name,0,350) . '...': $name; in file views\approval\tmpl\default.php 71 <span class="ccbdvsubject"> <?php echo $this->labels['subject'] . substr($this->escape($item->post_subject),0,70).'..'; ?></span> to 71 <span class="ccbdvsubject"> <?php echo $this->labels['subject'] . substr($this->escape($item->post_subject),0,350).'..'; ?></span>
118 if( strlen($item->post_subject) > 70 ) { to 118 if( strlen($item->post_subject) > 350 ) {
in file views\postlist\tmpl\default.php 162 <span class="ccbdvsubject"> <?php echo $this->labels['subject'] . substr($this->escape($item->post_subject),0,70).'..'; ?></span> to 162 <span class="ccbdvsubject"> <?php echo $this->labels['subject'] . substr($this->escape($item->post_subject),0,350).'..'; ?></span>
235 if( strlen($item->post_subject) > 70 ) { to 235 if( strlen($item->post_subject) > 350 ) {
in file views\recentlist\tmpl\default.php 104 <span class="ccbdvsubject"> <?php echo $this->labels['subject'] . substr($this->escape($item->post_subject),0,70).'..'; ?></span> to 104 <span class="ccbdvsubject"> <?php echo $this->labels['subject'] . substr($this->escape($item->post_subject),0,350).'..'; ?></span>
185 if( strlen($item->post_subject) > 70 ) { to 185 if( strlen($item->post_subject) > 350 ) { Is this possible change to parameter ? Thank you. |