Support Forums - Classified Ads Script Osclass
Osclass plugin support => Favorite Items Plugin => Topic started 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
-
@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.
-
You can specify exactly where to put the code - main.php
- Search list.php
- search_gallery.php
Subject Patricia
-
@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
-
If I understood you well I need to paste this code <?php echo fi_make_favorite(); ?> is for that to work?
-
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.
-
@ankello
It does not matter where.
If there is javascript problem, you should investigate where it comes from.
-
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
-
@maxpac
On bender it is called loop-single.php, you should be able to place it to this file.
-
Hi, Michal
My new theme can't show the favorite icon.
Thank you!
-
I will try fix my website
-
@maxpac
OK