Advertisement:

Author Topic: [solved] Probleme with sidebar theme France  (Read 1378 times)

seriall75

  • Newbie
  • *
  • Posts: 12
[solved] Probleme with sidebar theme France
« on: March 04, 2015, 01:52:01 am »
Hy everyone,

i have a problem with the France theme,
My map works but the sidebar with regions doesn't appear

my website :

in the main.php, i put :
Code: [Select]
<div id="sidebar">
                    <div class="navigation">
                        <?php if(osc_count_list_regions() > ) { ?>
                        <div class="box location">
                            <h3><strong><?php _e("Location"'modern') ; ?></strong></h3>
                            <ul>
                            <?php while(osc_has_list_regions() ) { ?>
                                <li><a href="<?php echo osc_search_url( array( 'sRegion' => osc_list_region_name() ) ) ; ?>"><?php echo osc_list_region_name() ; ?></a> <em>(<?php echo osc_list_region_items() ; ?>)</em></li>
                            <?php ?>
                            </ul>
                        </div>
                        <?php ?>
                    </div>
                </div>



If somenone has an idea ?
thanks
« Last Edit: March 06, 2015, 04:33:27 am by seriall75 »

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Probleme with sidebar theme France
« Reply #1 on: March 04, 2015, 02:46:23 am »
Hi,

This line:

Code: [Select]
<li><a href="<?php echo osc_search_url( array( 'sRegion' => osc_list_region_name() ) ) ; ?>"><?php echo osc_list_region_name() ; ?></a> <em>(<?php echo osc_list_region_items() ; ?>)</em></li>

In map themes is like this:

Code: [Select]
<li><a href="<?php echo osc_list_region_url(); ?>"><?php echo osc_list_region_name(); ?></a> <em>(<?php echo osc_list_region_items(); ?>)</em></li>

???

Regards

seriall75

  • Newbie
  • *
  • Posts: 12
Re: Probleme with sidebar theme France
« Reply #2 on: March 04, 2015, 04:27:47 pm »
thanks for your help,

i try it but it doesn't work :s

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Probleme with sidebar theme France
« Reply #3 on: March 04, 2015, 07:27:01 pm »
Do you have active ads ("Aucune annonce récente")? ??? Nothing there if not so, post some testing ads.

Regards

seriall75

  • Newbie
  • *
  • Posts: 12
Re: Probleme with sidebar theme France
« Reply #4 on: March 05, 2015, 05:06:57 pm »
same problem when i put ads

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Probleme with sidebar theme France
« Reply #5 on: March 05, 2015, 05:20:35 pm »
There's something wrong with your locations:

Quote
cat

20.00 Euro € - Paris () - 03/05/2015

this is a test
    cat

20.00 Euro € - () - 03/05/2015

this is a test

First doesn't have a region, second has nothing at all... ???

Regards

seriall75

  • Newbie
  • *
  • Posts: 12
Re: Probleme with sidebar theme France
« Reply #6 on: March 05, 2015, 06:28:33 pm »
it works, really thanks !

do you know how can i select the location when i put my cursor on the region?

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Probleme with sidebar theme France
« Reply #7 on: March 05, 2015, 07:01:11 pm »
Do you mean corresponding entry on Regions list being highlighted when you hover the map and vice versa? Sorry, achieving that would need some work.

You're welcome, regards

seriall75

  • Newbie
  • *
  • Posts: 12
Re: Probleme with sidebar theme France
« Reply #8 on: March 05, 2015, 11:20:13 pm »
yes i mean this, sorry for ma bad english

And actually i'm trying to change my header color but i don't find the good 'background-color:' in style.css

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Probleme with sidebar theme France
« Reply #9 on: March 05, 2015, 11:38:04 pm »
???

style.css, line 86 or so, add there a background-color declaration:

Code: [Select]
#header { border-bottom: 1px solid #BBB; clear:both; float:left; margin:25px 0 0 0; padding:0 0 30px 0; position: relative; width:960px; }
Regards

seriall75

  • Newbie
  • *
  • Posts: 12
Re: Probleme with sidebar theme France
« Reply #10 on: March 06, 2015, 12:24:09 am »
nice !

Really thanks :)