NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Open File at Cursor and filenames with a path
Veteran

Joined: 30 Aug 2006
Posts: 116
Reply with quote
I'm not sure if this is a bug, but Open File at Cursor doesn't work if you have a filepath that PhpEd might not understand.

This does not work:
Code:

$smarty->assign(array('PAGE' => 'admin/product_form.tpl.smrt'));



This works:
Code:

$smarty->assign(array('PAGE' => 'product_form.tpl.smrt'));


The project has the following folders:

public_html/
public_html/admin
includes/
templates
templates/admin

PHP files in the admin folder use templates from the templates/admin folder. The above code is from the admin folder.

Is this a bug? I figure that PHPEd should try to match the filename regardless of the path.[/code]
View user's profileFind all posts by rudderSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I just tried and it worked fine for me.
Please make sure that both current file and the file to be found ('admin/product_form.tpl.smrt' in your case) are in the active project.

Anyway, for further reports please contact Support.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Open File at Cursor and filenames with a path
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic