This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

arsupply

  • *
  • 4 posts
Help in Elena Themes
« on: January 16, 2017, 09:11:22 PM »
can u please help me setting up things in Elena Themes

1. how to show Items as Gallery instead of List in "Latest Listing" and "Search Result"

2. how to modify borderline on "image categories" in home page

3. in Add New Listing Page i can not choose Categories since i deleted all Sub-Categories... pls see image from this link            http://imgur.com/a/nZHdj

*

MB Themes

Re: Help in Elena Themes
« Reply #1 on: January 17, 2017, 08:25:44 AM »
@arsupply
1) theme does not offer option to do it on homepage, on search page you have section "Change view" where you can toggle between list/grid.

2) Look on style.css in theme folder, i.e.:
Code: [Select]
.home #main .categories .category
3) What categories you want to see, if you had remove them?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

arsupply

  • *
  • 4 posts
Re: Help in Elena Themes
« Reply #2 on: January 17, 2017, 03:16:02 PM »
thank you for your reply

1. on search page how to show GRID as default instead of LIST view..

2. i have found it..  :)

3. for example in "Computer" listing i want Computer as main category itself no sub-category...

*

MB Themes

Re: Help in Elena Themes
« Reply #3 on: January 17, 2017, 08:38:50 PM »
@arsupply
1) you need to modify search.php and change condtions
3) All depends on structure of your categories in your osclass installation
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

arsupply

  • *
  • 4 posts
Re: Help in Elena Themes
« Reply #4 on: January 19, 2017, 06:55:45 PM »
it would be most helpful if you can tell me where is that condition to modify  in search.php

*

MB Themes

Re: Help in Elena Themes
« Reply #5 on: January 23, 2017, 05:56:05 PM »
@arsupply
Changing:
Code: [Select]
<?php $old_show Params::getParam('sShowAs') == '' 'list' Params::getParam('sShowAs'); ?>

Into:
Code: [Select]
<?php $old_show Params::getParam('sShowAs') == '' 'grid' Params::getParam('sShowAs'); ?>

should do the trick
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Marked as best answer by frosticek on January 24, 2017, 08:16:32 PM
*

arsupply

  • *
  • 4 posts
Re: Help in Elena Themes
« Reply #6 on: January 24, 2017, 07:43:25 PM »
code does'nt  do anything instead found:
Code: [Select]
<?php require(osc_search_show_as() == 'list' 'search_list.php' 'search_gallery.php'); ?>
and change list to grid
Code: [Select]
<?php require(osc_search_show_as() == 'grid' 'search_list.php' 'search_gallery.php'); ?>
work!!!