*

Anton.D

  • ***
  • 21 posts
plugin "required fields" add new field in seller info
« on: February 12, 2016, 05:56:56 PM »
Hello,
Can you help me... i already install this plugin and try add field "Link on social profile"

i add code in item-post.php:
Code: [Select]
          <div class="row">
            <label for="webSite"><?php _e('Social profile URL''modern') ; ?></label>
<?php UserForm::website_text() ; ?>
          </div>

it's work, then i add ads, but how add code in this place http://awesomescreenshot.com/03e5mmlda2

thanks






*

MB Themes

Re: plugin "required fields" add new field in seller info
« Reply #1 on: February 12, 2016, 06:38:56 PM »
@Anton.D
1) Open your page in google chrome
2) press f12
3) locate element where you want to place your code
4) go to oc-content/themes/patricia/item.php
5) find located element
6) place here your code
7) save
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Anton.D

  • ***
  • 21 posts
Re: plugin "required fields" add new field in seller info
« Reply #2 on: February 12, 2016, 07:56:13 PM »
If it's not hard for you, can you tell where the error

Code: [Select]
<div class="webSite">
            <span><i class="fa fa-external-link"></i> <?php _e('Social link''patricia') ; ?></span>
             <a class="name" href="<?php echo website_text(osc_user()); ?>"><?php echo $s_website ?></a>

*

MB Themes

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

*

Anton.D

  • ***
  • 21 posts
Re: plugin "required fields" add new field in seller info
« Reply #4 on: February 12, 2016, 08:59:40 PM »
Yes, i try to add code
Quote
<div class="webSite">
            <span><i class="fa fa-external-link"></i> <?php _e('Social link', 'patricia') ; ?></span>
             <a class="name" href="<?php echo website_text(osc_user()); ?>"><?php echo $s_website ; ?></a>

 in Item.php in gray-box class. but, i think, my code wrong, becouse  http://awesomescreenshot.com/0345mn0x34 =)

*

MB Themes

Re: plugin "required fields" add new field in seller info
« Reply #5 on: February 12, 2016, 09:54:26 PM »
@Anton.D
You call variable $s_website, but I do not think it is defined somewhere.
Please contact plugin author and get guide from him.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots