[TYPO3-templavoila] Better working fronend editing for TemplaVoila - done for 1.0
Tapio Markula
tapio.markula at dnainternet.net
Fri Apr 7 17:53:06 CEST 2006
Hi
I tested the newest version of TemplaVoila (1.0)
and made some changes to tm_contentaccess to work with that versions.
Even if some of the worst bugs has been fixed, TemplaVoila 1.0 doesn't
have very good frontend editing without tm_contentaccess or hacking
source code and making the same changes.
1) the wizard has path problem (wizard in admin panel or in EDITPANEL
objects, if allow = toolbar,... has been set). Path is incorrect if
Typo3 has been installed into subfolder. Made a hack to use
'typo3conf/ext/templavoila/mod1/' is TemplaVoila is installed and enabled.
2) Using the content element wizard
(typo3conf/ext/templavoila/mod1/db_new_content_el.php) works bad because
you set the content into the *same* content area. The order *must* be
the BE view (typo3conf/ext/templavoila/mod1/index.php) and then
selecting new content using
typo3conf/ext/templavoila/mod1/db_new_content_el.php,
because in the 'toolbar' typo can't know where the user wants to put the
new content element. It is extremely annoying immediately move the
content to another place. In order to avoid annoying situations
typo3conf/ext/templavoila/mod1/index.php is the only reasonable place to
start creating new content element using the wizard in frontend. The
entire BE view is quite big as wizard - but
TemplaVoila just doesnt' have a compact content area wizard like the
standard page module - compact wizard would be the best in FE but the
using index.php file is quite ok.
Requirements to work:
1) frontend editing has been enabled so that admin panels are available
and frontend editing works in pop-up-windows - this can done with enable
option. enable.preset
2) TS template has place for object 'editPanel', which has been
predefined or admin panel enabled
3) TemplaVoila has been installed and enabled using enable options
I admit that tm_contentaccess has just some hacks to fix serious bugs
but it is better than nothing. There is really much work to make that
better.
something like
http://t3test.xetpoint.com/media/development/templaVoilaFE.png
The layout of the view is for 0.4 - IMO TemplaVoila has a little bit
too much dotted lines
I made for the standard page module this kind of layout:
http://t3test.xetpoint.com/media/development/edit_whole_record.png
I still use the standard page module because it is possible to build for
it better working frontend editing than for TemplaVoila.
More information about the TYPO3-project-templavoila
mailing list