Feature #19982

Add helper functions for additional frontend editing controllers and views

Added by Jeff Segars almost 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-02-06
Due date:
% Done:

0%

PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

To support additional frontend editing controllers (ie. TemplaVoila) and view (ie. fe_edit_advanced) a couple simple helper functions are needed.

The getJavascriptIncludes() method does nothing in the default controller that the core provides, but the TemplaVoila controller will provide an additional Javascript file that extends client side frontend editing to account for FlexForm pointers.

The forcePreview() method is used to set $this->ext_forcePreview externally. The upcoming fe_edit_advanced extension requires that this property is always set.

(issue imported from #M10374)

0010374.diff View (2.14 KB) Administrator Admin, 2009-02-06 21:44

10374_followup.diff View (505 Bytes) Administrator Admin, 2009-02-17 23:18

0010374_followup2.diff View (734 Bytes) Administrator Admin, 2009-02-20 00:21

History

#1 Updated by Jeff Segars almost 11 years ago

Committed to trunk in r5017.

#2 Updated by Jeff Segars almost 11 years ago

Committed followup patch to trunk in r5028.

#3 Updated by Jeff Segars almost 11 years ago

And a (hopefully) final followup in r5039.

Also available in: Atom PDF