Caccia
Karma: 0
|
Remove 'All' in first page. Possible solution? - 2011/03/09 15:51
Hi anyone,
First of all sorry for my english, but i'm italian
I'd like some opinion about my solution to remove "All" word from the header title in first page of the glossary.
In components/com_glossary/controller_classes/glossary_list_Controller.php
Find:
| Code: | $letter = urldecode($interface->getParam($_REQUEST, 'letter', 'all'));
|
And replace it with
| Code: | $letter = urldecode($interface->getParam($_REQUEST, 'letter'));
|
Find:
| Code: | if ($id AND !empty($entries)) $title = $entries[0]->tterm.' | '.$title;
|
Paste after:
| Code: | else if ($letter == '') $title = $title;
|
What do you think about it? Might this be a good solution or may it causes problems?
|