PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 3rd, 2008, 03:28 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2008
Posts: 8
Redefine product search.

Last question for you...

Is the product search data defined anywhere else other than showproduct.php and adm-misc.php? I would like to add a field for if ( $Globals['dealtype'] == "google" ) with the same query data as reseller, amazon, etc. pointing to http://www.google.com/search?hl=en&q=$product_key and put the data in adm-misc.php for it to showup in admin.
joesoko is offline   Reply With Quote
Old February 3rd, 2008, 03:53 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
There is no search in admin. Not quite sure what your doing but the dealtime link is something shown on showproduct.php it is not shown or has anything to do with search so I am getting a little lost.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 3rd, 2008, 03:59 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2008
Posts: 8
in adm-misc.php i need to make a field labeled 'Google' for me to select in admin. code below:

<option selected=\"selected\">$setting</option>
<option value=\"google\">Google</option>

now in showproduct.php i need to make:

elseif ( $Globals['dealtype'] == "google" )
{
$dealtime_link = "<div align=\"center\">
<span class=\"{$Style['medium']}\"><b><a href=\"http://www.google.com/search?hl=en&q=$product_key\" target=\"_blank\">
<span style=\"color:#FF0000;\">{$Globals['pp_lang']['dealtime']} $manu $title</span></a></b></span>
</div><br />";
}

would this be all i need to edit to make a new product search or are there other files that are used?
joesoko is offline   Reply With Quote
Old February 3rd, 2008, 04:10 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Looks like it to me just an option to the select for that in the admin file and select your google box and then edit the showproduct file accordingly yes.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Help writing product search URL criscokid ReviewPost How do I...? 1 May 13th, 2007 12:28 PM
Product price search Sola ReviewPost How do I...? 3 October 1st, 2006 09:58 AM
Google's displaying product filenames in search results criscokid ReviewPost How do I...? 2 June 19th, 2006 02:22 PM
Product price search - Can it be turned off in some categories? oldford ReviewPost How do I...? 1 January 31st, 2006 09:00 AM
Edit Product bugs? (blank fields in product edit & strange product order) Khashyar ReviewPost Bug Reports 0 April 23rd, 2005 12:51 AM


All times are GMT -5. The time now is 05:27 PM.

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