Home arrow Forum

Remository Forum

 


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?
  | | Sorry, you do not currently have permission to write here.
sofianos

Karma: 0  
Re:Remove 'All' in first page. Possible solution? - 2011/04/29 15:37 this brakes the pagination.
  | | Sorry, you do not currently have permission to write here.

Save FM Radio

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors

We have 7 guest online