[TYPO3-core] RFC: #9061: felogin - recursive storage pids in TypoScript
Moreno Feltscher
moreno.feltscher at gmail.com
Thu Aug 7 10:05:51 CEST 2008
+1 by reading.
Absolutely a missing feature.
Cheers
On Wed, Aug 6, 2008 at 8:27 PM, Steffen Kamper <info at sk-typo3.de> wrote:
> Hi,
>
> This is an SVN patch request.
>
> Type: Bugfix / missing Feature
>
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=9061
>
> Branches: trunk
>
>
> Problem:
>
>
> From felogin flexform it's possible to set recursive for pages, in TS this
> option is missing.
>
> Solution:
>
> I added recursive to TS properties.
>
>
> I also added this to the manual, which i will include in a later patch, as I
> want to work on several issues in Bugtracker.
>
> vg Steffen
>
> Index: typo3/sysext/felogin/ext_typoscript_setup.txt
> ===================================================================
> --- typo3/sysext/felogin/ext_typoscript_setup.txt (revision 3940)
> +++ typo3/sysext/felogin/ext_typoscript_setup.txt (working copy)
> @@ -1,6 +1,7 @@
> plugin.tx_felogin_pi1 {
> #storagePid - where are the user records? use single value or
> a commaseperated list
> storagePid = {$styles.content.loginform.pid}
> + recursive =
>
> #Template File
> templateFile = EXT:felogin/template.html
> Index: typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php
> ===================================================================
> --- typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php (revision 3940)
> +++ typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php (working copy)
> @@ -73,7 +73,11 @@
>
> // Get storage PIDs:
> if ($this->conf['storagePid']) {
> - $this->spid = $this->conf['storagePid'];
> + if (intval($this->conf['recursive'])) {
> + $this->spid =
> $this->pi_getPidList($this->conf['storagePid'],
> intval($this->conf['recursive']));
> + } else {
> + $this->spid = $this->conf['storagePid'];
> + }
> } else {
> $pids = $GLOBALS['TSFE']->getStorageSiterootPids();
> $this->spid = $pids['_STORAGE_PID'];
> @@ -278,7 +282,7 @@
> // Login form
> $markerArray['###ACTION_URI###'] =
> $this->getPageLink('',array(),true);
> $markerArray['###EXTRA_HIDDEN###'] = $extraHidden; // used by
> kb_md5fepw extension...
> - $markerArray['###LEGEND###'] = $this->pi_getLL('login', '', 1);
> + $markerArray['###LEGEND###'] = $this->pi_getLL('login', '',
> 1);
> $markerArray['###LOGIN_LABEL###'] = $this->pi_getLL('login',
> '', 1);
> $markerArray['###ON_SUBMIT###'] = $onSubmit; // used by
> kb_md5fepw extension...
> $markerArray['###PASSWORD_LABEL###'] =
> $this->pi_getLL('password', '', 1);
>
> _______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
>
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core
>
More information about the TYPO3-team-core
mailing list