Zum Inhalt springen

HMENU-Objekt ALS ALTERNATIVE??!!

Erstellt am 7. Juli 2009 · Noch keine Antworten

Tags: Frage

mongospliff ·

Hi Leute,

ich habe mir eine kleine Extension gepastetl die ein Flash einbinden soll. Als alternative möchte ich eine normales HMENU meiner Seitenstruktur ausgeben. Aber irgendwie versteh ich die Zuweisung nicht.

$this->altText = $this->cObj->HMENU ...da weiss ich nicht weiter wenn ich das im Typoscript versuche: plugin.tx_flashfullscreen_pi1.altText < temp.SMENU

Oder denk ich da ganz falsch??

Ich steh gerade voll auf der Leitung:

tx_flashfullscreen_pi1.php::::

$this->altText = $this->cObj->HMENU($conf['altText.']);

$object = '		    
<div id="'.$this->playerId.'">
'.$this->altText.'
</div>
<script type="text/javascript">
'." 
var ".$this->so." = new SWFObject('".$swfDatei."','".$this->playerId."','100%','100%','9'); 
".$this->so.".addParam('allowfullscreen','true'); 
".$this->so.".addParam('allowscriptaccess','always'); 		
".$this->so.".addParam('wmode','transparent'); 	      	
".$this->so.".write('".$this->playerId."'); 
</script>
";
			
return $object;

TypoScript:::

temp.SMENU = HMENU
temp.SMENU{
  special = directory
  special.value = 8
  #entryLevel = 1
  expAll = 0
  excludeUidList = {$excludeList_submenu}
  1 = TMENU
  1.target = _top
  1.wrap = <ul class="service_ul">|</ul>
  1.NO = 1
  1.NO.linkWrap = <li class="submenu_li">|</li>
}

[b]plugin.tx_flashfullscreen_pi1.altText < temp.SMENU[/b]

Bitte um hilfe