Osclass Support Forums

Osclass plugin support => Favorite Items Plugin => Topic started by: ashwrote on January 27, 2016, 06:04:05 AM

Title: Exact file and place to paste code
Post by: ashwrote on January 27, 2016, 06:04:05 AM
kindly advise which one is the exact file to paste the code

Make Favorite button <?php echo fi_make_favorite(); ?>
and where to be exact

and similarly

Show items in current list <?php fi_list_items(); ?>

and the 3rd one Show block with most favorited listings <?php fi_most_favorited_items(); ?>
as well

thanks
Title: Re: Exact file and place to paste code
Post by: MB Themes on January 27, 2016, 06:39:35 AM
@ashwrote
There is no exact file, you can place it wherever you like / need it.
Title: Re: Exact file and place to paste code
Post by: ashwrote on January 27, 2016, 07:46:49 AM
where should i ?
generally
Title: Re: Exact file and place to paste code
Post by: MB Themes on January 27, 2016, 07:59:29 AM
@ashwrote
It only depends on you, there are only restrictions to:
Code: [Select]
<?php echo fi_make_favorite(); ?>
But those are described directly in plugin.
Title: Re: Exact file and place to paste code
Post by: ashwrote on January 27, 2016, 03:33:56 PM
There is mentioned and described that
paste it wherever you want.

i want the product to have the heart on it
thats all

and i dont know where exactly to paste it

so kindly advise me which file and which line to paste
or if there s a solution that all my plugins which i buy from mb themes can be configured by you inside my theme file and i reinstall the theme files or how

i really dont know how to do technically

thanks

[attachment deleted by admin]
Title: Re: Exact file and place to paste code
Post by: MB Themes on January 27, 2016, 04:22:56 PM
@ashwrote
What is your theme?
Title: Re: Exact file and place to paste code
Post by: ashwrote on January 28, 2016, 10:54:25 AM
patricia
Title: Re: Exact file and place to paste code
Post by: MB Themes on January 28, 2016, 11:02:59 AM
@ashwrote
Go to file:
oc-content/themes/patricia/search_gallery.php

Place your code bellow line:
Code: [Select]
<div class="simple-wrap">
Title: Re: Exact file and place to paste code
Post by: ashwrote on January 28, 2016, 06:09:45 PM
its so confusing for me

if i email you my
oc-content/themes/patricia/search_gallery.php

file and you can add and send back to me and i upload to root folder again

i think thats the only possible situation

just because i dont know this codeing i deleted google connect plugin buy from mb themese

i want little help here
i need the same for radius search pluggin too

i dont really know how to do it any other way
Title: Re: Exact file and place to paste code
Post by: MB Themes on January 28, 2016, 08:44:47 PM
@ashwrote
I am not sure, I gave you exact instructions what to do.

Original:
Code: [Select]
      <?php while( osc_has_items() ) { ?>
        <div class="simple-prod o<?php echo $c?>">
          <div class="simple-wrap">
            <?php if(osc_item_region() <> '') { ?>
              <div class="loc">

Modified:
Code: [Select]
      <?php while( osc_has_items() ) { ?>
        <div class="simple-prod o<?php echo $c?>">
          <div class="simple-wrap">
            <?php echo fi_make_favorite(); ?>

            <?php if(osc_item_region() <> '') { ?>
              <div class="loc">
Title: Re: Exact file and place to paste code
Post by: skript on June 01, 2016, 03:05:44 PM
I'm sorry but I'm confused, I added as it should according to the instructions as you pointed slightly supreme, but for some reason I do not see a star?
Title: Re: Exact file and place to paste code
Post by: skript on June 01, 2016, 03:06:16 PM
 :o
Title: Re: Exact file and place to paste code
Post by: MB Themes on June 01, 2016, 03:22:07 PM
@skript
Send your url please.
Title: Re: Exact file and place to paste code
Post by: skript on June 01, 2016, 04:22:32 PM
I sent you the address
Title: Re: Exact file and place to paste code
Post by: MB Themes on June 01, 2016, 05:54:25 PM
@skript
Will install plugin on our demo and will provide you some extra CSS that is required for styling.
Title: Re: Exact file and place to paste code
Post by: skript on June 13, 2016, 09:49:55 AM
Hi, what I do? How do I configure my favorite plugin
Title: Re: Exact file and place to paste code
Post by: skript on June 13, 2016, 09:50:30 AM
Hi, what I do? How do I configure my favorite plugin
Title: Re: Exact file and place to paste code
Post by: MB Themes on June 13, 2016, 11:19:45 AM
@skript
Please read tips in plugin config section.