Hello - new b question:
Is there a way to: 1 - route the preview browser through a local server that server side capabilities are displayed 2 - turn off display of code such as PHP that the browser currently interpets as text.
Thanks
_: thanks
from __: mikeBoutté mobile __: 615 969 9654 http __: mikeBoutté dot Com [ http://www.mikeboutte.com ] email __: Mike at mikeBoutté dot Com [ mike@mikeboutte.com ] aim __: mrbigbooties [ aim://AddBuddy?ScreenName=mrbigbooties ]
On 10/10/2004, at 12:13 PM, Mike Boutté wrote:
Hello - new b question:
Is there a way to: 1 - route the preview browser through a local server that server side capabilities are displayed 2 - turn off display of code such as PHP that the browser currently interpets as text.
You'll probably get the best results by enabling PHP on your Mac. There's an easy installer and instructions on doing so here:
On 10/10/2004, at 11:13 AM, Mike Boutté wrote:
Hello - new b question:
Is there a way to: 1 - route the preview browser through a local server that server side capabilities are displayed 2 - turn off display of code such as PHP that the browser currently interpets as text.
Mike,
Instead of the web preview, use Safari, and use the "Reload in Safari" command in the commands menu (it will be renamed "Refresh Safari" in 1.0.1), which we assigned to Command-R.
Here's a basic workflow for me...
1. Open up a project in TM 2. Open up a local copy of the website project in Safari (eg http://clientname.localhost/blah.php) 3. Do some work in TM 4. Hit Command-R in TM (switches to Safari and refreshes the front window) 5. Check out the results 6. Hit Command-Tab to switch back to TM
Eventually, TM's preview will be able to "listen" to URLs, I hear :)
Justin
On 10. Oct 2004, at 12:25, Justin French wrote:
Instead of the web preview, use Safari, and use the "Reload in Safari" command in the commands menu (it will be renamed "Refresh Safari" in 1.0.1), which we assigned to Command-R.
Also, I think justin wanted to put a default command like this in 1.0.1: open `echo $TM_FILEPATH | sed "s|/Users/$USER/Sites/(.*)|http://localhost/~%24USER/%5C1%7C%22%60
What it does is take the current file path and change the /Users/<your_name>/Sites/ portion into http://localhost/~<your_name>/ and opens it with 'open' (so it should show in your default browser).
Kind regards Allan
Gotcha, thanks. Looking forward to that feature.
_: thanks
from __: mikeBoutté mobile __: 615 969 9654 http __: mikeBoutté dot Com [ http://www.mikeboutte.com ] email __: Mike at mikeBoutté dot Com [ mike@mikeboutte.com ] aim __: mrbigbooties [ aim://AddBuddy?ScreenName=mrbigbooties ]
On Oct 10, 2004, at 6.12am, Allan Odgaard wrote:
On 10. Oct 2004, at 12:25, Justin French wrote:
Instead of the web preview, use Safari, and use the "Reload in Safari" command in the commands menu (it will be renamed "Refresh Safari" in 1.0.1), which we assigned to Command-R.
Also, I think justin wanted to put a default command like this in 1.0.1: open `echo $TM_FILEPATH | sed "s|/Users/$USER/Sites/(.*)|http://localhost/~%24USER/%5C1%7C%22%60
What it does is take the current file path and change the /Users/<your_name>/Sites/ portion into http://localhost/~<your_name>/ and opens it with 'open' (so it should show in your default browser).
Kind regards Allan
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/mailman/listinfo/textmate