[TYPO3] membership system needed

Matthew Manderson matthew at manderson.co.uk
Thu Jun 22 07:21:04 CEST 2006


Your login stuff will not be a problem just read up some of the tutorials
about FE users.

> *        All page content must be driven via the CMS.
This is more tricky when you are talking about the data capture. If this
gets complex and spans several pages.

I would suggest one of two ways.

1) Write an extension application to do what you need. This means learning
the TYPO3 way of building extensions and integrating your scripts.

2) Use a php script with functions prefixed 'user_' eg user_functionName()
and include the script in your main setup template and just call the
appropriate function on each successive page in the chain. This allows you
to build a complex step by step application really quickly. Storing the
values in the database as you go.

Both methods allow you to call upon the internal TYPO3 functions provided
your php class extends the TYPO3 pibase

// include the pibase
require_once(PATH_tslib.'class.tslib_pibase.php');

// your class extends the pibase
class user_orderFormGlobal extends tslib_pibase {
}

In your page templates:
# this includes the custom external file
includeLibs.displayOrderForm = media/scripts/mm_phpscript.inc

# this puts the output of the script into an html page marker
page.10.subparts.orderForm >
page.10.subparts.orderForm = USER
page.10.subparts.orderForm.userFunc = user_orderForm->displayOrderForm1

I found this method allows you to mix your script output with the other
TYPO3 cms content objects on the same page.

HTH
Matthew 



More information about the TYPO3-english mailing list