I’m adding phpmyedit as a CMP,
If I try the sample one line code from the guide here
http://rtfm.modx.com//display/revolution20/Custom+Manager+Pages+Tutorial%3bjsessionid=902163F7320EB6665945872FBD49B67A#CustomManagerPagesTutorial-MaketheControllerFile
the message displays correctly.
But when I try with the phpmyedit file the page is rendered first with the phpmyedit code before the manager page, so the view is all broken up.
I included the top portion of the page source, you can see that phpmyedit table is rendered before the head of the page.
In the main file of phpmyedit I don’t see any page rendering just configs, but there is an include for phpMyEdit.class.php
Anyone tried using phpmyedit in revo as CMP or can suggest a way to force modx to process the mcp within it’s page as expected?
<table summary="navigation" class="pme-navigation">
<tr class="pme-navigation">
<td class="pme-buttons">
<input disabled type="submit" class="pme-first" name="PME_sys_disablednavop" value="<<" />
<input disabled type="submit" class="pme-prev" name="PME_sys_disablednavop" value="<" />
<input type="submit" class="pme-add" name="PME_sys_operation" value="Add" />
<input type="submit" class="pme-view" name="PME_sys_operation" value="View" />
<input type="submit" class="pme-change" name="PME_sys_operation" value="Change" />
<input type="submit" class="pme-copy" name="PME_sys_operation" value="Copy" />
<input type="submit" class="pme-delete" name="PME_sys_operation" value="Delete" />
<input disabled type="submit" class="pme-next" name="PME_sys_disablednavop" value=">" />
<input disabled type="submit" class="pme-last" name="PME_sys_disablednavop" value=">>" />
<input disabled type="submit" class="pme-goto" name="PME_sys_disablednavop" value="Go to" />
<select class="pme-goto" name="PME_sys_disablednavfmdown" disabled onchange="return this.form.submit();">
<option value="0" selected="selected">1</option>
</select>
</td>
<td class="pme-stats">
Page: 1 of 1 Records: 4</td></tr></table>
</form>
18.872 miliseconds
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>