If it's static, put the `help.htm` file inside `app/webroot/`, then
link like so:
'onclick' => 'newPopup("' . $html->url('/help.htm') . '");',
hth
grigri
On Jul 16, 8:37 am, Master Ram wrote:
> there is no. action is to be done in the help file. that help file is
> static. and it contain only i
there is no. action is to be done in the help file. that help file is
static. and it contain only information about the related page.
On Jul 16, 12:31 pm, mike karthauser wrote:
> You can't load HTML files out of a views folder. The file extension needs to
> be .ctp . Also check you have
You can't load HTML files out of a views folder. The file extension needs to be
.ctp . Also check you have and action defined with the same name as your view
Mike Karthauser
Brightstorm limited
Tel: 07939252144
On 16 Jul 2010, at 08:23, Master Ram wrote:
> hi..
>
> i want to popup new window
hi..
i want to popup new window in my ctp. file
i am using the link. and i want to call "help.htm" file,
my HTML file contain in the "promoters" view folder
the file name is help.htm.
i use this code
link('Add/edit languages',
'javascript:void(0)',