Advertisement:

Author Topic: customize repurpose side bar area  (Read 1914 times)

tabraiz

  • Newbie
  • *
  • Posts: 1
customize repurpose side bar area
« on: October 20, 2013, 02:21:18 am »
hy every one.
i am new to osclass software. i installed the "Repurpose" theme, and now i want to change this theme according to my requirements. i just want to remove "pages" heading from side bar and change "Regions" to "Region".. i also try files which includes in it but unable to find it. please help me to change this.suggest some reliable solution. i also attach image which i requried...
Thanks

strata

  • Sr. Member
  • ****
  • Posts: 411
  • Always good, always...
Re: customize repurpose side bar area
« Reply #1 on: October 20, 2013, 01:00:19 pm »
The code you want to edit on main.php file :
Code: [Select]
            <div class="sidebar">
                <div class="row">[color=red]<----DELETE THIS--->[/color]
                    <div class="span4 columns">
                        <h3><?php _e('Pages''twitter') ; ?></h3>
                        <ul class="unstyled">
                            <?php while( osc_has_static_pages() ) { ?>
                            <li><a href="<?php echo osc_static_page_url() ; ?>"><?php echo osc_static_page_title() ; ?></a></li>
                            <?php ?>
                            <li><a href="<?php echo osc_contact_url(); ?>"><?php _e('Contact''twitter') ; ?></a></li>
                        </ul>
                    </div>
                </div>[color=red]<-------UNTIL THIS------>[/color]

                <?php if ( !View::newInstance()->_exists('list_contries') ) {
                            
View::newInstance()->_exportVariableToView('list_regions'Search::newInstance()->listRegions('%%%%''>=''region_name ASC') ) ;
                      }

                      if( 
osc_count_list_regions() ) { ?>

                <div class="row">
                    <div class="span4 columns">
                      [color=red]  <h3><?php _e('Regions''twitter') ; ?></h3>[/color]
                        <ul class="unstyled">
                            <?php while( osc_has_list_regions() ) { ?>
                            <li>
                                <a href="<?php echo osc_search_url( array( 'sRegion' => osc_list_region_id() ) ) ; ?>"><?php echo osc_list_region_name() ; ?></a> (<?php echo osc_list_region_items() ; ?>)
                            </li>
                            <?php ?>
                        </ul>
                    </div>
                </div>
                <?php ?>
            </div>