[TYPO3-dev] TCA question: problem sorting select box in frontend

Bart Gijswijt iamzero0 at gmail.com
Fri May 28 21:15:29 CEST 2010


Like this:

<!-- ###SUB_INCLUDED_FIELD_myfield### -->
<dt><label for="tx-srfeuserregister-pi1-myfield">Select:</label></dt>
<dd>
<!-- ###SUB_ERROR_FIELD_myfield### -->
<p class="tx-srfeuserregister-pi1-error">###EVAL_ERROR_FIELD_myfield###</p>
<!-- ###SUB_ERROR_FIELD_myfield### -->
<!-- ###SUB_REQUIRED_FIELD_myfield### -->
<p class="tx-srfeuserregister-pi1-error">###MISSING_myfield###</p>
<!-- ###SUB_REQUIRED_FIELD_myfield### -->
###TCA_INPUT_myfield###
</dd>
<!-- ###SUB_INCLUDED_FIELD_myfield### -->

2010/5/28 JoH asenau <info at cybercraft.de>

> > In ext_tables.php of my extension I edited 'foreign_table_where' for
> > my custom fields, to order them in the desired way. This works
> > perfectly in the backend, but when I add the select box to a page in
> > the frontend, all items are sorted by uid.
> >
> > How can I change the order in the frontend?
>
> It depends: How do you "add the select box to a page in the frontend"?
>
> Cheers
>
> Joey
>
> --
> Wenn man keine Ahnung hat: Einfach mal Fresse halten!
> (If you have no clues: simply shut your gob sometimes!)
> Dieter Nuhr, German comedian
> Xing: http://contact.cybercraft.de
> Twitter: http://twitter.com/bunnyfield
> TYPO3 <http://twitter.com/bunnyfield%0ATYPO3> cookbook (2nd edition):
> http://www.typo3experts.com
>
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>




More information about the TYPO3-dev mailing list