Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2018-01-19 16:02:54

discuss4u
Member
Registered: 2013-03-06
Posts: 163

Removing "Letter:XX" from pornstar browse page

Since the names of the pornstars are not in English. the A B C D... will not work. So I would just remove the whole pull down menu shown.

remove.jpg

I would like to know how to do it.

Thanks!

Offline

#2 2018-01-20 11:22:34

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Removing "Letter:XX" from pornstar browse page

Edit templates/defboot/pornstar_menu.tpl.php and remove the following code:

                            <div class="btn-group" role="group">
                                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                                    <?php echo __('letter'),': <strong>'; if ($this->letter == 'all'): echo __('all'); else: echo strtoupper($this->letter); endif; ?></strong>
                                    <span class="caret"></span>
                                    <span class="sr-only">Toggle Dropdown</span>
                                </button>
                                <ul class="dropdown-menu dropdown-menu-right letter" role="menu">
                                    <li<?php if ($this->letter == 'all'): echo ' class="active"'; endif; ?>><a href="<?php echo build_url($this->order, 'all', 1); ?>"><?php echo __('all'); ?></a></li>
                                    <?php foreach (range('a', 'z') as $letter): ?>
                                    <li<?php if ($this->letter == $letter): echo ' class="active"'; endif; ?>><a href="<?php echo build_url($this->order, $letter, 1),'">',strtoupper($letter); ?></a></li>
                                    <?php endforeach; ?>
                                </ul>
                            </div>                       

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB