removing $0.00 from showing on featured listing

This is a discussion on removing $0.00 from showing on featured listing within the v3.0 Questions & Support forums, part of the v3.0.x Help & Support category; sorry about this question again but here is whats up. I have turned off all price feilds in the admin ...


Go Back   68 Classifieds Forums > Archives > v3.0.x Help & Support > v3.0 Questions & Support

 
 
LinkBack Thread Tools Display Modes
  #1  
Old 04-23-2006, 02:18 AM
Senior Member
 
Join Date: Mar 2006
Location: Calif/San Franisico Bay Area
Posts: 108
Rep Power: 14
Default removing $0.00 from showing on featured listing

sorry about this question again but here is whats up. I have turned off all price feilds in the admin to all user groups. Then ran a test featured ad. It displays the title and $0.00 in the title, want to remove this. need help.

  #2  
Old 04-23-2006, 06:05 AM
Member
 
Join Date: Mar 2006
Location: Brisbane, Australia
Posts: 91
Rep Power: 13
Default Have you search the forums

check out this one "click here"

or just search the forums for 'price' and you should find some answers.
__________________
Regards,

Ashley McKinnon
Site Administrator

GoBuyItBrisbane
  #3  
Old 04-23-2006, 11:29 AM
Moderator
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,132
Rep Power: 57
Default

Are you referring to the featured ads display as in several pictures in the columns on the home page or as in viewlisting.php?

look here: includes/templates/plugins/

There are two files depending on how you display the featured ad column(s) on your site. They are:
function.feature_listings_horizontal.php
function.feature_listings_vertical.php.
You can open these files and comment out the title and price lines:

This is for horizontal.php I am sure its very similar in the other file, find:
PHP Code:
//text
$output.=$loop[$x][title] ."<br />";
if(
$show_price=='Y')
{
    
$output.= $loop[$x][price];

and replace with:
PHP Code:
/*
//text
$output.=$loop[$x][title] ."<br />";
if($show_price=='Y')
{
    $output.= $loop[$x][price];
}
*/ 
Hope this helps.
__________________
Regards,

John


�By perseverance, study, and eternal desire, any man can become great.� George S. Patton

Last edited by juven14; 04-23-2006 at 11:31 AM.
  #4  
Old 04-23-2006, 07:57 PM
Senior Member
 
Join Date: Mar 2006
Location: Calif/San Franisico Bay Area
Posts: 108
Rep Power: 14
Default

I comment out the title and price lines in the files you suggested. when viewing the ad on the home page there is now no title text under the ad.
  #5  
Old 04-23-2006, 08:32 PM
Moderator
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,132
Rep Power: 57
Default

Sorry, is this not what you were talking about? If not just uncomment those lines to return it.

The title and price are being displayed on what page: category.php, toplistings.php, searchresults.php, or viewlisting.php?
__________________
Regards,

John


�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
  #6  
Old 04-23-2006, 08:41 PM
Senior Member
 
Join Date: Mar 2006
Location: Calif/San Franisico Bay Area
Posts: 108
Rep Power: 14
Default

the featured listing on the home page the one on the bottom of the home page.
  #7  
Old 04-23-2006, 10:11 PM
Moderator
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,132
Rep Power: 57
Default

So this is what you wanted then? You don't want the title and price to display below the featured ad pictures on the home page or you don't want the title and price displayed when you are viewing the ad?
__________________
Regards,

John


�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
  #8  
Old 04-24-2006, 10:42 AM
Senior Member
 
Join Date: Mar 2006
Location: Calif/San Franisico Bay Area
Posts: 108
Rep Power: 14
Default

On the home page the featured listing show the title. and just after the title this shows $0.00. I would like to remove the price of $0.00 from displaying after the title. I still want the title to show under the featured listing. I have turned off the price field in all areas of the admin. so there should be no field to fill out for the price. I hope this gives you a clear picture of what I need. I you need I will send you a pm of my site.
  #9  
Old 04-24-2006, 11:00 AM
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,323
Rep Power: 99
Default

You should be able to add show_price="N" to the home.tpl.php file where the function is called.

For example:
Code:
{feature_listings_horizontal number=8 cols=3 table_attr='width="100%" style="border: 1px solid #000;"' td_attr='valign="middle" align="left"' show_price="N"}
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
  #10  
Old 04-24-2006, 12:38 PM
Senior Member
 
Join Date: Mar 2006
Location: Calif/San Franisico Bay Area
Posts: 108
Rep Power: 14
Default Thanks again

All smiles that did it Thanks
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove price field from featured listing.. deebee v3.1 Questions & Support 6 09-14-2006 06:00 PM
removing pics from featured ads? sbuell20 v3.1 Questions & Support 14 08-11-2006 08:06 PM
listing not showing cherubini v3.1 Questions & Support 10 06-01-2006 10:40 AM
Removing the listing count from the categories. gabs v3.0 Questions & Support 2 04-25-2006 03:53 PM
Freatured Listing going vertical? newone v3.0 Questions & Support 2 04-18-2006 10:05 AM


All times are GMT -4. The time now is 12:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22