[TYPO3-dev] help with starting custom extension based on sg_zfelib

mailinglists at davidlanier.com mailinglists at davidlanier.com
Thu Jun 8 20:36:41 CEST 2006


I am trying to get a basic extension started using sg_zfelib.  (sg_zfelib looks
like a very powerful library for generating frontend-editable forms and lists) 
I'm almost there, but I must be missing something, since I'm not yet able to
list records.

My extension, and sample data, are posted here:
http://www.davidlanier.com/?extdev

I have followed the step-by-step overview (page 64) in the manual.
After doing that, I get an error message "No Static Template..."

In addition, I have tried adding (in various combinations) the following to my
typoscript template:

#CONTSTANT
  plugin.tx_sgfetest2_pi1.staticTemplateID = 1000

#SETUP
  plugin.tx_sgfetest_pi1.static.notset = 0

Setting the constant generates a new "template not found" error.  But adding the
setup code by itself gets rid of all errors.

At that point, I have a basically empty page, that is, I have some empty tables
[1].

Any help would be appreciated, especially from those who have used sg_zfelib in
their own extensions.  Thanks in advance!

[1]
<!--  CONTENT ELEMENT, uid:96/list [begin] -->
		<a id="c96"></a>
		<!--  Plugin inserted: [begin] -->



	<!--

		BEGIN: Content of extension "sgfe_test2", plugin "tx_sgfetest2_pi1"

	-->

	<div class="tx-sgfetest2-pi1">

<br />

<br />
<table border=0 cellspacing=0 cellpadding=0>
<tr><td valign="top">
	 <br />

</td></tr>
<tr><td valign="top">
	<br />
</td></tr>
<tr><td>

	<img src="clear.gif" width="16" height="1" border="0" alt="">
</td></tr>
<tr><td valign="top">
	<table border=1 cellspacing=0 cellpadding=1>

	</table>
</td></tr>
</table>
<br />

	</div>

	<!-- END: Content of extension "sgfe_test2", plugin "tx_sgfetest2_pi1" -->

	<!-- tx_sgfetest2_pi1 duration: 71 ms (list=7, single=3) -->

		<!--  Plugin inserted: [end] -->

	<!--  CONTENT ELEMENT, uid:96/list [end] -->




More information about the TYPO3-dev mailing list