<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Indeed, the function does exist:<br>
<blockquote type="cite"> public function getEditViewUrl() {<br>
$menuItem = $this->getMenuItem();<br>
return
'index.php?module='.$this->getModuleName().'&parent=Settings&view='.$this->getEditViewName().'&block='.$menuItem->get('blockid').'&fieldid='.$menuItem->get('fieldid');<br>
}<br>
</blockquote>
<br>
However $menuItem->get() is failing. Returning false.<br>
<br>
<br>
<div class="moz-cite-prefix">On 24/10/14 10:13, Alan Lord (News)
wrote:<br>
</div>
<blockquote cite="mid:m2br1q$8m7$1@ger.gmane.org" type="cite">On
23/10/14 21:46, Richard Hills - Technologywise wrote:
<br>
<blockquote type="cite">I have now found what is causing the error
on my system.
<br>
<br>
Inside of:
./layouts/vlayout/modules/Settings/PBXManager/index.tpl
<br>
Line 16:
<br>
<blockquote type="cite"> <div
class="span4"><div class="pull-right"><button
<br>
class="btn editButton"
<br>
data-url='{$MODULE_MODEL->getEditViewUrl()}&mode=showpopup&id={$RECORD_ID}'
<br>
type="button" title="{vtranslate('LBL_EDIT',
<br>
$QUALIFIED_MODULE)}"><strong>{vtranslate('LBL_EDIT',
<br>
$QUALIFIED_MODULE)}</strong></button></div></div>
<br>
</blockquote>
<br>
The call for $MODULE_MODEL->getEditViewUrl() is failing.
<br>
</blockquote>
<br>
So you need to work out why your PBXManager Module Model doesn't
exist or doesn't have that function. It should do...
<br>
<br>
That function should be defined in
modules/Settings/PBXManager/models/Module.php
<br>
<br>
<br>
Al
<br>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<p>Richard Hills<br>
TechnologyWise Ltd, Tauranga, NZ<br>
<a class="moz-txt-link-abbreviated" href="mailto:richard@tw.co.nz">richard@tw.co.nz</a><br>
<a class="moz-txt-link-abbreviated" href="http://www.technologywise.co.nz">www.technologywise.co.nz</a><br>
ph: +64 (0)7 571 1060<br>
fax: +64 (0)7 571 1061</p>
<img src="cid:part1.00050000.09060409@tw.co.nz" alt="Basestation">
</div>
</body>
</html>