Events icon indicating copy to clipboard operation
Events copied to clipboard

Issue with modal editor on index layout

Open keithmancuso opened this issue 10 years ago • 0 comments

Hey guys, I'm playing with this to try and build my own element type and noticing an issue with the "double click" and edit in place functionality.

First off the getEditorHtml method has the following starting on line 185

// Start/End Dates
$html = craft()->templates->render('events/_edit', array(
    'element' => $element,
));

when it should be

$html = craft()->templates->render('events/_editor', array(

even when i switch it to editor i'm still getting an error which i cant figure out

The function "dateTimeField" does not exist in "events/_editor" at line 31

which is confusing because the macro is right there?

keithmancuso avatar Dec 06 '14 20:12 keithmancuso