Best Blackhat Forum

Full Version: Eicra Tour script - solved bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Someone from another board found one bug in this script. If you try to acces link "View All Tours" on index page (in the bottom of the search box) you will receive an error message. You can see this even on Eicra Demo Site. I have found the solution.

How to solve:

Locate and edit this file: tours_home_banner_search.phtml from here:

Code:
webroot/application/layouts/scripts/tour_default/blocks/tours_home_banner_search.phtml

Find this line (towards the end of the file):

Code:
<a href="All-Tours/<?php echo $this->_group;?>"><?php echo $this->_translator->translator('tours_block_simple_search_link_view_all','','',$this->_front_template['theme_folder']);?></a>

and replace with this code:


Code:
<a href="All-Tour-List/group_id/<?php echo $this->_group;?>"><?php echo $this->_translator->translator('tours_block_simple_search_link_view_all','','',$this->_front_template['theme_folder']);?></a>
Reference URL's