PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 04-18-2005, 01:46 PM   #1
chris33
Green Mole
 
Join Date: Apr 2005
Posts: 5
How can I re-name name="option"?

I am trying to integrate PhphDig into another site that also uses the word "option" as a variable for loading content.

This means that the PhpDig radio buttons that are coded like this:

<input type="radio" class='phpdiginputradio' name="option" value="start" checked="checked"/>

cause my host site to through an error... Is there an easy way to re-name "option"? Just "optionx" would be fine.

thanks for any help...
chris33 is offline   Reply With Quote
Old 04-18-2005, 01:57 PM   #2
GunMuse
Green Mole
 
Join Date: Feb 2005
Posts: 24
Use XML.

This is why XML is so important make the information poratable and brandable once delivered.

I posted the xml mod in the mod submission section.

We are currently using to intergrate with our sites and Paid search listings.

http://www.gunmuse.com/More/RKBA

You see the listings for RKBA about halfway down the page. After the sponsored listings at the top.

By using xml we can control how much free-vs-paid listings we show.

Since we produce $1000's per day from our paid listings its important to back them up with the crawler. A crawler has a hard time paying its own bills. That's why Xml is important to allow for a blending between survival and quality search listings.
GunMuse is offline   Reply With Quote
Old 04-18-2005, 02:11 PM   #3
boyd
Green Mole
 
Join Date: Apr 2005
Posts: 9
/libs/function_phpdig_form.php


the line to edit starts:

$result['form_radio']
boyd is offline   Reply With Quote
Old 04-19-2005, 01:38 AM   #4
chris33
Green Mole
 
Join Date: Apr 2005
Posts: 5
Thanks boyd. Should $option need to change also?
chris33 is offline   Reply With Quote
Old 04-19-2005, 07:41 AM   #5
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
PC file search (may vary depending on OS): Start > Find > Files or Folders > choose the Name & Location tab > leave the Named field blank > type option in the Containing text field > set the Look in field to the main PhpDig folder by using the Browse button > check mark the Include subfolders option > click the Find Now button. You could also use grep if it's available on your server. Type man grep at the prompt for usage.

In the files that show up, look for things like the following: option=$option, $option="start", $option='start', option=start, $option, $result['form_radio'], etcetera. Concentrate on the search.php, list.php, function_phpdig_form.php, phpdig_functions.php, search_function.php files. Also, uncomment error_reporting(E_ALL); in the config.php file, so that after you make the changes, you can test your edits.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply


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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
search.php suddenly stops parsing during "extract vars" jackmoring Troubleshooting 1 08-25-2006 11:27 AM
shows blank page if "Search All" and "exact phrase", timeout? alokjain9 Troubleshooting 2 03-07-2006 07:08 AM
"search depth" and "links per" features laurentxav How-to Forum 1 01-12-2005 07:27 PM
"limit to" option on from page? atticus1214 How-to Forum 3 03-03-2004 01:05 PM


All times are GMT -8. The time now is 09:37 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.