-
AuthorPosts
-
nilgunce Friend
nilgunce
- Join date:
- February 2014
- Posts:
- 170
- Downloads:
- 14
- Uploads:
- 30
- Thanks:
- 27
- Thanked:
- 1 times in 1 posts
February 26, 2016 at 9:32 pm #891085Hi; Howcan I remove product filter and change "view" into turkish word?
https://www.dropbox.com/s/dutgevvdt98je19/Screenshot%202016-02-26%2023.26.51.png?dl=0
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 29, 2016 at 2:56 am #892104Hi nilgunce,
To get rid of this filter, you can open the file: ROOT/templates/ja_techzone/html/com_virtuemart/category/default.php
At approx line 88, look for this snippet of code:
<div class="orderby-displaynumber"> <div class="floatleft vm-order-list"> <?php echo $this->orderByList['orderby']; ?> <?php echo $this->orderByList['manufacturer']; ?> </div> <div class="vm-pagination vm-pagination-top"> <?php echo $this->vmPagination->getPagesLinks (); ?> <span class="vm-page-counter"><?php echo $this->vmPagination->getPagesCounter (); ?></span> </div> <div class="floatright display-number"><?php echo $this->vmPagination->getResultsCounter ();?><br/><?php echo $this->vmPagination->getLimitBox ($this->category->limit_list_step); ?></div> <div class="floatright gridlist"> <span>View</span> <div class="view"> <a href="#" id="list" class=""><i class="fa fa-th-list"></i></a> <a href="#" id="grid" class="active"><i class="fa fa-th icon-white"></i></a> </div> </div> <div class="clear"></div> </div> <!-- end of orderby-displaynumber -->
and remove any order field you want.
For example, if you don’t want to show sort by Ordering and Manufacturer, you can remove this div:
<div class="floatleft vm-order-list"> <?php echo $this->orderByList['orderby']; ?> <?php echo $this->orderByList['manufacturer']; ?> </div>
In above snippet of code, you can see this line:
<span>View</span>
change it to:
<span><?php echo JText::_( 'TPL_VIEW' ); ?></span>
Then open the language file of template for Turkish and add this text field:
TPL_VIEW = "
your_text_goes_here
" -
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by Saguaros 8 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum