Support Forums - Classified Ads Script Osclass

Osclass theme support => Zara Osclass Responsive Theme => Topic started by: mkallini on March 02, 2017, 02:25:29 PM

Title: Side menu links in zara mobile view
Post by: mkallini on March 02, 2017, 02:25:29 PM
Hello,

I would like to add a link to the left side menu in mobile view, tried to search for target file or function to do the modifications necessary for that, can i use your expertise to direct me what's the file and functions should i look for?

Best regards.
Title: Re: Side menu links in zara mobile view
Post by: MB Themes on March 03, 2017, 09:19:05 AM
@mkallini
Based on your question I do not know where you want to add it, on what page, what position...
http://forums.mb-themes.com/zara-osclass-responsive-theme/general-rules-20/
Title: Re: Side menu links in zara mobile view
Post by: mkallini on March 03, 2017, 02:49:42 PM
Hi Frosticek,

I attached an image for the screen where i wish to add a link, however, I would like to add a link to post an ad within the menu,
meaning the menu should look like;

Home
Search
Post Ad
--------------------------
My favorite items
---
---
---

I appreciate your help.

Regards.
Title: Re: Side menu links in zara mobile view
Post by: Carlos Carcamo on March 03, 2017, 03:20:33 PM
Hi Frosticek,

I attached an image for the screen where i wish to add a link, however, I would like to add a link to post an ad within the menu,
meaning the menu should look like;

Home
Search
Post Ad
--------------------------
My favorite items
---
---
---

I appreciate your help.

Regards.


Hi, please check my mobile version http://lakompra.com/

go to footer.php and look for this code

Code: [Select]
<div id="o-box" class="closed resp">
  <div class="o-lead">
    <?php if( osc_is_web_user_logged_in() ) { ?>
      <span><?php echo __('Hello''zara') . ' ' osc_logged_user_name() . '!'?></span>
    <?php } else { ?>
      <span><?php _e('Hello!''zara'); ?></span> <a href="<?php echo osc_user_login_url(); ?>"><?php _e('Sign in''zara'); ?></a> <span><?php _e('to get more.''zara'); ?></span>
    <?php ?>
  </div>
   
<?php
 
/*
    This is the Add List or publish button for mobile version in the left menu
 */
?>


   <a class="h-pub" href="<?php echo osc_item_post_url(); ?>">
      <span class="first"></span>
      <span class="second"><span class="resp is1200"><?php _e('Publish''zara'); ?></span><span class="not-resp is767 not1200"><?php _e('Publish listing''zara'); ?></span></span>
    </a>




  <div class="o-body">
    <a href="<?php echo osc_base_url(); ?>"><i class="fa fa-home"></i><?php _e('Home''zara'); ?></a>
    <a class="o-border-bottom" href="<?php echo osc_search_url(); ?>"><i class="fa fa-search"></i><?php _e('Search''zara'); ?></a>

    <?php if(function_exists('fi_list_items')) { ?>
      <a href="<?php echo osc_route_url('favorite-lists', array('list-id' => '0''current-update' => '0''notification-update' => '0''list-remove' => '0''iPage' => '0')); ?>"><i class="fa fa-star-o"></i><?php _e('My favorite items''zara'); ?></a>
    <?php ?>

    <a href="<?php echo osc_user_dashboard_url(); ?>"><i class="fa fa-folder-o"></i><?php _e('My account''zara'); ?></a>



and add the code that is commented, any questions just let me know
Title: Re: Side menu links in zara mobile view
Post by: mkallini on March 04, 2017, 05:07:43 AM
Carlos,

I want to thank you a lot for your help, that was a real good hint, I was able to customize the page to my need, by the way you have a nice elegant website, just keep up the good work and thanks again.

Regards.
Title: Re: Side menu links in zara mobile view
Post by: MB Themes on March 04, 2017, 03:37:01 PM
@Carlos
Thanks ;)