[drupal-devel] promote to frontpage: confusing.

Andre Molnar mcsparkerton at yahoo.co.uk
Wed Mar 9 20:58:12 UTC 2005


Aaron Welch wrote:

> Dropping some code in to neuter functionality a big minusminus

FINE - here's the patch to the pseudo code :)
  Pseudo code:
   If($default_front_page) {
     form_checkboxes(t('Promote to front page') /*MORE CODE*/);
   }
   else {
     form_checkboxes(t("Promote to $wherever_the_heck_you_like") /*MORE 
CODE*/);
   }
   else {
       /*DO NOTHING - PROBLEM SOLVED - NO SEMANTIC TRAPS - LETS STOP
       THIS ENTIRE THREAD*/
   }

andre




More information about the drupal-devel mailing list