<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Sorry, actually $this->getMenuItem() is the one returning false.
<br>
<br>
<div class="moz-cite-prefix">On 24/10/14 10:33, Richard Hills -
Technologywise wrote:<br>
</div>
<blockquote cite="mid:5449741F.6000509@tw.co.nz" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
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 moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:richard@tw.co.nz">richard@tw.co.nz</a><br>
<a moz-do-not-send="true" 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:part3.02000005.06090808@tw.co.nz"
alt="Basestation"> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
</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:part4.01080000.08090308@tw.co.nz" alt="Basestation">
</div>
</body>
</html>