Support Forums - Classified Ads Script Osclass

Osclass plugin support => Favorite Items Plugin => Topic started by: bosa11ab on February 07, 2016, 01:01:51 PM

Title: unable to configure the favorite items plugin
Post by: bosa11ab on February 07, 2016, 01:01:51 PM
hi dear

How to configure the favorite items plugin, i can not find the 

while(osc_has_items()){ or while(osc_has_items()){ or while(osc_has_custom_items()) in the item php, or post item php or new item php.

thanks
regard
bosa11ab

Title: Re: unable to configure the favorite items plugin
Post by: MB Themes on February 07, 2016, 05:34:17 PM
@bosa11ab
It depends on theme. In our themes, these loops are in files:
- main.php
- search_list.php
- search_gallery.php

For other themes, you need to contact their author.
Title: Re: unable to configure the favorite items plugin
Post by: skript on June 01, 2016, 03:22:45 PM
You can specify exactly where to put the code - main.php
- Search list.php
- search_gallery.php
Subject Patricia
Title: Re: unable to configure the favorite items plugin
Post by: MB Themes on June 01, 2016, 03:29:54 PM
@skript
oc-content/themes/patricia/search_list.php  --> place code to line 4
oc-content/themes/patricia/search_gallery.php  --> place code to line 7
Title: Re: unable to configure the favorite items plugin
Post by: skript on June 01, 2016, 03:44:31 PM
If I understood you well I need to paste this code <?php echo fi_make_favorite(); ?>  is for that to work?
Title: Re: unable to configure the favorite items plugin
Post by: ankello on June 22, 2016, 07:05:36 PM
Hello , please help . In what area you want to insert php <php echo fi_make_favorite ()?; ? > In the subject osclasswizard? Wherever I put in the code , javascript favorites button does not work.
Title: Re: unable to configure the favorite items plugin
Post by: MB Themes on June 22, 2016, 09:43:18 PM
@ankello
It does not matter where.
If there is javascript problem, you should investigate where it comes from.
Title: Re: unable to configure the favorite items plugin
Post by: maxpac on September 06, 2016, 03:46:39 PM
Hi,Frosticek
 How to configure the favorite items plugin on default theme? I bought the plugin from the market and used default theme.  i can not find the  while(osc_has_items()){ or while(osc_has_items()){ or while(osc_has_custom_items()) .Can you show me? Thanks
Title: Re: unable to configure the favorite items plugin
Post by: MB Themes on September 06, 2016, 05:31:52 PM
@maxpac
On bender it is called loop-single.php, you should be able to place it to this file.
Title: Re: unable to configure the favorite items plugin
Post by: maxpac on September 07, 2016, 12:15:01 PM
Hi, Michal

My new theme can't show the favorite icon.
Thank you!
Title: Re: unable to configure the favorite items plugin
Post by: maxpac on September 07, 2016, 12:17:24 PM
I will try fix my website
Title: Re: unable to configure the favorite items plugin
Post by: MB Themes on September 07, 2016, 07:29:53 PM
@maxpac
OK