Gallery 2
Apache/2.0.59
PHP/4.4.5
Theme: carbon
Hi,
When I select an album, the program displays a new page showing its sub-albums. I wanted the user the user to be able to go back directly to any of the main albums so searching the code I found and then pasted the next code above all:
<td>
<?php $_from = $this->_tpl_vars['theme']['params']['albumBlocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['block']):
?>
<?php echo $this->_reg_objects['g'][0]->block(array('type' => $this->_tpl_vars['block']['0'],'params' => $this->_tpl_vars['block']['1']), $this);?>
</td>
it shows a row with the album titles (plus links),ie.:
MainTitle
1. AlbumTitleOne 2. AlbumTitleTwo 3. AlbumTitleThree 4. AlbumTitleFour
It works ok, but the problem is that some of the long titles are truncated to show half the title.
Can anybody tell me the code where the program truncates the titles to x lenght ? I'd like the users to see the full title.
Thanks.