Advertisement:

Author Topic: Repurpose button Publish  (Read 1745 times)

a.shcherban

  • Newbie
  • *
  • Posts: 2
Repurpose button Publish
« on: June 26, 2012, 12:57:06 pm »
Hello all!Beautiful theme repurpose, but where is a button Publish your ad for free, or how to add this button?Thanks and Best Regards

rstar385

  • Guest
Re: Repurpose button Publish
« Reply #1 on: July 25, 2012, 03:42:49 pm »
Hey mate,

I was having trouble with this too.

In the header file get the following line

Code: [Select]
<a class="publish-btn" href="<?php echo osc_item_post_url_in_category() ; ?>"><?php _e("Publish your ad for free"'twitter'); ?></a>
and move it so that it comes directly after this

Code: [Select]
<li><a href="<?php echo osc_register_account_url() ; ?>"><?php _e('Register''twitter') ; ?></a></li>

Your end product should look like this

Code: [Select]
<?php if( osc_users_enabled() ) { ?>
                        <?php if( osc_is_web_user_logged_in() ) { ?>
                            <li><?php printf(__('Hi %s''twitter'), osc_logged_user_name() . '!'); ?></li>
                            <li><a href="<?php echo osc_user_dashboard_url() ; ?>"><?php _e('My account''twitter') ; ?></a></li>
                            <li><a href="<?php echo osc_user_logout_url() ; ?>"><?php _e('Logout''twitter') ; ?></a></li>
                        <?php } else { ?>
                            <li><a href="<?php echo osc_user_login_url() ; ?>"><?php _e('Login''twitter') ; ?></a></li>
                            <li><a href="<?php echo osc_register_account_url() ; ?>"><?php _e('Register''twitter') ; ?></a></li>
    <a class="publish-btn" href="<?php echo osc_item_post_url_in_category() ; ?>"><?php _e("Publish your ad for free"'twitter'); ?></a>
                        <?php ?>



Hope that helps!!


Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Repurpose button Publish
« Reply #2 on: August 02, 2012, 07:20:19 pm »
There's a new version with this problem fixed! You can download it from here: http://market.osclass.org/themes/repurpose_44

amine

  • Newbie
  • *
  • Posts: 18
Re: Repurpose button Publish
« Reply #3 on: August 11, 2012, 04:49:00 am »
hi the theme Repurpose does not support language and there is some page to modify (Update your profile, Change your e-mail and  Change your password).
thanks