We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8416
    • 173 Posts
    Hi,
    How can I change the custom link generated by QuickEdit?

    window.open('manager/index.php?a=112&id=[QuickEdit module id]&doc=[*id*]&var=content', 'QuickEditor', 'width=525, height=300, toolbar=0, menubar=0, status=0, alwaysRaised=1, dependent=1');
    


    I can’t find where it’s being defined in the module QuicEdit. For instance I’d link to change the style "menubar=1" and so on....

    Thanks a bunch
      • 7231
      • 4,205 Posts
      I think that this is in the output.class.inc.php file in the assets/module/quickedit directory. But I could be mistaken.
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 8416
        • 173 Posts
        fyi - I’m using TVs within Ditto so I look in Ditto and I found what I needed.
        It is in the file /assets/snipets/ditto/classes/ditto.class.inc.php line 434

        $js = "window.open('".$modx->config["site_url"]."manager/index.php?a=112&id=".$id."&doc=".$resource["id"]."&var=".$ds."', 'QuickEditor', 'width=550, height=300, toolbar=0, menubar=0, status=0, alwaysRaised=1, dependent=1');";
        			$url = $this->buildURL("qe_open=true",$modx->documentIdentifier,$dittoID);