[TYPO3-english] Tip a Friend inside a TypoScript menu?

Braulio J. Solano-Rojas braulio at solsoft.biz
Thu Jul 15 23:41:03 CEST 2010


Thanks Victor.

El 15/07/2010 06:02 a.m., Victor Livakovsky escribió:
>
> Why you just don't want to make it as COA, first part will be a HMENU
> and second will be lib.tipAFriend?

It worked as a COA.

I used this code:

## Menu [Begin]
lib.footMenu = COA
lib.footMenu.10 = HMENU
lib.footMenu.10.special = directory
lib.footMenu.10.special.value = 117
lib.footMenu.10.wrap (
   <table width="100%" border="0" align="center">
     <tr>
       |
)
lib.footMenu.10.1 = TMENU
lib.footMenu.10.1.expAll = 1
lib.footMenu.10.1.NO {
   allWrap (
       <th align="left" valign="top" scope="col" width="%33">
         | || | || |
         <p>&copy; Copyright 2010 Cactus Tour</p>
       </th>
       <th align="left" valign="top" scope="col" width="%33"> |*|
         | |*|
       </th>
       <th align="left" valign="top" scope="col" width="%33">
         |
   )
   linkWrap = <p>|</p>
}

lib.footMenu.20 = TEXT
lib.footMenu.20 < plugin.tx_pmtipafriend_pi1
lib.footMenu.20 {
   mailFormPID = 281
}

lib.footMenu.30 = TEXT
lib.footMenu.30.value (
         <p>
           <a href="http://www.facebook.com/home.php?#!/cactustour" 
target="_blank"><img src="fileadmin/templates/img/facebook_64x64.png" 
alt="Facebook" title="Facebook" border="0" /></a>&nbsp;
           <a href="http://twitter.com/cactustweet" target="_blank"><img 
src="fileadmin/templates/img/twitter_64x64.png" alt="Twitter" 
title="Twitter" border="0" /></a>
         </p>
       </th>
     </tr>
   </table>
   <small id="signature"><a href="http://solsoft.biz/" target="_blank" 
xml:lang="en" lang="en">Solsoft Web Development</a></small>
)

## Menu [End]

Maybe there is a more elegant way?

Best regards,

B.


More information about the TYPO3-english mailing list